Documentation

API reference

The gateway exposes versioned routes under /v1. The machine-readable spec lives at docs/openapi/gateway.yaml and is served here for Scalar. Regenerate it with python scripts/build-gateway-openapi.py. Client SDKs: see docs/openapi/SDK-GENERATION.md (openapi-generator).

Examples

All requests target the gateway /v1 base path. Send Authorization: Bearer … with either a Clerk JWT (dashboard flows) or an API key ac_live_… for engine routes.

cURL — list agents (API key)

curl -sS -H "Authorization: Bearer ac_live_YOUR_KEY" \
  "https://api.agentcompliant.ai/v1/agents?page=1&limit=20"

Node.js (fetch) — list agents

const res = await fetch("https://api.agentcompliant.ai/v1/agents?page=1&limit=20", {
  headers: { Authorization: "Bearer ac_live_YOUR_KEY" },
});
const data = await res.json();
console.log(data);

Python (httpx) — list agents

import httpx

r = httpx.get(
    "https://api.agentcompliant.ai/v1/agents",
    params={"page": 1, "limit": 20},
    headers={"Authorization": "Bearer ac_live_YOUR_KEY"},
)
r.raise_for_status()
print(r.json())

← Back to home

Interactive OpenAPI

Loading API reference…