Feature Flags

Get Feature Flag Exposure

GET
/v0/projects/{idOrSlug}/feature-flags/{flagId}/exposure

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
flagId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$
Formatuuid

Query Parameters

fromTime?||null
toTime?||null

Response Body

FeatureFlagExposure

application/json
  1. response
subjects*number|
variants*array<>
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/feature-flags/497f6eca-6276-4993-bfeb-53cbbbba6f08/exposure'
Example Response
{  "subjects": 0,  "variants": [    {      "variant": "string",      "evaluations": 0,      "subjects": 0    }  ]}