Skip to main content
POST
Update Agent

Authorizations

Authorization
string
header
required

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

Path Parameters

agent_id
string
required

Query Parameters

user_id
string

用户ID

Body

application/json
name
string | null

Name of the Agent

Maximum string length: 256
mode
string | null

Working mode of the Agent

icon
string | null

URL of the Agent's icon

Maximum string length: 1024
description
string | null

Detailed description of the Agent

category
string | null

Category of the Agent

prompt
string | null

System prompt for the Agent

status
integer | null

Enable status of the Agent

publish_status
integer | null

Publication status of the Agent, 0: draft, 1: published

orchestration
OrchestrationConfig · object | null

Orchestration configuration of the Agent

llm
LLMConfig · object | null

Language model configuration of the Agent

conversation
ConversationConfig · object | null

Conversation configuration of the Agent

created_by
string | null

Agent created by

Response

Successful Response

Agent read model

created_at
integer | null
required
updated_at
integer | null
required
org_id
string
required
user_id
string
required
agent_id
string
required
name
string | null

Name of the Agent

Maximum string length: 256
mode
string | null

Working mode of the Agent

icon
string | null

URL of the Agent's icon

Maximum string length: 1024
description
string | null

Detailed description of the Agent

category
string | null

Category of the Agent

prompt
string | null

System prompt for the Agent

status
integer | null

Enable status of the Agent

publish_status
integer | null

Publication status of the Agent, 0: draft, 1: published

orchestration
OrchestrationConfig · object | null

Orchestration configuration of the Agent

llm
LLMConfig · object | null

Language model configuration of the Agent

conversation
ConversationConfig · object | null

Conversation configuration of the Agent

created_by
string | null
permission_types
string[]
message_count
integer | null
default:0