DocsAPI ReferenceAccount/bff/account/search-history
getAccountAdmin BFF

/bff/account/search-history

Returns the personal search history of the authenticated member — one row per unique query (deduplicated by the unique index on cas__organisation_search_log), ordered by the most recent occurrence first. Includes how many times the member ran the query (frequency) and the latest result count. Category filter is intentionally ignored on the write side, so the history reflects what the user searched for, not where from.

AccountgetBffAccountSearch-history

Parameters

3 query

3 total
Query · 3
pagestring

Page number (1-based) for pagination.

limitstring

Maximum items per page (1–500, default 50).

filterFulltextQuerystring

Optional substring filter on the stored query text.

Request

GET /bff/account/search-history

get
curl -X GET "https://api.bizkithub.com/bff/account/search-history?page=1&limit=50&filterFulltextQuery=example_filterFulltextQuery" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "itemCount": 0,
  "items": [
    {
      "id": 0,
      "query": "example_query",
      "results": 0,
      "frequency": 0,
      "updatedDate": "example_updatedDate"
    }
  ]
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key