Get an agent
Changed onGet one agent's profile and lifecycle state.
Returns the agent's name, description, owner, status, approval or denial details, and whether it currently has an API key (has_api_key). Readable by the agent itself, its owner, and org:admin; an agent outside the caller's visibility answers 404.
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /agents/{agent_id}
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL /authorize, token URL /oauth/token)
Path parameters
ID of the agent.
Response
Successful Response
Example response
{
"approved_at": "2026-01-15T09:45:00Z",
"approved_by": "usr_6968b3987ee4c3ec0b4ee3b9",
"created_at": "2026-01-15T09:30:00Z",
"denial_reason": "Requested permissions exceed the agent's stated purpose.",
"denied_by": "usr_6968b3987ee4c3ec0b4ee3b9",
"description": "Reconciles Stripe invoices against the ledger every night.",
"has_api_key": true,
"id": "agnt_6968b3984d1c238dbe7e2e29",
"name": "invoice-reconciler",
"owner_id": "usr_6968b3987ee4c3ec0b4ee3b9",
"parent_agent_id": "agnt_6968b3984d1c238dbe7e2e29",
"registered_by": "usr_6968b3987ee4c3ec0b4ee3b9",
"status": "active"
}Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- breaking
the response's body type changed from no type to
objectfor status - breaking
the
response's property type changed fromarraytostringfor status - info
api operation id
get_agent_agents__agent_id__getremoved and replaced withgetAgent - info
the endpoint scheme security
BearerAuthwas added to the API - info
the endpoint scheme security
HumanLoginwas removed from the API - info
api tag
Agentsadded - info
api tag
agentsremoved - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
the response property
became required for the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking