English
Documentation
How to use the Orkeia AI platform
Changes the enablement status of an agent.
PUT https://gateway.orkeia.ai/agents/{id}/enable
authorization: <your_token> Content-Type: application/json
{ "id": "Agent ID (required)" }
{ "enabled": true/false }
curl -X PUT "https://gateway.orkeia.ai/agents/agent123/enable" \ -H "authorization: <your_token>" \ -H "Content-Type: application/json" \ -d '{ "enabled": true}'
{ "status": "OK", "data": { "true"} }
{ "status": "ERROR", "code": "server/error", "data": null }
{ "status": "ERROR", "code": "client/error", "data": null }
Was this page helpful?