Skip to main content

Search Documents

search_documents()

Search your documents by title prefix and/or tag. Results are scoped to the authenticated user.
Parameters:
At least one of query or tag is required.
Returns: list[SearchResult] Raises: ValidationError if neither query nor tag is provided.

SearchResult

Each result contains document metadata (no blocks — use get_document() to fetch full content).

Pagination

Use limit and offset for paginating through results:

Examples

Find all documents tagged by source

Search within a project folder