Search History
GET/api/v1/workspaces/:workspace_name/search_history
Returns the search history for a workspace. The history includes information such as the query, the answer, the pipeline used, and more.
You can filter the results using OData syntax via the filter query parameter. Supported fields include:
created_at: Filter by timestamp (e.g.,filter=created_at ge 2025-11-21T00:00:00Z)query: Filter by search query textanswer: Filter by answer textapi_key: Filter by API keycreated_by: Filter by user IDsession_idorsearch_session_id: Filter by session IDtags/tag_id: Filter by feedback tag IDfeedbacks/score: Filter by feedback scorefeedbacks/comment: Filter by feedback commentfeedbacks/bookmarked: Filter by bookmark status (e.g.,filter=feedbacks/bookmarked eq true)
Example date range filter: ?filter=created_at ge 2025-11-01T00:00:00Z and created_at le 2025-11-30T23:59:59Z
Example bookmark filter: ?filter=feedbacks/bookmarked eq true
Request
Responses
- 200
- 422
Successful Response
Validation Error
Was this page helpful?