Search
Run a search query.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the docset to query.
Query Parameters
The number of results to return per page.
Reserved for future use. A pagination token to retrieve the next page of results.
Body
The query to search for
The type of query to perform.
keyword
, lexical
, vector
, hybrid
A filter to apply to the properties of the documents.
The type of result to return.
doc
, element
When specified, the server performs a projection to return only the fields specified by this list of JsonPaths (see RFC 9535) given as a list of strings.
When True
, the server returns additional debug information (the embedding calculated for a vector or hybrid query) in the response.
When False
, and return_type is "element", the server does not return the embeddings of elements in the response.
Response
The list of results returned by the query. These are Json objects representing the documents or elements that matched the query, possibly filtered by the optional projection specified by include_fields.
The embedding calculated for the query, if the query type is vector or hybrid and debug_info
is True.
Reserved for future use. Will be a pagination token that can be used to retrieve the next page of results.
Was this page helpful?