Common HTTP statuses
| Status | Meaning | Typical cause |
|---|---|---|
400 | Bad request | Malformed dataset URI or bad input |
401 | Unauthorized | Missing, invalid, expired, or inactive key |
402 | Payment required | Insufficient credits or gated feature |
404 | Not found | Missing account, credential, or dataset |
422 | Validation error | Request body or query parameter failed schema validation |
429 | Too many requests | Rate-limit window exhausted |
503 | Service unavailable | Provider unavailable or dependency missing |
Validation errors
FastAPI validation errors use the standarddetail array:
Recoverable dataset states
/v1/tools/export_dataset can return 200 with data.available=false when a valid openrush:// dataset URI has expired. Treat that as a recoverable state. Follow the next_actions entry to regenerate the dataset.