Onboarding
Zero to first completion.
Create an account, provision an API key, add your LLM provider keys, and send your first intelligent completion — in under 5 minutes.
Step 01
Check the ToS.
Returns version, summary, and URL to full terms.
GET https://api.brainstormrouter.com/v1/tos
Step 02
Initiate signup.
Returns a verification code (10-minute expiry). Rate limit: 5 requests per IP per hour.
POST https://api.brainstormrouter.com/v1/signup Content-Type: application/json { "email": "you@example.com", "tenant_name": "My AI Lab" }
Step 03
Verify email & receive key.
Atomically creates tenant, user account, and API key. Save the api_key.key value immediately — shown only once.
POST https://api.brainstormrouter.com/v1/signup/verify Content-Type: application/json { "email": "you@example.com", "code": "123456" }
Step 04
Register provider keys (BYOK).
Test first, then store. Keys encrypt at rest with AES-256-GCM.
# test POST /v1/providers/test Authorization: Bearer brk_live_... { "provider": "anthropic", "api_key": "sk-ant-api03-..." } # store POST /v1/providers Authorization: Bearer brk_live_... { "provider": "anthropic", "api_key": "sk-ant-api03-..." }
Step 05
Send your first completion.
Thompson sampling picks the model; Guardian headers ship back the receipt.
POST https://api.brainstormrouter.com/v1/chat/completions Authorization: Bearer brk_live_... { "model": "auto", "messages": [ { "role": "user", "content": "Say hello in one sentence." } ] }