gitlab-org--gitlab-foss/doc/api/experiments.md

981 B

stage group info
Growth Expansion To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers

Experiments API

Introduced in GitLab 13.5.

This API is for listing Experiments experiment use in development of GitLab.

All methods require user be a GitLab team member for authorization.

List all experiments

Get a list of all experiments, with its enabled status.

GET /experiments
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/experiments"

Example response:

[
    {
      "key": "experiment_1",
      "enabled": true
    },
    {
      "key": "experiment_2",
      "enabled": false
    }
]