v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Layers

Get layers

Get a collection of all layers for a project

get/api/v2/projects/{projectKey}/layers

Path parameters

projectKeystring string required

The project key

The project key

Query parameters

filterstring string

A comma-separated list of filters. This endpoint only accepts filtering by experimentKey. The filter returns layers which include that experiment for the selected environment(s). For example: filter=reservations.experimentKey contains expKey.

A comma-separated list of filters. This endpoint only accepts filtering by experimentKey. The filter returns layers which include that experiment for the selected environment(s). For example: filter=reservations.experimentKey contains expKey.

Response

Layer Collection response

totalCountinteger required

The total number of layers in the project

_linksobject required

The location and content type of related resources

Example response

{
  "items": [
    {
      "key": "checkout-flow",
      "name": "Checkout Flow",
      "description": "The checkout flow for the application",
      "randomizationUnit": "user"
    }
  ],
  "_links": {
    "self": {
      "href": "/api/v2/projects/my-project/layers",
      "type": "application/json"
    }
  }
}