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.