Skip to main content
Version: 2.0

List the history of previous queries

GET 

/v2/queries

The List Query Histories API allows you to retrieve, update, and manage query history for a specific corpus. This API is particularly useful for tracking query performance, debugging individual queries, and retrieving detailed information such as the call stack of a query execution.

You can specify the corpus_key, chat_id, and the limit which is the maximum number of historical queries to list.

Request

Responses

The response includes an array of previous query histories.