Condensed from
docs/api-reference.mdin chitin-api. See Chitin API for the overview.
https://api.usechitin.com/v1 — bearer sk-chitin-… key/api/v1/… — bearer session_tokenGET /healthz, GET /readyz, GET /metrics (no auth)POST /api/v1/signup — {name, email} → {tenant_id, api_key, session_token}. Creates the first workspace.
Proposed public login (magic link): POST /api/v1/auth/magic-link/request → POST /api/v1/auth/magic-link/verify.
GET /v1/models — list available/routed modelsPOST /v1/chat/completions — standard OpenAI chat completions shape; honored request headers: X-Gateway-Session-Id, X-Gateway-Tag, X-Gateway-No-Cache, X-Gateway-No-Route, X-Gateway-Compact. Response carries X-Gateway-* transparency headers (tokens saved, cache hit/miss/dedup, model actually used, compression applied, cost).| Endpoint | Purpose |
|---|---|
GET /api/v1/tenant/provider-keys |
List stored provider credentials (metadata only) |
POST /api/v1/tenant/provider-keys |
Store {provider, key} |
DELETE /api/v1/tenant/provider-keys/{provider} |
Remove a provider credential |
GET /api/v1/tenant/api-keys |
List Chitin API keys |
POST /api/v1/tenant/api-keys |
Create a new sk-chitin-… key |
See also docs/billing.md (Stripe Meters integration) in the repo for the billing model.