Get Devices

API version3.7
Last Update03/25/2024
AuthenticationYES
HTTP MethodPOST
Content Typeapplication/json
Rate limitedYES
Requests per rate limit10/min
Response FormatJSON
Changes

Changes compare with v3.6

  • Added public_ip field into the API response.

Receiving devices in the cursor fashion, with ascending order of enrolling time.

API URL

Copy

Request Parameters

KeyDatatypeParameter TypeRequiredDescriptionDefault
access_tokenstringURLYesaccess token which archived from OAuth authentication step
tokenstringBodyOptional

Specify a pagination token that devices will be returned in. It can be used to return the next set of items in the list.

Return the oldest items in case the token is missing.

limitintBodyOptionalSpecify maximum number of devices will be returned in the response. The value should be in [1,50].20

Notes:

  • criteria in a same parameter will be combined with OR operator
  • criteria in different parameter will be combined with AND operator

Response HTTP Code

See details in the Response HTTP Code section in this page

Response Parameters

KeyDataTypeDescription
next_tokenstringA pagination token.
devicesArray ObjectThe returned devices.
devices.device_idstringHWID of a device
devices.severitystring

Issue severity of the device

Values can be: "critical", "warning", "no_issues"

devices.enrolled_atstringTimestamp in GMT format when a device enrolled to an account
devices.statusstring

device status

Values can be: "compliant", "non_compliant", "exempted", "out_of_license_usage", "unknown", "ignored", "installed", "pending", "quarantined"

devices.device_namestringdevice name
devices.host_namestringhostname
devices.public_ipstringpublic ip
devices.nicknamestringdevice nickname (editable on the cloud console)
devices.device_typestring

device type

Values can be "desktop","laptop","phone","tablet","server","vm"

devices.last_seenstringThe last timestamp in GMT format when an agent reports its data to Cloud
devices.last_rebootstringThe last timestamp in GMT format when the device reboots
devices.agent_versionstringagent version
devices.remediation_linkstringURL of remediation page for the given device
devices.group_namestringGroup name which a device is assigned to
devices.issueobjectSummary of issues a device has
devices.issue.total_issueintnumber of issues a device has
devices.issue.total_criticalintnumber of critical issues a device has
devices.issue.total_warningintnumber of warning issues a device has
devices.geo_infoobjectLocation details of the device where the device was in the last report
devices.geo_info.countrystringcountry of the device where the device was in the last report
devices.network_infoarray<object>Network adapter information block
devices.network_info.macstringMAC address of a network adapter
devices.network_info.ipv4stringIPV4 address of a network adapter
devices.os_infoarray<object>Operation system block
devices.os_info.familystringOS family
devices.os_info.namestringOS name
devices.os_info.vendorstringOS vendor
devices.os_info.versionstringOS version
devices.os_info.typestring

OS type.

Values can be: "windows","mac", "linux", "ios", "android"

devices.cvesobjectSummary of CVEs a device has
devices.cves.totalintTotal number of CVEs in device
devices.link_userobjectLinked user details
devices.link_user.usernamestringUsername
devices.link_user.groupstringgroup which the user is associated to
devices.user_infoobjectUser information block
devices.user_info.usernamestringCurrently logged in username
devices.user_info.domainstringCurrently logged in user domain
device.in___grace_periodint

Grace-period status of the device:

  • 0: Device is not in grace period
  • 1: Device is in grace period

Example

Example Request

Copy

Example Response

Copy

History

VersionURL
v3.5auto$
v3.3auto$
v3.2auto$
v3.1auto$
v3.0auto$
v2.3auto$
v2.2auto$
v2.1auto$
v2.1auto$
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard