Agents API
Base URL: https://api.theoneagents.app
Authentication
Most endpoints require a valid session cookie or integration key. Endpoints marked Public require no authentication.
Endpoints Summary
30 endpoints discovered across 3 function app(s).
| Method | Route | Auth |
|---|---|---|
GET | /api/agents | Session |
POST | /api/agents | Session |
DELETE | /api/agents/{id} | Session |
GET | /api/agents/{id} | Session |
PUT | /api/agents/{id} | Session |
POST | /api/agents/{id}/activate | Session |
POST | /api/agents/{id}/clone | Session |
POST | /api/agents/{id}/pause | Session |
POST | /api/agents/{id}/test | Session |
GET | /api/agents/approvals | Session |
POST | /api/agents/approvals/{id}/approve | Session |
POST | /api/agents/approvals/{id}/deny | Session |
GET | /api/agents/context | Session |
GET | /api/agents/context/{clientId} | Session |
POST | /api/agents/context/{clientId}/refresh | Session |
GET | /api/agents/credits | Session |
GET | /api/agents/credits/history | Session |
GET | /api/agents/events | Session |
GET | /api/agents/events/{id} | Session |
POST | /api/agents/events/register | Session |
GET | /api/agents/executions | Session |
GET | /api/agents/executions/{id} | Session |
POST | /api/agents/executions/{id}/cancel | Session |
POST | /api/agents/system/{id}/pause | Session |
POST | /api/agents/system/{id}/replace | Session |
POST | /api/agents/system/{id}/resume | Session |
GET | /api/agents/templates | Session |
GET | /api/agents/templates/{id} | Session |
POST | /api/agents/templates/{id}/clone | Session |
POST | /api/runtime/bus-event | Public |
Endpoint Details
Agents
/api/agentsList or retrieve agents
Auth: Session
/api/agentsCreate agents
Auth: Session
/api/agents/{id}Delete agents
Auth: Session
/api/agents/{id}List or retrieve agents
Auth: Session
/api/agents/{id}Update agents
Auth: Session
/api/agents/{id}/activateCreate activate
Auth: Session
/api/agents/{id}/cloneCreate clone
Auth: Session
/api/agents/{id}/pauseCreate pause
Auth: Session
/api/agents/{id}/testCreate test
Auth: Session
/api/agents/approvalsList or retrieve approvals
Auth: Session
/api/agents/approvals/{id}/approveCreate approve
Auth: Session
/api/agents/approvals/{id}/denyCreate deny
Auth: Session
/api/agents/contextList or retrieve context
Auth: Session
/api/agents/context/{clientId}List or retrieve context
Auth: Session
/api/agents/context/{clientId}/refreshCreate refresh
Auth: Session
/api/agents/creditsList or retrieve credits
Auth: Session
/api/agents/credits/historyList or retrieve history
Auth: Session
/api/agents/eventsList or retrieve events
Auth: Session
/api/agents/events/{id}List or retrieve events
Auth: Session
/api/agents/events/registerCreate register
Auth: Session
/api/agents/executionsList or retrieve executions
Auth: Session
/api/agents/executions/{id}List or retrieve executions
Auth: Session
/api/agents/executions/{id}/cancelCreate cancel
Auth: Session
/api/agents/system/{id}/pauseCreate pause
Auth: Session
/api/agents/system/{id}/replaceCreate replace
Auth: Session
/api/agents/system/{id}/resumeCreate resume
Auth: Session
/api/agents/templatesList or retrieve templates
Auth: Session
/api/agents/templates/{id}List or retrieve templates
Auth: Session
/api/agents/templates/{id}/cloneCreate clone
Auth: Session
Runtime
/api/runtime/bus-eventCreate bus event
Auth: Public
This reference is auto-generated from source code. Run npx tsx scripts/generate-api-docs.ts from the ops-center repo to refresh.