Get one agent
Returns one agent resolved to its latest immutable version, including its system prompt, toolsets, and default credential grants. A soft-deleted or unknown id is a 404.
Authorizations
Headers
Path Parameters
Response
A configured standalone Managed Agent: its versioned execution definition plus current mutable classification tags. Publishing the execution definition mints a new immutable version; applying tags does not.
A configured standalone Managed Agent: its versioned execution definition plus current mutable classification tags. Publishing the execution definition mints a new immutable version; applying tags does not.
Native integration providers whose MCP tools new sessions of this agent do not receive, even though the grant is present. Suppresses integration-derived servers only, never the agent's own mcp_servers. github is ignored, because a GitHub grant always keeps its MCP tools alongside git and gh in the sandbox. A version write carries the list in full: omitting it publishes a version with none.
Remote MCP servers to attach. Each entry is an object with name (the label the server's tools are grouped under) and url (its http/https endpoint); any further keys are passed to the runtime unchanged. Credentials come from the vaults granted to the session, not from this entry. Tools are discovered and snapshotted at session start.
Built-in integrations this agent may use, each naming an active organization connection an admin added on the Integrations page. A non-empty tools list narrows this agent below the connection's organization allow-list; omission inherits it. Sessions receive short-lived access restricted to the effective tools. Not a vault grant: nothing about these appears under credential access. A version write carries the list in full: omitting it publishes a version with none.
Maximum grading passes of the outcome a session inherits from this agent's default rubric, including a roster agent graded on work a coordinator hands it. Omitted means five; at least 1, since every inherited outcome is bounded. An explicit session or automation outcome keeps its own ceiling. Carried in full on every version write: omitting it publishes a version with the default.
1 <= x <= 9007199254740991Maximum number of this agent's root sessions that may run or wait on compute at once. Omit for unlimited. Sessions beyond the cap are accepted with execution_state=queued and wait until a slot frees; child/subagent sessions and outcome evaluation passes do not count. Carried in full on every version write: omitting it publishes a version with no cap.
1 <= x <= 10000How sessions started from this agent reach their tools: native lists every tool to the model; codemode hides ordinary tools behind one JavaScript tool, keeping native the tools the session must run itself: waiting, spawning sub-agents, reviewed publication, tools that need the full conversation, tools whose policy denies them or requires approval, and the workflow tools submit_result, submit_repository_result, message_parent, interrupt_agent, archive_thread and rename_agent. Omit for native. Refused when the organization is not enabled for codemode. Snapshotted when a session starts.
native, codemode