analytics

App-access retention cohorts (weekly)

Weekly registration-cohort retention: for each registration week, the share of patients active (app accesses) in each subsequent week. Coordinator role sees only patients under their supervisors.

get/api/analytics/retention

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/analytics/retention
  • Auth: HTTP bearer

Query parameters

granularitystring

Cohort granularity: week or month.

from_datestring date nullable

Registration cohort start (YYYY-MM-DD). Defaults to 180 days ago.

to_datestring date nullable

Registration cohort end (YYYY-MM-DD). Defaults to today.

target_statusesstring nullable

Comma-separated status keys (e.g. attivo,mai pagato). Empty for all.

Response

Successful Response

granularitystring required

Cohort granularity: week or month

tracking_startstring date nullable

Earliest day with tracked access data. Cells whose period is before this have no data (render as n/d, not 0%).

Changes

No recorded changes to this operation across all 55 revisions of this API.