Skip to Content
Session Replays

Get Replay Summary Rules

GET
/v0/projects/{idOrSlug}/replays/summary-rules

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

Response Body

ReplaySummaryRulesResponse

application/json
  1. response
mode*string
Value in"off""all""filtered"
sampleRate*number|
dailyLimit*number||null
conditionSets*array<>
people*array<>
automaticToday*number|
costPerSummary*|null
updatedAt*string|null
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/replays/summary-rules'
Example Response
{
  "mode": "off",
  "sampleRate": 0,
  "dailyLimit": 0,
  "conditionSets": [
    {
      "conditions": [
        {
          "field": "country",
          "operator": "is",
          "values": [
            "string"
          ],
          "traitKey": "string"
        }
      ]
    }
  ],
  "people": [
    {
      "personId": "string",
      "effect": "include",
      "externalId": "string",
      "email": "string",
      "name": "string",
      "avatarUrl": "string"
    }
  ],
  "automaticToday": 0,
  "costPerSummary": {
    "avgUsd": 0,
    "basedOn": 0,
    "scope": "project"
  },
  "updatedAt": "string"
}