Search document summaries

Perform a search query on the automatically generated document summaries in the system.

This endpoint allows for complex filtering of search results using PostgreSQL-based queries. Filters can be applied to various fields such as document_id, and internal metadata values.

Allowed operators include eq, neq, gt, gte, lt, lte, like, ilike, in, and nin.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-API-KeystringRequired

Request

This endpoint expects an object.
querystringRequired

The search query to perform.

search_modeenumOptional

Default value of custom allows full control over search settings.

Pre-configured search modes: basic: A simple semantic-based search. advanced: A more powerful hybrid search combining semantic and full-text. custom: Full control via search_settings.

If filters or limit are provided alongside basic or advanced, they will override the default settings for that mode.

Allowed values:
search_settingsobjectOptional

Settings for document search

Response

Successful Response

resultslist of objects

Errors