> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orbb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> API keys, the console session, and what a refused token is answered.

Every call carries `Authorization: Bearer <token>`. The token is an API key, `orbb_sk_…`, created in the console, or the console’s own session token. Every key of an account and its console session act as the account: they share its balance, its jobs and its rate limits.

A missing header, a header that is not `Bearer <token>`, or a key that is unknown, revoked or expired is answered `401 invalid_api_key`, with the same `detail` whatever the reason. A token in the form of a session token (three parts separated by dots) that is refused is answered `401 invalid_session`.

The body is parsed before the token is checked: a body that is not valid JSON is answered `400 invalid_body` even without a token.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.