Search documents and content
Documents
Search documents and content
Performs a full-text search across document and explore indices, returning a unified, paginated list of results.
How pagination works:
- Results from the document index are returned first
- Once exhausted, results from the explore index follow
- Use
offsetandlimitto page through the combined set
Date filters are supported via date_gte and date_lte.
POST
Search documents and content
Authorizations
Authenticate using one of two formats:
- Organization/user token:
Token <your-token> - Stytch JWT:
Bearer <your-jwt>
Body
The search term or question.
Maximum results per page (default 10, max 50).
Number of results to skip for pagination.
Inclusive ISO date/datetime lower bound for result dates (e.g. 2025-01-01).
Inclusive ISO date/datetime upper bound for result dates (e.g. 2025-12-31).