Reference

Errors

Errors are JSON, with a status and a code.

Shape

Error body
{"error": {"code": "invalid_request", "message": "…", "details": {…}}}

Codes

StatusCodeMeaning
400invalid_requestNothing was run; details names each bad argument.
401unauthorizedMissing or unknown key.
402out_of_creditThe workspace has no credit left. Add credit in the dashboard, then retry.
404not_foundUnknown /v1 path.
405method_not_allowedWrong method; Allow lists the right one.
413invalid_requestBody larger than 256 KB; nothing was run.
429busy · daily_cap_reachedToo many calls at once, or the daily cap is used up. See Retry-After.
500search_failedThe search failed on the server side.
504out_of_timeThe time limit passed before anything was found.