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

Authorizations

Authorization
string
header
required

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

Body

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

Response

201 - application/json

Custom agent created

id
string
name
string
type
string
status
string
created_at
string<date-time>
created_by
string