Skip to main content
All API errors return a consistent JSON envelope.

Error shape

Error codes

HTTP status mapping

Validation errors

When request validation fails, the errors array contains Zod-style field details:

Response headers on errors

Error responses still include ST-Api-Version when the API version is known from the token or auth flow.