PUT
/
agent
/
{uuid}
/
update
curl --request PUT \
  --url https://geekai.dev/api/v1/agent/{uuid}/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=Test Agent' \
  --form 'desc=Agent Desc' \
  --form model=deepseek-chat \
  --form chat_level=2 \
  --form interneted=0 \
  --form stream=1
{
  "message": "agent updated successfully.",
  "data": {}
}

Note: For training model settings, refer to the System Supported Model List. The response data is the same as creating an agent, omitted here. The request example is also similar to creating an agent, omitted here.

Authorizations

Authorization
string
header
required

token

Path Parameters

uuid
string
required

uuid

Body

multipart/form-data

Response

200
application/json

successful response

The response is of type object.