API Reference
Base path:
/apiAuthentication All API calls require headers:X-API-Key: <your_key> Authorization: Bearer <your_token>
System
GET /api/system/healthGET /api/system/metrics
Agents
GET /api/agents?q=&limit=&offset=&tenant_id=→{ items, total }GET /api/agents/{id}POST /api/agentsPUT /api/agents/{id}DELETE /api/agents/{id}GET /api/runs?agent_id={id}&limit=50
Workflows
GET /api/workflows?q=&limit=&offset=GET /api/workflows/{id}POST /api/workflowsPUT /api/workflows/{id}DELETE /api/workflows/{id}POST /api/workflows/{id}/runGET /api/runs?workflow_id={id}&limit=50
Policies
GET /api/policy/{policy_id}?tenant_id=PUT /api/policy/{policy_id}POST /api/policy/{policy_id}/assemblePOST /api/policy/abtest/setGET /api/policy/abtest/get?policy_a=&policy_b=
Knowledge
Sources:
GET /api/sourcesPOST /api/sourcesPOST /api/sources/{id}/indexDELETE /api/sources/{id}
Documents:
GET /api/documents?source_id=&q=&limit=&offset=&tag=POST /api/documents/reindex
Code Graph:
POST /api/codegraph/indexGET /api/codegraph/search?project=&q=&limit=
Playbooks
GET /api/playbooks?tenant_id=POST /api/playbooks/mineOptional:
POST /api/playbooks/promotePOST /api/playbooks/attach
Settings
Tenants:
GET|POST /api/settings/tenants,PUT|DELETE /api/settings/tenants/{id}Providers:
GET|PUT /api/settings/providersFlags:
GET /api/settings/flags,PUT /api/settings/flags/{key}CORS:
GET|PUT /api/settings/corsAudit:
GET /api/settings/audit/info,POST /api/settings/audit/export
Last updated

