API Documentation
Reports API
Retrieve your auto‑generated intelligence reports and manually authored documents.
Getting Started
Base URL
https://app.caelrith.com/api/v1/reportsAuthentication
Same as other APIs – include your API key in the x-api-key header.
curl -H "x-api-key: YOUR_KEY" \ "https://app.caelrith.com/api/v1/reports"
Rate Limits
The Reports API is available on all plans, but daily call quotas apply based on your workspace tier.
Endpoints
GET
/List Reports
Paginated list of reports. Use ?id=... to fetch a single report directly.
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | No | Page number (default 1). |
| limit | integer | No | Results per page (1–100, default 50). |
| status | string | No | Filter by status: DRAFT, REVIEW, FINAL, ARCHIVED, GENERATING. |
| collectionId | string (UUID) | No | Filter reports belonging to a specific collection/folder. |
| search | string | No | Free‑text search in report title and content. |
| sortBy | string | No | Sort field: createdAt, updatedAt, title (default updatedAt). |
| sortDir | string | No | Sort direction: asc or desc (default desc). |
| id | string (UUID) | No | If provided, returns a single report by its DB ID (ignores pagination params). |
Example Request
curl -H "x-api-key: YOUR_KEY" \ "https://app.caelrith.com/api/v1/reports/?status=GENERATING&limit=5"
Example Response
{
"data": [
{
"id": "cuid-1",
"title": "Intelligence Report (Jul 4, 2026 10:30 PM)",
"status": "FINAL",
"createdAt": "2026-07-04T22:30:00.000Z",
"updatedAt": "2026-07-04T22:35:00.000Z",
"collectionId": null,
"creationMethod": "AI_ONE_OFF"
}
],
"meta": {
"page": 1,
"limit": 50,
"totalItems": 3,
"totalPages": 1,
"hasMore": false
}
}GET
/:reportIdGet Single Report
Returns the full report object, including content, author details, and collection info.
| Parameter | Type | Required | Description |
|---|---|---|---|
| reportId | string (UUID) | Yes | The database ID of the report (from path). |
Example Request
curl -H "x-api-key: YOUR_KEY" \ "https://app.caelrith.com/api/v1/reports/cuid-1"