Device are computers used by personnel. The data is provided by the Drata Agent or an MDM connection.
🔒 Requires Devices: List Devices permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "osVersion": "MacOS 10.15.6",
- "serialNumber": "C02T6CDJGTFL",
- "model": "MacBook Pro",
- "macAddress": "65-F9-3D-85-7B-6B,99-A9-3E-14-7A-3E",
- "lastCheckedAt": "2025-07-01T16:45:55.246Z",
- "sourceType": "AGENT",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z",
- "appsCount": 20,
- "isDeviceCompliant": false,
- "complianceChecks": [ ],
- "identifiers": [ ],
- "documents": [ ],
- "screenLockTime": 30,
- "screenLockExplanation": {
- "minutesIdleBeforeSleep": "2",
- "minutesSleepingBeforePasswordIsRequired": "2"
}, - "antivirusEnabled": true,
- "antivirusExplanation": "No matching app was found",
- "autoUpdateEnabled": true,
- "autoUpdateExplanation": "No compliances found",
- "passwordManagerEnabled": true,
- "passwordManagerExplanation": {
- "passwordManagerApps": [
- "1password 7"
]
}, - "encryptionEnabled": false,
- "encryptionExplanation": "No encryption provided",
- "firewallEnabled": true,
- "firewallExplanation": "{}",
- "asset": {
- "id": 1,
- "name": "MacBook Pro - Space Black 16-inch",
- "description": "MacBook Pro Space Black - with 16-inch Liquid Retina XDR display",
- "assetType": "PHYSICAL",
- "assetProvider": "AGENT",
- "approvedAt": "2025-07-01T16:45:55.246Z",
- "removedAt": "2025-07-01T16:45:55.246Z",
- "company": "Acme, Inc",
- "notes": "string",
- "assetReferenceType": "PERSONNEL",
- "uniqueId": "C02T6CDJGTFL",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}, - "userId": 1,
- "personnelId": 1,
- "externalId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd"
}
], - "pagination": {
- "cursor": "string"
}
}
🔒 Requires Devices: List Devices permission.
Successful
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "osVersion": "MacOS 10.15.6",
- "serialNumber": "C02T6CDJGTFL",
- "model": "MacBook Pro",
- "macAddress": "65-F9-3D-85-7B-6B,99-A9-3E-14-7A-3E",
- "lastCheckedAt": "2025-07-01T16:45:55.246Z",
- "sourceType": "AGENT",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z",
- "appsCount": 20,
- "isDeviceCompliant": false,
- "complianceChecks": [ ],
- "identifiers": [ ],
- "documents": [ ],
- "screenLockTime": 30,
- "screenLockExplanation": {
- "minutesIdleBeforeSleep": "2",
- "minutesSleepingBeforePasswordIsRequired": "2"
}, - "antivirusEnabled": true,
- "antivirusExplanation": "No matching app was found",
- "autoUpdateEnabled": true,
- "autoUpdateExplanation": "No compliances found",
- "passwordManagerEnabled": true,
- "passwordManagerExplanation": {
- "passwordManagerApps": [
- "1password 7"
]
}, - "encryptionEnabled": false,
- "encryptionExplanation": "No encryption provided",
- "firewallEnabled": true,
- "firewallExplanation": "{}",
- "asset": {
- "id": 1,
- "name": "MacBook Pro - Space Black 16-inch",
- "description": "MacBook Pro Space Black - with 16-inch Liquid Retina XDR display",
- "assetType": "PHYSICAL",
- "assetProvider": "AGENT",
- "approvedAt": "2025-07-01T16:45:55.246Z",
- "removedAt": "2025-07-01T16:45:55.246Z",
- "company": "Acme, Inc",
- "notes": "string",
- "assetReferenceType": "PERSONNEL",
- "uniqueId": "C02T6CDJGTFL",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}, - "userId": 1,
- "personnelId": 1,
- "externalId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd"
}
], - "pagination": {
- "cursor": "string"
}
}
🔒 Requires Devices: List Devices permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "id": 1,
- "osVersion": "MacOS 10.15.6",
- "serialNumber": "C02T6CDJGTFL",
- "model": "MacBook Pro",
- "macAddress": "65-F9-3D-85-7B-6B,99-A9-3E-14-7A-3E",
- "lastCheckedAt": "2025-07-01T16:45:55.246Z",
- "sourceType": "AGENT",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z",
- "appsCount": 20,
- "isDeviceCompliant": false,
- "complianceChecks": [ ],
- "identifiers": [ ],
- "documents": [ ],
- "screenLockTime": 30,
- "screenLockExplanation": {
- "minutesIdleBeforeSleep": "2",
- "minutesSleepingBeforePasswordIsRequired": "2"
}, - "antivirusEnabled": true,
- "antivirusExplanation": "No matching app was found",
- "autoUpdateEnabled": true,
- "autoUpdateExplanation": "No compliances found",
- "passwordManagerEnabled": true,
- "passwordManagerExplanation": {
- "passwordManagerApps": [
- "1password 7"
]
}, - "encryptionEnabled": false,
- "encryptionExplanation": "No encryption provided",
- "firewallEnabled": true,
- "firewallExplanation": "{}",
- "asset": {
- "id": 1,
- "name": "MacBook Pro - Space Black 16-inch",
- "description": "MacBook Pro Space Black - with 16-inch Liquid Retina XDR display",
- "assetType": "PHYSICAL",
- "assetProvider": "AGENT",
- "approvedAt": "2025-07-01T16:45:55.246Z",
- "removedAt": "2025-07-01T16:45:55.246Z",
- "company": "Acme, Inc",
- "notes": "string",
- "assetReferenceType": "PERSONNEL",
- "uniqueId": "C02T6CDJGTFL",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}, - "userId": 1,
- "personnelId": 1,
- "externalId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd",
- "apps": [
- {
- "id": 1,
- "installedApp": "Adobe Photoshop version 3.3 license 1a2b3c4d"
}
]
}
🧪 BETA: Get a list of Devices for a given connection
🔒 Requires Devices: List Devices permission.
Successful
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "osVersion": "MacOS 10.15.6",
- "serialNumber": "C02T6CDJGTFL",
- "model": "MacBook Pro",
- "macAddress": "65-F9-3D-85-7B-6B,99-A9-3E-14-7A-3E",
- "lastCheckedAt": "2025-07-01T16:45:55.246Z",
- "sourceType": "AGENT",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z",
- "appsCount": 20,
- "isDeviceCompliant": false,
- "complianceChecks": [ ],
- "identifiers": [ ],
- "documents": [ ],
- "screenLockTime": 30,
- "screenLockExplanation": {
- "minutesIdleBeforeSleep": "2",
- "minutesSleepingBeforePasswordIsRequired": "2"
}, - "antivirusEnabled": true,
- "antivirusExplanation": "No matching app was found",
- "autoUpdateEnabled": true,
- "autoUpdateExplanation": "No compliances found",
- "passwordManagerEnabled": true,
- "passwordManagerExplanation": {
- "passwordManagerApps": [
- "1password 7"
]
}, - "encryptionEnabled": false,
- "encryptionExplanation": "No encryption provided",
- "firewallEnabled": true,
- "firewallExplanation": "{}",
- "asset": {
- "id": 1,
- "name": "MacBook Pro - Space Black 16-inch",
- "description": "MacBook Pro Space Black - with 16-inch Liquid Retina XDR display",
- "assetType": "PHYSICAL",
- "assetProvider": "AGENT",
- "approvedAt": "2025-07-01T16:45:55.246Z",
- "removedAt": "2025-07-01T16:45:55.246Z",
- "company": "Acme, Inc",
- "notes": "string",
- "assetReferenceType": "PERSONNEL",
- "uniqueId": "C02T6CDJGTFL",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}, - "userId": 1,
- "personnelId": 1,
- "externalId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd"
}
], - "pagination": {
- "cursor": "string"
}
}
Get a list of Apps associated with a given Device.
🔒 Requires Devices: List Devices permission.
Successful
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
You must accept the Drata terms and conditions to use the API
Internal server error
{- "data": [
- {
- "id": 1,
- "installedApp": "Adobe Photoshop version 3.3 license 1a2b3c4d"
}
], - "pagination": {
- "cursor": "string"
}
}
🧪 BETA: Create a new device or update an existing device for a custom connection.
An existing device is searched for based upon matching one or more of these supplied properties in the request payload:
serialNumber
macAddress
externalId
If an existing device is found, the existing device is updated. Otherwise a new device is created.
🔒 Requires Devices: Create Device permission.
Created
Malformed data and/or validation errors
Invalid Authorization
You must upgrade your plan to use this feature
You are not allowed to perform this action
Not Found
You must accept the Drata terms and conditions to use the API
The file was too large to upload
Internal server error
Third party system was unavailable
{- "personnelId": 1,
- "alias": "danielm-01",
- "antivirusEnabled": true,
- "antivirusExplanation": {
- "antivirusApps": [
- "Crowdstrike windows sensor"
]
}, - "appList": [
- {
- "name": "Microsoft Defender Antivirus",
- "version": "1.421.12.0",
- "description": "Microsoft Defender Antivirus"
}
], - "autoUpdateEnabled": true,
- "autoUpdateExplanation": "Disabled",
- "browserExtensions": [
- {
- "name": "Microsoft Defender Antivirus",
- "version": "1.421.12.0",
- "description": "Microsoft Defender Antivirus"
}
], - "externalId": "fccc5f46-b239-4526-ad9a-84fb302ab226",
- "firewallEnabled": true,
- "firewallExplanation": "On",
- "passwordManagerEnabled": true,
- "encryptionEnabled": true,
- "encryptionExplanation": {
- "bootPartitionEncryptionDetails": {
- "partitionFileVault2Percent": 100,
- "partitionFileVault2State": "ENCRYPTED",
- "partitionName": "Macintosh HD (Boot Partition)"
}
}, - "model": "Mac16,1",
- "serialNumber": "BKH8RXT4T9",
- "macAddress": "01-23-45-67-89-AB",
- "passwordManagerExplanation": {
- "passwordManagerApps": [
- "1password"
]
}, - "platformName": "MACOS",
- "platformVersion": "string",
- "screenLockEnabled": true,
- "screenLockExplanation": "ScreenLock delay is immediate",
- "screenLockTime": 15,
- "windowsServices": [
- {
- "description": "Security feature that monitors and controls network traffic entering and exiting the device",
- "name": "Windows Firewall",
- "startType": "Automatic",
- "status": "Running"
}
]
}
{- "id": 1,
- "osVersion": "MacOS 10.15.6",
- "serialNumber": "C02T6CDJGTFL",
- "model": "MacBook Pro",
- "macAddress": "65-F9-3D-85-7B-6B,99-A9-3E-14-7A-3E",
- "lastCheckedAt": "2025-07-01T16:45:55.246Z",
- "sourceType": "AGENT",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "deletedAt": "2025-07-01T16:45:55.246Z",
- "appsCount": 20,
- "isDeviceCompliant": false,
- "complianceChecks": [ ],
- "identifiers": [ ],
- "documents": [ ],
- "screenLockTime": 30,
- "screenLockExplanation": {
- "minutesIdleBeforeSleep": "2",
- "minutesSleepingBeforePasswordIsRequired": "2"
}, - "antivirusEnabled": true,
- "antivirusExplanation": "No matching app was found",
- "autoUpdateEnabled": true,
- "autoUpdateExplanation": "No compliances found",
- "passwordManagerEnabled": true,
- "passwordManagerExplanation": {
- "passwordManagerApps": [
- "1password 7"
]
}, - "encryptionEnabled": false,
- "encryptionExplanation": "No encryption provided",
- "firewallEnabled": true,
- "firewallExplanation": "{}",
- "asset": {
- "id": 1,
- "name": "MacBook Pro - Space Black 16-inch",
- "description": "MacBook Pro Space Black - with 16-inch Liquid Retina XDR display",
- "assetType": "PHYSICAL",
- "assetProvider": "AGENT",
- "approvedAt": "2025-07-01T16:45:55.246Z",
- "removedAt": "2025-07-01T16:45:55.246Z",
- "company": "Acme, Inc",
- "notes": "string",
- "assetReferenceType": "PERSONNEL",
- "uniqueId": "C02T6CDJGTFL",
- "createdAt": "2025-07-01T16:45:55.246Z",
- "updatedAt": "2025-07-01T16:45:55.246Z",
- "externalId": "i-0c844e3b433e4e3f",
- "externalOwnerId": "account-353"
}, - "userId": 1,
- "personnelId": 1,
- "externalId": "aaaaaaaa-bbbb-0000-cccc-dddddddddddd"
}