Documentation

First call in five minutes

The gateway speaks the OpenAI and Anthropic wire formats: keep your SDK, change the base URL and the key. What you gain on the way through: per-key attribution, PHI redaction at the boundary, fail-closed quotas, and a signed audit record for every call.

base api.edge.scrutari.ai/v1OpenAI + Anthropic compatiblestreaming supported
01

Workspace & keys

Sign up at app.edge.scrutari.ai and pick Growth: the AI gateway is a Growth capability, and the first 30 days are free with no card (free Starter covers the PQ-TLS edge, not AI routing). In the dashboard, add a provider credential (your own key for OpenAI, Anthropic, Google, AWS Bedrock, or Azure; we never resell tokens) and mint an API key with the inference:invoke scope.

Keys are scoped on purpose: an inference key cannot touch management endpoints. Mint one key per agent or service and you get per-agent spend and audit attribution for free.

02

Call the API

curl · openai wire format
curl https://api.edge.scrutari.ai/v1/chat/completions \
  -H "Authorization: Bearer $SCRUTARI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "messages": [{"role": "user", "content": "Say hello."}]
  }'

The model name selects an entry from your workspace catalog; the entry decides which upstream provider serves it. Anthropic-native clients keep their SDK and use the messages endpoint unchanged.

03

Endpoints

POST/v1/chat/completionsOpenAI-compatible chat
POST/v1/messagesAnthropic-compatible messages
GET/v1/modelsYour workspace catalog
PUT/v1/provider-credentialsBYOK credential store
POST/v1/mcp/{server_id}Governed MCP proxy · early access
04

Quotas & the 429

Every workspace has a monthly token quota, and it fails closed. No silent degradation.

429 monthly_quota_exceeded with a Retry-After header. Usage reconciles about every five minutes. Retry with backoff; alert on the error code: it is your budget signal.

05

Evidence & verify

Every call writes an Ed25519-signed audit record; anchors make history tamper-evident. Evidence-pack export ships with Enterprise (Settings → Compliance export in the dashboard); once a pack is exported, anyone can verify it on any machine, air-gapped included, with the open-source verifier:

offline verification · try it with the sample pack
cargo install scrutari-verify
curl -LO https://scrutari.ai/demo-evidence-pack.jsonl
scrutari-verify --pack demo-evidence-pack.jsonl

The sample pack is fully synthetic (fictional tenant, throwaway keys, no real data) and passes every check. Flip one byte in it and run again to watch verification break.

It proves the pack is complete, untampered, included under the signed anchors, and signed by the declared keys, without talking to us.

06

Early access

Two surfaces are live in early access, and our own outreach fleet runs on both: governed agent memory (redaction before storage, per-entry provenance, access control at read time, an identical-write loop guard) and the governed MCP proxy with per-server allow-lists and a signed record per tool call. Ask for access from the dashboard, or read more on the MCP gateway page.

Questions this page does not answer: partnerships@scrutari.ai. We answer fast.

Start Growth free for 30 days