Update agent

以 Markdown 格式查看

Update agent (partial). Owner or admin.

路径参数

idstring必需
Agent UUID

请求头

Authorizationstring必需

Bearer {access_token}

X-Workspace-Idstring必需
Workspace UUID

请求

optional fields
departmentIdstring可选
descriptionstring可选
environmentstring可选
modelstring可选
namestring可选
providerstring可选
statusstring可选
systemPromptstring可选

响应

data: updated agent

错误

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error