Retentions
List Retentions
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*stringSuccess
application/json- response
[index: integer]?curl -X GET 'https://api.faststats.dev/v0/projects/string/retentions'Example Response
[
{
"id": "string",
"projectId": "string",
"name": "string",
"description": "string",
"definition": {
"granularity": "day",
"cohortType": "first",
"returnType": "exact",
"startEvent": "string",
"returnEvent": "string",
"filters": [
{
"field": "string",
"operator": "is",
"value": "string"
}
]
},
"display": {
"view": "curve"
},
"dashboardId": "string",
"position": {
"x": 0,
"y": 0,
"w": 0,
"h": 0
},
"createdAt": "string",
"updatedAt": "string"
}
]