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
- 200
- 400
- 403
The response includes an array of previous query histories.
Query history list request was malformed.
Permissions do not allow listing query histories.