Skip to main content
BabySea returns structured BSE errors from application routes. Each error includes a stable code, a machine-readable type, a human-readable message, and a retryable boolean.

Error envelope

JSON
When multiple providers fail during failover, the error can include provider_errors with provider-level details.

Retry guidance

Use the retryable field, not only the HTTP status code. Some inference provider failures use 5xx but are not retryable.

Authentication and authorization

Input validation

Model and configuration

Inference provider errors

Internal errors

Rate-limit headers

Rate-limited routes include these headers:

Malformed requests

Malformed requests can be rejected before BabySea returns a structured BSE envelope. Validate the method, path, body shape, and headers before retrying.