cURL
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>" }
Defines a new user‑defined agent with instructions and output format. Only custom agents may be created via this endpoint.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
text
html
markdown
Custom agent created