GamebeastDocs
Dashboard
Project APIExperiments (V1)

Create experiment

POST
/application/{applicationId}/experiments

Create a v1 experiment. Groups carry frozen full configuration snapshots rather than the changesets v2 uses.

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

Header Parameters

environment_id*number

Gamebeast environment ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/application/0/experiments" \  -H "environment_id: 0" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "targetMode": "server",    "baseConfigurationId": 0,    "groups": [      {        "label": "string",        "load": 0,        "representation": [          null        ]      }    ]  }'
Empty