Common HTTP statuses
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.
Owned data connection states
get_search_performance can return a recoverable envelope instead of data when the Search Console connection is not ready. These are not failures to retry blindly; each carries a next_action telling you how to recover. No credits are charged in these states.