Skip to main content

Response envelope

All API responses share a common envelope structure. Success:
pagination is only present on list endpoints. Error:
details is only present when the error is a validation failure (see below).

HTTP status codes

Validation error shape

When request validation fails (status 400), the details field contains a Zod issue array:
Each item in details follows the Zod issue schema: code, path, message, and additional fields depending on the error code.