Data Apps

Fetch session aggregates for a specific data app

Returns aggregate statistics derived purely from the database (total session count, unique users, average duration, sessions today). No user-org service calls are made, so this response is safe to cache on the client or a CDN.

get/v1/dataapps/apps/{id}/sessions/summary

Request

  • Base URL
    https://api.tetrascience.com
  • URL
    https://api.tetrascience.com/v1/dataapps/apps/{id}/sessions/summary
  • Auth
    API key in header ts-auth-token and API key in header x-org-slug

Path parameters

idstring uuid required

Data app ID

Response

OK

countinteger required

Total number of sessions for this data app

uniqueUsersinteger required

Number of unique users who have started a session for this data app

avgDurationMsnumber double nullable required

Average session duration in milliseconds. Null if no completed sessions exist

sessionsTodayinteger required

Number of sessions started today for this data app

Changes

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