Key format
Mint a key
1
Create a project
On the Keys page (or Workflows), create
a project. A default key is minted with it.
2
Copy the key
The plaintext appears once. Store it in your secret manager or environment:
3
Use it
Pass it to the SDK (
orbitrage.init(key)) or as Authorization: Bearer …
on direct HTTP calls.List & revoke
- The Keys page lists active keys with their prefix, last-4, created date, last-used time, and owning project.
- Revoke is a soft delete — the key stops working immediately, and the row is
kept for audit. Any integration using it will start getting
401.
How a key maps to your data
You don’t pass an org or workflow id on requests — the key implies both. To
attribute calls to your end-users, add the
x-orbitrage-end-user-id header
(the SDK’s user_id / userId does this). See
Observability.
Other key types
- MCP keys (
mcp_…) authenticate the MCP server only — a separate namespace from router keys. - BYOK provider keys are your own OpenAI/Anthropic/Google/xAI keys, stored
encrypted so Orbitrage can forward matching calls to the real provider. They are
required for the closed frontier chat models (
claude-*,gpt-*,gemini-*,grok-*) and are billed by your provider, not by Orbitrage. See BYOK.