Request device action
Requires action scope for OAuth callers and a current per-device capability grant. Idempotency key is 1–128 characters; TTL defaults to 30 seconds and is at most 300 seconds. Duplicate retries with the same key and identical request return the existing receipt; key reuse with a different request conflicts. Physical execution is not exactly once.
/v1/devices/{deviceId}/actionsAuthorizationBearer token (Clerk owner session) · headerrequiredOwner identity required.
AuthorizationBearer token (ol_agent token) · headerrequiredOwner-issued agent API connection; access ceiling and live device grants are checked separately.
AuthorizationBearer token (OAuth access token) · headerrequiredOAuth read/act scope is a ceiling. Scopes do not create device grants.
deviceIdstring<uuid>requiredapplication/jsoncapabilitystringrequiredargumentsobjectrequiredidempotencyKeystringrequiredttlSecondsintegerAccepted into queue
dataActionReceiptrequiredShow propertiesHide properties
idstring<uuid>requireddeviceIdstring<uuid>requiredcapabilitystringrequiredargsobjectrequiredstatusstringrequiredqueuedreceivedsucceededfailedexpiredcancelledunknowncreatedAtintegerrequiredexpiresAtintegerrequireddispatchedAtintegerresultanyclientKeystringrequiredInternal idempotency key stored in the action ledger; included by request/get/result handler responses.
fingerprintstringrequiredInternal canonical request fingerprint; included by request/get/result and action history responses.
principalIdstringrequiredPrincipal identifier associated with the action.
ownerAuthorizedbooleanrequiredWhether the action was directly authorized by an owner.
Invalid request or validation failure
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringMissing or invalid credential
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringInsufficient access or grant
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringResource not found
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringIdempotency key conflict, device offline, or action cannot proceed
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringRequest body exceeds the 16 KiB limit
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringRate limit or workspace capacity limit
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringInternal error
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestringService or required integration is not configured
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringissuesobject[]Show propertiesHide properties
objectpathstringmessagestring