Base URL
All requests are made against the Deck API at:Authentication
Every request requires an API key passed as a Bearer token in theAuthorization header. Keys are available in your Dashboard.
Verify your key
Call the test endpoint to confirm your key is valid.Request format
All requests useContent-Type: application/json. Pass request bodies as JSON.
Response format
Every resource response includes a standard set of fields:| Field | Description |
|---|---|
id | Unique identifier, prefixed by resource type (agt_, src_, conn_, task_, trun_, etc.) |
object | Resource type as a string. Useful for parsing polymorphic responses. |
created_at | ISO 8601 timestamp |
updated_at | ISO 8601 timestamp |
request_id | Unique identifier for the API request. Include this when contacting support. |
Request IDs
Every response includes arequest_id. When something goes wrong, include this value in support requests so Deck can trace exactly what happened.
