POST

承認

x-api-key
string
header
必須

ボディ

application/json
model
必須

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

name
string
必須

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.

レスポンス

Success.

A Managed Agents agent.

id
string
必須
archived_at
string | null
必須

When the agent was archived. Null if not archived.

created_at
string
必須

A timestamp in RFC 3339 format

description
string | null
必須
execution_identity
object
必須

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

mcp_servers
object[]
必須
metadata
object
必須
model
object
必須

Model identifier and configuration.

multiagent
object
必須

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

name
string
必須
skills
object[]
必須

A resolved Anthropic-managed skill.

system
string | null
必須
tools
object[]
必須
type
string
必須

Always agent.

Allowed value: "agent"
updated_at
string
必須

A timestamp in RFC 3339 format

version
number
必須

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