API reference

REST API collections by category. Authenticate with X-API-Key: cxo-… or a Bearer JWT from POST /v1/auth/token/issue.

https://api.getcortexops.com

Overview Index

Full endpoint index across all categories — 39 endpoints.

  • → Complete API map

Traces All tiers

Ingest runs, list traces, inspect waterfalls, check quota.

  • POST /v1/traces
  • GET /v1/traces
  • GET /v1/traces/{id}
  • GET /v1/traces/quota

Evaluations All tiers

Async eval runs, ingest results, diff regressions.

  • POST /v1/evals
  • POST /v1/evals/ingest
  • GET /v1/evals/diff

Golden datasets Pro

Create datasets, promote traces to golden cases.

  • POST /v1/eval/datasets
  • POST …/cases/from-trace

API keys All tiers

Bootstrap, create, rotate, revoke project keys.

  • POST /v1/keys/bootstrap
  • POST /v1/keys/{id}/rotate

Auth & JWT All tiers

Exchange API keys for dashboard Bearer tokens.

  • POST /v1/auth/token/issue
  • GET /v1/auth/token/verify

Prompts Pro

Version prompts, diff changes, browse catalog.

  • POST /v1/prompts
  • GET /v1/prompts/diff

Billing All tiers

Stripe & PayPal checkout, customer portal.

  • POST /v1/billing/checkout
  • POST /v1/billing/paypal/checkout

Admin Internal

Cross-project key management (X-Internal-Key).

  • GET /v1/admin/projects
  • POST /v1/admin/keys/{id}/upgrade