Skip to main content
GET
Get Search History
Required permission: Search — Read (read:search), which basic includes, so any signed-in user has it. A limited Personal Access Token needs the Search — Read scope.
Returns only the calling user’s own queries, most recent first, and only those sent through Handle Send Search Message — chat messages and POST /search calls are not recorded here. A limit outside 1–1000, or a filter_days of zero or less, is rejected with 400.

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Query Parameters

limit
integer
default:100

Maximum number of queries to return, from 1 to 1000.

filter_days
integer | null

Only return queries from the last N days. Omit for no time limit.

Response

Successful Response

search_queries
SearchQueryResponse · object[]
required