Retention

Get Retention Drivers For Project

GET
/v0/projects/{idOrSlug}/retention/drivers

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Query Parameters

granularity?string
Value in"day""week""month"
cohortType?string
Value in"first""recurring"
returnType?string
Value in"exact""on_or_after"
cohortFrom*string
cohortTo*string
targetPeriod?string
source*string
Value in"web""mods"
minSegmentUsers?string
startEvent?string
Length1 <= length <= 200
returnEvent?string
Length1 <= length <= 200
timezone?string
filterFields?string|array<string>
filterOperators?|array<>
filterValues?string|array<string>
segment?string|array<string>
excludeSegment?string|array<string>

Response Body

Success

application/json
  1. response
[index: integer]?
Example Request
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  }]