Holdouts

Get all holdouts

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

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string

The project key

Formatstring
environmentKey*string

The environment key

Formatstring

Query Parameters

limit?integer

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

Formatint64
offset?integer

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.

Formatint64

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/projects/string/environments/string/holdouts"
{  "items": [    {      "_id": "string",      "key": "string",      "name": "string",      "status": "string",      "createdAt": 0,      "updatedAt": 0,      "experiments": [        {          "key": "string",          "name": "string",          "environment": "string"        }      ]    }  ],  "_links": {    "self": {      "href": "/api/v2/my-project/environments/my-environment/holdouts?limit=20",      "type": "application/json"    }  },  "total_count": 0}