Skip to main content
PUT
/
agents
/
{agentId}
Update a custom agent
curl --request PUT \
  --url https://api.artosai.com/agents/{agentId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "category": "<string>",
  "instructions": "<string>",
  "output_format": "text"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "status": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "version": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

agentId
string
required

Body

application/json
name
string
description
string
category
string
instructions
string
output_format
enum<string>
Available options:
text,
html,
markdown

Response

200 - application/json

Custom agent updated

id
string
name
string
status
string
updated_at
string<date-time>
version
integer