v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Holdouts (beta)

Get all holdouts

get/api/v2/projects/{projectKey}/environments/{environmentKey}/holdouts

Path parameters

projectKeystring string required

The project key

The project key

environmentKeystring string required

The environment key

The environment key

Query parameters

limitinteger

The number of holdouts to return in the response. Defaults to 20

The number of holdouts to return in the response. Defaults to 20

offsetinteger

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query limit.

Response

All Holdouts response

_linksobject

The location and content type of related resources

total_countinteger

The total number of holdouts in this project and environment.

Example response

{
  "_links": {
    "self": {
      "href": "/api/v2/my-project/environments/my-environment/holdouts?limit=20",
      "type": "application/json"
    }
  }
}