Skip to main content

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).

MethodRouteAuth
GET/api/agentsSession
POST/api/agentsSession
DELETE/api/agents/{id}Session
GET/api/agents/{id}Session
PUT/api/agents/{id}Session
POST/api/agents/{id}/activateSession
POST/api/agents/{id}/cloneSession
POST/api/agents/{id}/pauseSession
POST/api/agents/{id}/testSession
GET/api/agents/approvalsSession
POST/api/agents/approvals/{id}/approveSession
POST/api/agents/approvals/{id}/denySession
GET/api/agents/contextSession
GET/api/agents/context/{clientId}Session
POST/api/agents/context/{clientId}/refreshSession
GET/api/agents/creditsSession
GET/api/agents/credits/historySession
GET/api/agents/eventsSession
GET/api/agents/events/{id}Session
POST/api/agents/events/registerSession
GET/api/agents/executionsSession
GET/api/agents/executions/{id}Session
POST/api/agents/executions/{id}/cancelSession
POST/api/agents/system/{id}/pauseSession
POST/api/agents/system/{id}/replaceSession
POST/api/agents/system/{id}/resumeSession
GET/api/agents/templatesSession
GET/api/agents/templates/{id}Session
POST/api/agents/templates/{id}/cloneSession
POST/api/runtime/bus-eventPublic

Endpoint Details

Agents

GET/api/agents

List or retrieve agents

Auth: Session

POST/api/agents

Create agents

Auth: Session

DELETE/api/agents/{id}

Delete agents

Auth: Session

GET/api/agents/{id}

List or retrieve agents

Auth: Session

PUT/api/agents/{id}

Update agents

Auth: Session

POST/api/agents/{id}/activate

Create activate

Auth: Session

POST/api/agents/{id}/clone

Create clone

Auth: Session

POST/api/agents/{id}/pause

Create pause

Auth: Session

POST/api/agents/{id}/test

Create test

Auth: Session

GET/api/agents/approvals

List or retrieve approvals

Auth: Session

POST/api/agents/approvals/{id}/approve

Create approve

Auth: Session

POST/api/agents/approvals/{id}/deny

Create deny

Auth: Session

GET/api/agents/context

List or retrieve context

Auth: Session

GET/api/agents/context/{clientId}

List or retrieve context

Auth: Session

POST/api/agents/context/{clientId}/refresh

Create refresh

Auth: Session

GET/api/agents/credits

List or retrieve credits

Auth: Session

GET/api/agents/credits/history

List or retrieve history

Auth: Session

GET/api/agents/events

List or retrieve events

Auth: Session

GET/api/agents/events/{id}

List or retrieve events

Auth: Session

POST/api/agents/events/register

Create register

Auth: Session

GET/api/agents/executions

List or retrieve executions

Auth: Session

GET/api/agents/executions/{id}

List or retrieve executions

Auth: Session

POST/api/agents/executions/{id}/cancel

Create cancel

Auth: Session

POST/api/agents/system/{id}/pause

Create pause

Auth: Session

POST/api/agents/system/{id}/replace

Create replace

Auth: Session

POST/api/agents/system/{id}/resume

Create resume

Auth: Session

GET/api/agents/templates

List or retrieve templates

Auth: Session

GET/api/agents/templates/{id}

List or retrieve templates

Auth: Session

POST/api/agents/templates/{id}/clone

Create clone

Auth: Session

Runtime

POST/api/runtime/bus-event

Create bus event

Auth: Public


note

This reference is auto-generated from source code. Run npx tsx scripts/generate-api-docs.ts from the ops-center repo to refresh.