admin

Stats Module Usage

Return Umami-sourced module usage stats (search / read / chat / source_click).

This endpoint reads the self-hosted Umami analytics database. It is fully resilient: if Umami is down or unreachable, it returns an empty result (events=[], top_search_keywords=[]) rather than propagating a 500 error.

get/api/admin/stats/module-usage

Request

  • Base URL: https://fojin.app (the document declares no server; this is the origin it was published from)
  • URL: https://fojin.app/api/admin/stats/module-usage
  • Auth: HTTP bearer

Query parameters

daysinteger

Response

Successful Response

daysinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.