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.