Drata Devices API

Devices are computers used by personnel. The data is provided by the Drata Agent or an MDM connection.

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /devices List all devices across the company · List Devices #
Ask an LLM
“Which employee laptops and devices does Drata know about?”
“Can I find a device by its serial number or MAC address?”
Tell an agent
List every device in our account.
Find the device with serial number {serial}.
GET /personnel/{personnelId}/devices List a person's devices · List Devices for Personnel #
Ask an LLM
“What devices belong to one specific employee?”
“Can I check which computers a team member has enrolled?”
Tell an agent
List the devices for personnel {personnel}.
Show all machines assigned to employee record {personnel}.
GET /devices/{deviceId} Get one device · Get Device #
Ask an LLM
“What compliance details are recorded for one device?”
“Can I look up a single device by its ID?”
Tell an agent
Get device {device}.
Show me the details of device {device}.
GET /connections/{connectionId}/devices List devices reported by a connection · List Devices for Connection 🧪 #
Ask an LLM
“Which devices came in through a particular connection?”
“Can I see devices synced from one integration only?”
Tell an agent
List devices from connection {connection}.
Show devices reported by connection {connection} for personnel {personnel}.
GET /devices/{deviceId}/apps List apps installed on a device · List Apps for Device #
Ask an LLM
“What applications are installed on an employee's device?”
“Can I get the app inventory for one machine?”
Tell an agent
List the apps on device {device}.
Show the installed software inventory for device {device}.
POST /custom-connections/{connectionId}/devices Create or update a device via custom connection · Create or update Device for Custom Connection 🧪 #
Ask an LLM
“How do I report a device from my own MDM into Drata?”
“Will sending a device with an existing serial number update it instead of duplicating it?”
Tell an agent
Register a device for personnel {personnel} on custom connection {connection} running {platform} {version}.
Upsert device with serial number {serial} for personnel {personnel} on connection {connection}, platform {platform} {version}.
DELETE /custom-connections/{connectionId}/devices/{deviceId} Delete a device from a custom connection · Delete Device #
Ask an LLM
“Can I remove a device I pushed through a custom connection?”
“What happens to a retired laptop that was reported by my custom integration?”
Tell an agent destructive · confirm first
Delete device {device} from custom connection {connection}.
Remove retired device {device} that custom connection {connection} reported.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/drata:drata-devices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

drata-devices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Drata Devices API
  description: '### What''s New in V2

    - Support for Custom Fields

    - Get and acknowledge user''s assigned policies

    - Payloads are streamlined to include only the essential information.'
  version: V2
  contact: {}
servers:
- url: https://public-api.drata.com/public/v2
- url: https://public-api.eu.drata.com/public/v2
- url: https://public-api.apac.drata.com/public/v2
tags:


# --- truncated at 32 KB (55 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/drata/refs/heads/main/openapi/drata-devices-api-openapi.yml