Search

GA
POST

Perform a search against a document index.

Request

This endpoint expects an object.
querystringRequired

The query to search for.

index_idstringOptional

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

index_namestringOptional

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

optionsobjectOptional

Configuration options for the search.

Response

This endpoint returns an object.
resultslist of objects

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