Format
All IDs follow the same pattern:ID Reference
| Prefix | Resource | Example | Description |
|---|---|---|---|
agt_ | Agent | agt_a1b2c3d4 | An automation agent scoped to a use case. |
src_ | Source | src_a1b2c3d4 | A website or service your agent connects to. |
conn_ | Connection | conn_a1b2c3d4 | An authenticated session between a user and a source. |
task_ | Task | task_abc123 | A defined action an agent can perform. |
trun_ | Task Run | trun_a1b2c3d4 | A single execution of a task. |
stor_ | Storage Item | stor_a1b2c3d4 | A file or document captured during a task run. |
wflo_ | Workflow | wflo_abc123 | A multi-step orchestration of tasks. |
wrun_ | Workflow Run | wrun_abc123 | A single execution of a workflow. |
evt_ | Event | evt_a1b2c3d4 | A lifecycle event emitted by the platform. |
evtd_ | Event Destination | evtd_a1b2c3d4 | An endpoint that receives events. |
edlv_ | Event Delivery | edlv_a1b2c3d4 | A record of an event sent to a destination. |
req_ | Request | req_a1b2c3d4 | A unique identifier for an API request, returned in error responses. |
sk_live_ | API Key | sk_live_abc123... | Your API key. Not a resource ID, but follows the same prefix convention. |
Using prefixed IDs
Type checking
Because the prefix encodes the resource type, you can validate IDs before making API calls.Logging and debugging
Prefixed IDs make it easy to trace activity across resources in your logs. A log entry containingconn_a1b2c3d4 and trun_x9y8z7 immediately tells you which connection and task run were involved, without needing to cross-reference separate tables.
Cross-referencing resources
Many API responses include related resource IDs. A task run object, for example, includestask_id, connection_id, agent_id, and source_id. The prefixes let you quickly verify the relationships are correct.
Notes
- IDs are immutable. Once assigned, they never change.
- IDs are globally unique. You will never see the same ID across different resource types or organizations.
- IDs are case-sensitive.
agt_A1B2andagt_a1b2are different identifiers. - Passing an ID with the wrong prefix to an endpoint returns a
400validation error.
