Authentication
| Key | Format | Used on |
|---|---|---|
| Gateway key | sk-gw- + 48 chars | llm.aiapikit.com as Authorization: Bearer or x-api-key |
| Workspace key | aia_live_ + 40 chars | api.aiapikit.com as Authorization: Bearer |
| MCP token | mcp_ + 40 chars | mcp.aiapikit.com/mcp as Authorization: Bearer |
Send AIK-Version: 2026-06-01 on every request. Unversioned requests are deprecated and stop working on December 1, 2026.
Leaked a key? Rotate it with aik keys rotate <id> or POST /v1/keys/{id}/rotate. We scan public GitHub for sk-gw- keys and revoke matches automatically.