Skip to main content

Endpoints

Documents

List documents

GET /v1/documents

Query parameters

ParameterTypeDescription
limitintegerMax results to return. Default: 20, max: 100
cursorstringPagination cursor from previous response
tagstringFilter 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.