GamebeastDocs
Dashboard
Server APICohorts

Get the experiments targeting a cohort and its membership history

GET
/application/{applicationId}/analytics/v1/cohorts/{cohortId}/usage

Authorization

personalAccessTokenAuth
AuthorizationBearer <token>

Personal access token (prefixed gb_pat_). Acts on behalf of its owner and can never exceed the owner's own permissions. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

applicationId*number

Gamebeast project ID

cohortId*number

Header Parameters

environment_id*number

Gamebeast environment ID

Response Body

application/json

curl -X GET "https://example.com/application/0/analytics/v1/cohorts/0/usage" \  -H "environment_id: 0"
{  "liveExperiments": [    {      "experimentId": 1,      "name": "string",      "environmentId": 1    }  ],  "membershipHistory": [    {      "computedAt": "string",      "memberCount": 0,      "addedCount": 0,      "removedCount": 0    }  ]}