GamebeastDocs
Dashboard
Project APIExperiments (V2)

List experiment members

GET
/application/{applicationId}/v2/experiments/{experimentId}/members

List all members of an experiment from ClickHouse with offset-based pagination. Includes both weighted and divergence-stored assignments. Supports filtering by group, status, and source, and sorting by distinct ID or assignment date.

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*integer
Range0 < value <= 9007199254740991
experimentId*integer
Range0 < value <= 9007199254740991

Query Parameters

pageNumber?integer
Range1 <= value <= 9007199254740991
Default1
pageSize?integer
Range1 <= value <= 100
Default25
search?string
sortOrder?string
Default"desc"

Value in

  • "asc"
  • "desc"
sortBy?string
Default"assignedAt"

Value in

  • "distinctId"
  • "effectiveGroupId"
  • "effectiveSource"
  • "status"
  • "assignedAt"
groupId?integer
Range0 < value <= 9007199254740991
status?string

Value in

  • "active"
  • "unenrolled"
source?string

Value in

  • "automatic"
  • "manual"

Header Parameters

environment_id*number

Gamebeast environment ID

Response Body

application/json

curl -X GET "https://example.com/application/1/v2/experiments/1/members" \  -H "environment_id: 0"
{  "data": [    {      "distinctId": "string",      "unitType": "string",      "effectiveGroupId": 1,      "effectiveSource": "weightedHash",      "isManual": true,      "status": "active",      "assignedAt": "2019-08-24T14:15:22Z"    }  ],  "pageNumber": -9007199254740991,  "pageSize": -9007199254740991,  "totalPages": -9007199254740991,  "totalCount": -9007199254740991}