Error response shape
Non-2xx responses return JSON:erroris stable — code your branching logic against this.messageis for humans; we may rephrase it without notice.requestIdis what you mention to support when something is broken.
Status codes
Common error codes
Rate limiting
When rate-limited:Retry-After seconds before the next request.