Documentation Index
Fetch the complete documentation index at: https://docs.causeflow.ai/llms.txt
Use this file to discover all available pages before exploring further.
Error responses
When a request fails, the API returns a JSON error object with a machine-readable error code and a human-readable message:HTTP status codes
| Status | Code | Meaning |
|---|---|---|
400 | Bad Request | The request body or query parameters are invalid or missing required fields |
401 | Unauthorized | No valid authentication token was provided |
403 | Forbidden | The authenticated user does not have permission for this operation |
404 | Not Found | The requested resource does not exist |
409 | Conflict | A duplicate resource already exists (e.g. duplicate incident title within the same window) |
429 | Too Many Requests | Rate limit exceeded — see X-RateLimit-Reset for when to retry |
500 | Internal Server Error | An unexpected error occurred on the CauseFlow side |
503 | Service Unavailable | The service is temporarily unavailable — retry with exponential backoff |
Example error responses
Pagination
List endpoints use cursor-based pagination. This approach is stable under concurrent writes — pages do not shift when new records are inserted.Request parameters
| Parameter | Type | Default | Maximum | Description |
|---|---|---|---|---|
limit | integer | 20 | 100 | Number of items to return per page |
cursor | string | — | — | Opaque cursor token from the previous response |
Response structure
| Field | Type | Description |
|---|---|---|
items | array | The page of results |
cursor | string | Pass this value as cursor in the next request to fetch the next page. null when there are no more pages. |
count | integer | Total number of matching records across all pages |
Paginating through all results
Cursor tokens are opaque and time-limited. Do not store cursors for longer than a single pagination session.