POST

Authorizations

x-api-key
string
header
required

Body

application/json
model
required

Model identifier. Accepts the model string, e.g. claude-opus-5-5, or a model_config object for additional configuration control

name
string
required

Human-readable name for the agent.

description
string | null

Description of what the agent does.

execution_identity
object

Execution principal for runs of this agent. Omitting it, sending null, or sending {"type": "service_account"} stores the default.

mcp_servers
object[]

MCP servers this agent connects to. Maximum 20. Names must be unique within the array. Every server must be referenced by an mcp_toolset in tools; unreferenced servers are rejected. See the MCP connector guide.

metadata
object

Arbitrary key-value metadata. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.

multiagent
object

Multiagent orchestration configuration.

skills
object[]

Skills available to the agent.

Skill to load in the session container.

system
string | null

System prompt for the agent.

tools
object[]

Tool configurations available to the agent. Maximum of 256 tools across all toolsets allowed.

Configuration for built-in agent tools. Use this to enable or disable groups of tools available to the agent.

Response

Success.

A Managed Agents agent.

id
string
required
archived_at
string | null
required

When the agent was archived. Null if not archived.

created_at
string
required

A timestamp in RFC 3339 format

description
string | null
required
execution_identity
object
required

Execution principal for runs of this agent. Always present; {"type": "service_account"} when runs carry no customer-named principal.

mcp_servers
object[]
required
metadata
object
required
model
object
required

Model identifier and configuration.

multiagent
object
required

Multiagent orchestration configuration. Null when the agent is single-threaded.

name
string
required
skills
object[]
required

A resolved Anthropic-managed skill.

system
string | null
required
tools
object[]
required
type
string
required

Always agent.

Allowed value: "agent"
updated_at
string
required

A timestamp in RFC 3339 format

version
number
required

The agent's current version. Starts at 1 and increments when the agent is modified.