Skip to main content
PUT
/
api
/
sdk
/
agent
/
{agent_id}
Update an existing agent
curl --request PUT \
  --url https://api.example.com/api/sdk/agent/{agent_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "prompt": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "prompt": "<string>",
  "short_description": "<string>"
}

Path Parameters

agent_id
string<uuid>
required

Body

application/json
name
string | null
prompt
string | null

Response

Successful Response

id
string<uuid>
required
name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
prompt
string | null
short_description
string | null