Session Replays
Preview Replay Summary Rules
POST
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*stringapplication/json- body
mode*stringValue in
"off""all""filtered"sampleRate*number|dailyLimit*number||nullconditionSets*array<>people*array<>ReplaySummaryPreview
application/json- response
windowDays*number|eligible*number|selected*number|curl -X POST 'https://api.faststats.dev/v0/projects/string/replays/summary-rules/preview' \
-H 'Content-Type: application/json' \
-d '{
"mode": "off",
"sampleRate": 0,
"dailyLimit": 0,
"conditionSets": [
{
"conditions": [
{
"field": "country",
"operator": "is",
"values": [
"string"
],
"traitKey": "string"
}
]
}
],
"people": [
{
"personId": "string",
"effect": "include"
}
]
}'Example Response
{
"windowDays": 0,
"eligible": 0,
"selected": 0
}