Get search queries
Returns paginated documentation search terms for the date range, ordered by hit count descending. Each row includes click-through rate, the most-clicked result path for that query (if any), and the last time the term was searched. totalSearches is the total number of search query events in the same date range (sum of all hits, not distinct queries).
Documentation Index
Fetch the complete documentation index at: https://mintlify-mintlify-workflow-6a10edc8-1-navigation-searchable.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Use this endpoint to export documentation search analytics. Results are ordered by hit count descending, showing which terms your users search for most. Paginate through results using thenextCursor parameter returned in the response. Continue fetching while nextCursor is not null.
Filtering
Filter search data by date range usingdateFrom and dateTo parameters.Authorizations
The Authorization header expects a Bearer token. Use an admin API key (prefixed with mint_). This is a server-side secret key. Generate one on the API keys page in your dashboard.
Path Parameters
Query Parameters
Date in ISO 8601 or YYYY-MM-DD format
"2024-01-01"
Date in ISO 8601 or YYYY-MM-DD format. dateTo is an exclusive upper limit. Results include dates before, but not on, the specified date.
"2024-01-01"
Max search terms per page (ordered by hit count descending)
1 <= x <= 100Opaque pagination cursor from the previous response
Response
Search term aggregates with pagination
Search terms ordered by hit count descending.
Total count of search events in the requested date range (sum of all hits, not distinct queries).
x >= 0Opaque pagination cursor for the next page. Null if no more results.