Statistics

Get raw statistics data. Filterable fields: actionType (e.g. HOME_MENU_CLICK), resourceType (e.g. WIDGET), actionUser, associatedEntity, description, first, rowId, and the data.* fields (data.type, data.tags, data.processingUser, data.ticketId, …). Suffix a filter with _gte, _lte, _gt, _lt, _ne, _in or _nin for range/set operators. Rows are sorted by actionType, then createdAt, then rowId. One page holds at most 10000 rows (limit, default and max 10000). When more rows match, the response carries an X-Next-Cursor header: pass it back as cursor with the same filters for the next page, until a response has no such header. skip is not supported (400). Limited to 30 requests a minute per project. A filter on a field this table doesn't have is rejected with a 400 naming the field and listing the supported ones. Row timestamps are UTC; timezone does not apply here (it only affects bucketed endpoints).

get/statistics/raw-data

Request

  • Base URL
    https://api.gleap.io/v3
  • URL
    https://api.gleap.io/v3/statistics/raw-data
  • Auth
    HTTP bearer

Query parameters

timezonestring
  • Ignored on this endpoint; raw rows carry UTC timestamps
groupInterval'hour' | 'day' | 'month' | 'year'
skipnumber double
limitnumber double
groupedBystring
aggsTypestring
startDatestring
  • Start date for filtering (ISO format)
endDatestring
  • End date for filtering (ISO format)
createdAtstring
updatedAtstring
typestring
  • Not a filter on this endpoint (stats_events has no type column) — passing it returns 400. The per-message kind lives in data.type (e.g. SHARED_COMMENT, USER_TEXT, BOT_REPLY).
cursorstring
  • The X-Next-Cursor header of the previous page, unchanged

Response

Ok

unknown required

Changes