Get Agent
GET
/v1/agents/{agent_id}Read an Agent, including archived Agents.
Path parameters
Agent ID (agt_ prefix).
Agent object
Returned by create, get, update, archive, unarchive, restore, and clone.
Agent ID with the agt_ prefix.
Always agent.
Current version. Every effective write creates a new version.
Compare-and-set token for PATCH, archive, unarchive, and restore.
active or archived.
Execution readiness of the current version. Sessions need ready; a new Agent can briefly report pending.
codex, claude, or mcode.
private for your Agents; public for catalog entries.
Unix seconds. archived_at is null while active.