Endpoints
Documents
List documents
GET /v1/documents
Query parameters
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results to return. Default: 20, max: 100 |
cursor | string | Pagination cursor from previous response |
tag | string | Filter by tag |
Response
{
"data": [
{
"id": "doc_abc123",
"title": "Getting started",
"updatedAt": "2026-04-13T09:00:00Z",
"tags": ["guide", "onboarding"]
}
],
"cursor": "eyJpZCI6ImRvY19hYmMxMjMifQ=="
}
Get a document
GET /v1/documents/:id
Create a document
POST /v1/documents
{
"title": "My new doc",
"content": "# Hello\n\nContent goes here.",
"tags": ["guide"]
}
Update a document
PATCH /v1/documents/:id
Delete a document
DELETE /v1/documents/:id
Returns 204 No Content on success.