Skip to content
GPT-6.1 Sol & Luna, Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, and Gemini 4 Argon are now available

Start

Authentication

Authenticate with a Bearer token (API key).

Every request must include your API key in the Authorization header.

request
Authorization: Bearer $SOBAT_API_KEY
  • Create and manage keys on the API Keys page.
  • Each key can have its own name and budget limit.
  • If a key leaks, delete it and create a new one — the old key is revoked immediately.

Never expose your key

Do not put API keys in frontend code, public repositories, or mobile apps that can be decompiled. Call the API from your server.

Common errors

StatusMeaning
401Invalid or missing API key
402Insufficient balance — top up first
404Model or endpoint not found
429Rate limit exceeded
5xxGateway or upstream provider failure