Skip to main content

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 text
  • answer: Filter by answer text
  • api_key: Filter by API key
  • created_by: Filter by user ID
  • session_id or search_session_id: Filter by session ID
  • tags/tag_id: Filter by feedback tag ID
  • feedbacks/score: Filter by feedback score
  • feedbacks/comment: Filter by feedback comment
  • feedbacks/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

Successful Response