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 URLhttps://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
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_decisionto the response with the status - info
added the optional property
results/items/rollout_variantto the response with the status
- info
- info
the response property
results/items/experiment_rollout/allOf[#/components/schemas/ExperimentRollout]/multivariate_feature_state_valuesbecame required for the status
- info