Get recent searches
Search
Get recent searches
Returns the authenticated user’s recent search queries, ordered by most recent first.
GET
Get recent searches
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
Recent searches are automatically recorded when using the global search endpoint. Each user’s history is scoped to their tenant workspace and capped at 10 items. Duplicate queries update recency rather than creating new entries. History expires after 30 days of inactivity. Authorization:- Required role:
useror higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Query Parameters
Maximum number of recent searches to return (default 10, max 10)
Required range:
1 <= x <= 10