← All OpenOps Docs · Raw Markdown

OpenOps API Reference

Authentication

Idempotency & Pagination

Primary Endpoints

ResourceEndpoints
Health & RevisionGET /api/health, GET /api/health/ready, GET /api/revision
Auth & AccountGET /api/v1/auth/providers, POST /api/v1/auth/register, POST /api/v1/auth/login, POST /api/v1/auth/magic-link, GET /api/v1/me, GET /api/v1/auth/sessions, POST /api/v1/account/export, DELETE /api/v1/account
Workspaces & TeamGET/POST /api/v1/orgs, GET/POST /api/v1/workspaces, POST /api/v1/workspaces/:id/switch, POST /api/v1/workspaces/:id/invites, DELETE /api/v1/workspaces/:id/members/:memberId, GET/POST/DELETE /api/v1/workspaces/:id/tokens
ObjectivesGET/POST /api/v1/objectives, POST /api/v1/objectives/compile, PATCH /api/v1/objectives/:id, POST /api/v1/objectives/:id/activate
Connectors & EventsGET /api/v1/connectors/catalog, GET/POST /api/v1/connectors, POST /api/v1/connectors/:id/{test,rotate,revoke}, POST /api/v1/events/ingest, GET /api/v1/graph
Incidents & RecoveryGET /api/v1/incidents, GET /api/v1/incidents/:id, POST /api/v1/incidents/:id/{plan,dry-run,execute,approve,verify,retry,pause,cancel,escalate,reopen}
Procedures & AgentsGET/POST /api/v1/procedures, POST /api/v1/procedures/:id/{dry-run,promote,pin,rollback}, GET /api/v1/marketplace, GET/POST /api/v1/agents/schedules
Insights & BillingGET /api/v1/insights, GET /api/v1/insights/export, GET /api/v1/billing/{plans,summary,invoices}, POST /api/v1/billing/{checkout,portal,cancel}

Webhook Signatures

Inbound generic webhooks and outbound OpenOps callbacks are signed using HMAC-SHA256:


X-OpenOps-Timestamp: 1795700000
X-OpenOps-Signature: v1=<hex(HMAC-SHA256(secret, "<timestamp>.<raw_body>"))>

Verify signatures using constant-time comparison and reject timestamps older than 5 minutes.

Standard Error Format


{
  "error": {
    "code": "policy_denied",
    "message": "This action requires owner approval under active policy v2.",
    "trace_id": "tr_01J...",
    "retryable": false
  }
}