Documentation / API · Errors

Errors, limits, and what to do next.

Errors are a JSON object with a human-readable sentence. The status code tells your relay whether to retry, fix the request, or fall back.

Last updated

Error shape

ErrorEvery 4xx/5xx
{
  "error": "Authenticate with Authorization: Bearer sk_. (server secret key)."
}

Status codes

A 4xx or 429 is not a billable score. A 5xx is a failed call, not a billable score either.
StatusMeaningWhat to do
400The request is malformed or a field is out of bounds.Fix the payload; do not retry unchanged.
401Missing or bad credential.Check the key and the environment; do not loop.
403Origin not allowed, or the account/workspace is not permitted.Check allowed origins and workspace access.
404Unknown route or method.Check the path.
409Conflict, such as a charge in x402 mode with no wallet.Configure the wallet or switch mode.
413The body is too large.Send the bounded evidence, not the whole page.
429Rate limit or plan quota.Back off; 429 is not billable. A retry is another call.
5xxThe service failed.Retry with a cap, or use your fallback.

Rate limits

Rate limits apply per key and per route. Specific thresholds are not published; a 429 is the signal that you are at one. A relay should back off, not retry immediately.

Quota versus rate limit

  • Rate limit: too many requests in a window. Back off and retry later.
  • Plan quota: the monthly allowance is exhausted. Free pauses new scores; Pro and Business keep scoring but turn enforcement off and flag the workspace.
  • Developer tests: never billable and never count toward the plan.

Fallbacks

Decide per route before you enforce: fail open on a low-risk read, step up or fail closed on a spend. The operations guide has a timeout and fallback matrix.

Related

Free to start. 10,000 scores a month, one project, no credit card.

Get started free