Skip to content

Error Response Shape

All endpoints return a JSON envelope with the shape:

{
"data": [],
"pagination": {},
"errors": []
}

On success, errors is an empty array. The response body’s data and pagination fields carry the response payload.

{
"data": [{ "id": "123", "status": 200 }],
"pagination": { "page": 1, "total": 1 },
"errors": []
}

On failure, the HTTP status code reflects the failure class (4xx for client errors, 5xx for server errors), and errors contains one or more error objects describing what went wrong.