Returns cohort analysis data for the authenticated project.
Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.
Start of the time range (Unix timestamp, seconds).
End of the time range (Unix timestamp, seconds).
Time grouping unit (e.g. day, week, month).
Filter by environment ID.
Metric to compute.
Period granularity (e.g. day, week, month).
Currency code for monetary metrics.
Arbitrary filter parameters. Repeatable.
Cohort data from Dash.
Raw cohort payload (shape determined by Dash).