cURL
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 }
Modifies a custom agent. Built‑in agents cannot be updated.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
text
html
markdown
Custom agent updated