mcp

GET /api/v1/environments/{environment_api_key}/experiments/

Changed on

(Beta) Lists experiments for an environment. Supports filtering by status and searching by experiment or feature name.

Request

  • Base URL
    https://api.flagsmith.com
  • Auth
    • API key in header Authorization
    • or API key in header Authorization

Path parameters

environment_api_keystring required

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

qstring

Search by experiment or feature name.

statusstring

Filter by experiment status (DRAFT, RUNNING, PAUSED, COMPLETED).

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes

    • info

      added the optional property results/items/rollout_decision to the response with the status

    • info

      added the optional property results/items/rollout_variant to the response with the status

    • info

      the response property results/items/experiment_rollout/allOf[#/components/schemas/ExperimentRollout]/multivariate_feature_state_values became required for the status