Skip to main content

Devices API

Manage device pairing for your agent. Devices start in a pending state and can be approved, denied, or revoked.
All device endpoints require an authenticated session. Unauthenticated requests receive a 401 response.

List devices

Returns all pending and approved devices grouped by status.

Response

Device object

Errors

Manage a device

Approve, deny, or revoke a device. The action must be valid for the device’s current status:
  • approve — only valid when the device is pending
  • deny — only valid when the device is pending
  • revoke — only valid when the device is approved

Request body

Response

Errors

Example: approve a device

Example: revoke a device