Reference
Errors
Errors are JSON, with a status and a code.
Shape
{"error": {"code": "invalid_request", "message": "…", "details": {…}}}
Codes
| Status | Code | Meaning |
|---|---|---|
400 | invalid_request | Nothing was run; details names each bad argument. |
401 | unauthorized | Missing or unknown key. |
402 | out_of_credit | The workspace has no credit left. Add credit in the dashboard, then retry. |
404 | not_found | Unknown /v1 path. |
405 | method_not_allowed | Wrong method; Allow lists the right one. |
413 | invalid_request | Body larger than 256 KB; nothing was run. |
429 | busy · daily_cap_reached | Too many calls at once, or the daily cap is used up. See Retry-After. |
500 | search_failed | The search failed on the server side. |
504 | out_of_time | The time limit passed before anything was found. |