Skip to main content
PATCH
Update an agent

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Path Parameters

agent_id
string
required

Body

application/json

Request body for partially updating an agent.

Omit any field to keep its current value.

name
string | null

New display name.

system_prompt
string | null

New system prompt.

context_config
ContextConfig · object | null

New context configuration.

react_config
ReActConfig · object | null

New ReAct loop configuration.

Response

Successful Response

The agent ORM model.

user_id
string
required
data
AgentData · object
required

The agent data model.

id
string

Unique identifier for the credential.

updated_at
string<date-time>
created_at
string<date-time>
source
enum<string>
default:user
Available options:
user,
team