POST
/
search
/
text

The Search by Text endpoint allows you to search for content using a text query. This is useful for finding relevant information across your indexed content.

Request

input
string
required

The text query to search for

modality
string
required

The modality to search in (e.g., “text”, “video”, “image”)

input_type
string
required

The type of input (e.g., “text”)

filters
object

Additional filters to apply to the search

group_by_file
boolean

Whether to group results by file

page
integer

The page number for pagination

page_size
integer

The number of results per page

Response

results
array

An array of search results

pagination
object

Pagination information

The search results include detailed information about each matching item, including metadata, scores, and file information. The pagination object provides information for navigating through multiple pages of results.