PUT
/
agent
/
{uuid}
/
update
curl --request PUT \
  --url https://geekai.co/api/v1/agent/{uuid}/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=测试智能体' \
  --form 'desc=测试智能体' \
  --form model=deepseek-chat \
  --form chat_level=2 \
  --form interneted=0 \
  --form stream=1
{
  "message": "智能体更新成功",
  "data": {}
}

注:训练模型设置参考系统支持模型列表 响应数据和创建智能体一样,略。 请求示例也和创建智能体差不多,略。

Authorizations

Authorization
string
header
required

JWT认证token

Path Parameters

uuid
string
required

资源唯一标识符

Body

multipart/form-data

Response

200
application/json

成功响应

The response is of type object.