Get Agent
Path parameters
Path parameter agent_id
Query parameters
Agent version. Omit for the most recent version. Must be at least 1 if specified.
Headers
Response
Successful response (OK)
Example response
{
"type": "agent",
"id": "agent_011CZkYpogX7uDKUyvBTophP",
"version": 1,
"name": "My First Agent",
"description": "A general-purpose starter agent.",
"model": {
"id": "claude-opus-5",
"speed": "standard"
},
"system": "You are a general-purpose agent that can research, write code, run commands, and use connected tools to complete the user's task end to end.",
"tools": [
{
"type": "agent_toolset_20260401",
"default_config": {
"enabled": true,
"permission_policy": {
"type": "always_ask"
}
},
"configs": []
}
],
"mcp_servers": [
{
"type": "url",
"name": "example-mcp",
"url": "https://example-server.modelcontextprotocol.io/sse"
}
],
"skills": [
{
"type": "anthropic",
"skill_id": "xlsx",
"version": "1"
},
{
"type": "custom",
"skill_id": "skill_011CZkZFNu9hAbo3jZPRgTlx",
"version": "2"
}
],
"multiagent": null,
"metadata": {
"foo": "bar"
},
"created_at": "2026-03-15T10:00:00Z",
"updated_at": "2026-03-15T10:00:00Z",
"archived_at": null
}Changes
Changed in 13 of the 68 revisions of this API.1222
- ○
added
subschema #2to the/response propertyanyOflist for the response statusresponse-property-any-of-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
added to the
///////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
removed the required property
////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
////////from the response with the statusresponse-required-property-removed
- ○
added discriminator to
///////response property for the response statusresponse-property-discriminator-added
- ▲
- ▲
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
systemlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
removed from the
response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
removed from the
response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ▲
- ▲
added to the
//////////response propertyoneOflist for the response statusresponse-property-one-of-added
- ▲
the
//////////response's property type changed fromobjectto no type for statusresponse-property-type-changed
- ▲
removed the required property
///////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
///////////from the response with the statusresponse-required-property-removed
- ▲
removed the required property
///////////from the response with the statusresponse-required-property-removed
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added discriminator to
//////////response property for the response statusresponse-property-discriminator-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
subschema #4subschema #5subschema #6subschema #7subschema #11subschema #12to the/response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
removed
subschema #4subschema #5subschema #6subschema #10subschema #11from the/response propertyanyOflist for the response statusresponse-property-any-of-removed
- ○
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added
subschema #2to the/response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
- ○
added
subschema #2to the/response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
- ▲
response property
tools/items/oneOf[BetaManagedAgentsCustomTool]/input_schema/requiredlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
removed from the
///////response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
added
subschema #1subschema #2to the///////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
the response property
///////became required for the statusresponse-property-became-required
- ○
the
response property const valueobjectwas added for the statusresponse-property-const-added
- ○
removed the
objectenum value from the///////response property for the response statusresponse-property-enum-value-removed
- ▲
- ○
added
subschema #2to the/response propertyanyOflist for the response statusresponse-property-any-of-added
- ○