PathFinder

Errors & Rate Limits

Error response format, all error codes, and rate limit details.

Error format

All errors follow the same JSON shape:

{
  "error": {
    "message": "Human-readable description",
    "type": "error_category",
    "code": "machine_readable_code",
    "param": null
  }
}

Error codes

StatuscodeMeaning
400invalid_jsonRequest body is not valid JSON
400missing_messagesThe messages field is missing or empty
401missing_api_keyNo API key in Authorization header
401invalid_api_keyAPI key not found or revoked
402insufficient_balanceAccount balance below $0.01
402key_spend_limit_reachedKey's all-time spend reached its cap
403filter_not_allowedFilter not available on your plan
403task_type_not_allowedTask type blocked by key config
403model_not_allowedRouted model not in key's allowlist
403model_deniedRouted model is in key's blocklist
422no_model_availableNo model satisfies filters + task type
429rate_limit_exceededBurst rate limit hit
502provider_errorUpstream provider failed after retries

Rate limits

Rate limits are per-user (not per-key) using a sliding window.

PlanRequests / second
Starter10
Builder60
Scale300

When rate-limited, the response includes a Retry-After header (in seconds). Wait that long before retrying.