cURL
curl --request PATCH \ --url https://api.getarbol.com/v1/agents/{agentId}/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "ACTIVE" } '
{ "id": "<string>", "name": "<string>", "status": "ACTIVE", "updatedAt": "2023-11-07T05:31:56Z" }
Change the status of an agent (ACTIVE, PAUSED, or INACTIVE).
Use your API key from the Arbol dashboard. Go to Settings > API Keys to generate one.
Agent ID (agt_ prefix)
ACTIVE
PAUSED
INACTIVE
Updated agent status