Retention
Get Retention Drivers For Project
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringgranularity?stringValue in
"day""week""month"cohortType?stringValue in
"first""recurring"returnType?stringValue in
"exact""on_or_after"cohortFrom*stringcohortTo*stringtargetPeriod?stringsource*stringValue in
"web""mods"minSegmentUsers?stringstartEvent?stringLength
1 <= length <= 200returnEvent?stringLength
1 <= length <= 200timezone?stringfilterFields?string|array<string>filterOperators?|array<>filterValues?string|array<string>segment?string|array<string>excludeSegment?string|array<string>Success
application/json- response
[index: integer]?curl -X GET 'https://api.faststats.dev/v0/projects/string/retention/drivers?cohortFrom=string&cohortTo=string&source=web'Example Response
[ { "source": "web", "field": "string", "value": "string", "cohortUsers": 0, "retainedUsers": 0, "retentionRate": 0, "baselineRate": 0, "deltaPoints": 0, "impactScore": 0 }]GET
curl -X GET 'https://api.faststats.dev/v0/projects/string/retention/drivers?cohortFrom=string&cohortTo=string&source=web'[
{
"source": "web",
"field": "string",
"value": "string",
"cohortUsers": 0,
"retainedUsers": 0,
"retentionRate": 0,
"baselineRate": 0,
"deltaPoints": 0,
"impactScore": 0
}
]