Skip to main content

Error responses

Application errors use this envelope:
The example message is illustrative. Branch on the status and machine-readable code, not exact wording. An upstream gateway may return a different response format. The deployment-specific GET /api/v1/dashboard/alignment and GET /api/v1/dashboard/operations reads can return 504 with code dashboard_read_timeout when their service read exceeds its 12-second budget. The server cancels that read and returns no partial result. The budget covers the read only: authentication and other request dependencies are outside it, and timed-out session cleanup can take up to three additional seconds. It is not a strict end-to-end HTTP deadline. If bounded cleanup cannot close the session, the request instead returns 503 with code dependency_unavailable. These limits apply only to those two reads; they do not describe GET /api/v1/dashboard/workspace-home or other endpoints. The alignment and operations reads are not part of the curated OpenAPI snapshot, so check the authenticated live schema for their availability in your deployment.

Retry deliberately

For a dashboard-read 504 or transient 503, retry the read only after a short backoff, with a bounded retry count; repeated immediate requests can add load without making the underlying read faster. Do not blindly repeat a mutation after a timeout: the original request may have succeeded. Confirm the resulting state before retrying an operation that changes data.