analytics

Patients of a retention cell

Paginated patients of a single retention cell: the cohort registered at cohort_start that was active at the given period_offset. Coordinator role sees only patients under their supervisors.

get/api/analytics/retention/cohort-patients

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/cohort-patients
  • Auth: HTTP bearer

Query parameters

cohort_startstring date required

Cohort registration period start (YYYY-MM-DD): week Monday or month first day.

period_offsetinteger required

Periods after registration (the matrix column).

granularitystring

Cohort granularity: week or month (must match the matrix).

target_statusesstring nullable

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

per_pageinteger

Page size.

pageinteger

Page number (1-based).

Response

Successful Response

granularitystring required

Cohort granularity: week or month

cohort_startstring date required

Registration period from_date of the cohort

period_offsetinteger required

Periods after registration (the cell column)

period_startstring date required

Start of the period at that offset (cohort_start + period_offset)

totalinteger required

Patients in the cell (matches the matrix cell count)

per_pageinteger required
pageinteger required

Changes

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