Search

GA
POST

Perform a search against a document index.

Request

This endpoint expects an object.
querystringRequired>=1 character

The query to search for.

index_idstringOptional

The ID of the index to search against. Must provide either this or index_name.

index_namestringOptional>=1 character

The name of the index to search against. Must provide either this or index_id.

optionsobjectOptional

Configuration options for the search.

Response

resultslist of objects

The results of the search. Each result represents a chunk that matches the search query.