Skip to main content
Version: 2.0

Get a query history

GET 

/v2/queries/:query_id

Returns the detailed history of a specific query made against a corpus. The response includes the query latency, the execution time, and the stages of the query pipeline.

Set the query_id path parameter. The response includes the id of the query, the query object, the chat_id, timing information, and the spans object.

Request

Responses

The query history. The spans object describes the ordered stages of the query pipeline and what happens during each stage.