GamebeastDocs
Dashboard

Resolve experiment assignments

GET
/sdk/v2/experiments/assignments

Resolve assignments for the identified unit without returning configuration content. Creates assignments as needed but does not merge or return the configuration document. Primarily for diagnostics and SDKs that fetch assignments separately.

Authorization

sdkApiKey
authorization<token>

SDK (public) key, prefixed gb_pk_ (older keys: sdk_). Send it as the authorization header value. Scoped to one project, so it is safe to ship in a game build.

In: header

Query Parameters

configuration?string
Length1 <= length

Header Parameters

environment?string

Environment alias. Defaults to development when omitted; studio is accepted as a synonym for it. Any alias outside the calling key's environment scope is rejected with 403.

Length1 <= length

Value in

  • "production"
  • "development"
project-id?integer
Range0 < value <= 9007199254740991
distinct-id?string
Length1 <= length <= 256
unit-type?string

Value in

  • "user"
  • "server"
evaluation-context?string
Length1 <= length

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/sdk/v2/experiments/assignments"
{  "configurationId": 0,  "assignments": [    {      "experimentId": 0,      "groupId": 0,      "automaticGroupId": 0,      "overrideGroupId": 0,      "status": "active",      "source": "weightedHash",      "assignmentVersion": 0    }  ]}