Errors
The Playbooks API uses standard HTTP response codes to indicate the status of an API request.
When an error occurs, the Playbooks API returns a plain { error } envelope for client-side handling.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Status | integer | The HTTP response code |
| Title | string | A title for the error |
| Description | string | A message describing the error |
| Source | string | Optional client-facing location |
| Debug | string | Optional diagnostic metadata |
Request
Request
curl --location "https://api.playbooks.ai/error"Response
Response
{
"error": {
"status": 404,
"title": "Not Found",
"description": "Sorry that route doesn't exist.",
"debug": "err_123456"
}
}