Session Replays
Preview Replay Summary Rules
Authorization
apiKeyAuth x-api-key<token>
FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
In: header
Path Parameters
idOrSlug*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v0/project/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" } ] }'{ "windowDays": 0, "eligible": 0, "selected": 0}mode*string
Value in
- "off"
- "all"
- "filtered"
sampleRate*number|
dailyLimit*number||null
conditionSets*array<>
people*array<>