| invalid_request | 400 | A parameter is missing, malformed or unknown; error.details lists the issues. |
| unauthorized | 401 | Key management only: no signed-in session. |
| invalid_api_key | 401 | The key is not one MESSAI issued. |
| api_key_revoked | 401 | The key was revoked on its owner’s profile page. |
| api_key_expired | 401 | The key is past the expiry chosen when it was created. |
| not_found | 404 | No visible paper with this id (on key management: no key of yours). |
| key_limit_reached | 409 | Key management only: the account already has the most active keys allowed; revoke one first. |
| rate_limited | 429 | The budget is spent; retry after Retry-After seconds. |
| internal_error | 500 | Something failed on our side; retry shortly. |
| api_keys_unavailable | 503 | API keys are not enabled on this deployment yet; call without a key. |
| rate_limiter_unavailable | 503 | Usage metering is briefly unavailable; retry shortly. |
| upstream_unavailable | 503 | The key could not be checked; retry shortly. |