Skip to main content
PATCH
Update an agent

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

The agent ID

Maximum string length: 26

ボディ

name
string

The agent name. Cannot contain <, >, or null bytes.

Required string length: 1 - 255
Pattern: ^[^<>]+$
metadata
object | null

Arbitrary key-value metadata for the agent. Pass null to clear all metadata.

レスポンス

Agent successfully updated.

agent_id
string<agent-id>
必須

The agent ID

name
string
必須

The agent name

Maximum string length: 255
created_at
string<date-time>
必須

When the agent was created

updated_at
string<date-time>
必須

When the agent was last updated

metadata
object
必須

Arbitrary key-value metadata for the agent

external_agent_id
string

External identifier for the agent, if set. Omitted when not set.

Maximum string length: 128