list_documents
Browse documents with pagination and filtering
Browse all documents in your knowledge base with pagination and filtering options.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | number | No | 20 | Results per page (1-100) |
offset | number | No | 0 | Skip this many results |
sourceType | enum | No | - | Filter by: note, file, url |
tags | string[] | No | - | Filter by tags (AND logic) |
orderBy | enum | No | updatedAt | Sort by: createdAt, updatedAt, title |
order | enum | No | desc | Sort order: asc, desc |
Example Request
Response
Pagination
Use limit and offset for pagination:
Filtering Examples
By Source Type
Returns only uploaded files.
By Multiple Tags
Returns documents with BOTH tags.