Documentation

Errors

Common HTTP statuses and error codes returned by the orchestrator.

HTTPCodeMeaning
400invalid_bodyMalformed JSON or missing fields
401missing_bearer / bad_signatureAuth required or invalid
402insufficient_prepaid_creditsMetered run with no balance
404agent_not_found / no_workspaceUnknown agent or wallet
429rate_limitedToo many runs — backoff and retry
502inference_unavailableUpstream model error
500run_failed / onboarding_failedUnexpected server error

Client handling

On 401 with a stored JWT, refresh by signing in again. The console clears invalid sessions to guest mode without forcing onboarding. On 402, route users to Usage to fund credits or switch to Quick ask.