API reference / Devices, signing & primitives / Get device
Get device
One device context and its state.
- Upstream
gateway · context registry- Access
- Every plan
- Runs on
- Primitive
- Billing
- Failed calls are free
Authorization
x-api-keyheader · stringrequired
Your API key. Create one in API keys.
Path parameters
idstringrequired
The device ID. For example 7392011847562901234.
Response
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.
Errors
Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.