Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
A query against a DocSet. Contains either a natural language string or a query plan.
The docset against which to run the query
The natural language query to run. if specified, plan
must not be set.
The logical query plan to run. If specified, query
must not be set.
A logical query plan used to evaluate a query.
If true, query results will be streamed back to the client as they are generated. Applies only when calling the query api.
If true, an english summary of the result in context of the original query will be returned.
Applies only when calling the query API and only available when stream=True
If true, the query will only run a RAG query plan.
Response
Successful Response
A logical query plan used to evaluate a query.
The query that the plan is for.
A mapping of node IDs to nodes in the query plan.
The ID of the node that is the result of the query.
The LLM prompt that was used to generate this query plan.
The result generated by the LLM.