search_documents
Search documents by full-text query, with optional OCR content retrieval and similarity search using a document ID.
Instructions
Full-text search documents.
By default per-hit OCR content is stripped; pass
include_content=True to get full OCR text per hit.
Use more_like for similarity search.
notes[].note and custom_fields[].value are always stripped
from search hits regardless of include_content — fetch them via
get_document or get_document_notes when needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| query | Yes | ||
| more_like | No | ||
| page_size | No | ||
| include_content | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | ||
| count | Yes | ||
| results | No | ||
| previous | No |