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?|null
cohortFrom*string
cohortTo*string
targetPeriod?string|null
source*string
Value in"web""mods"
minSegmentUsers?string|null
timezone?string|null
filterFields?string|array<string>|null
filterOperators?|array<>|null
filterValues?string|array<string>|null

Response Body

Success

application/json
  1. response
[index: integer]?
curl -X GET "https://example.com/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  }]