Create layer

POST
/api/v2/projects/:projectKey/layers

Create a layer. Experiments running in the same layer are granted mutually-exclusive traffic.

Path parameters

projectKeystringRequired

The project key

Request

This endpoint expects an object.
keystringRequired

Unique identifier for the layer

namestringRequired

Layer name

descriptionstringRequired

The checkout flow for the application

Response

Layer response

keystring

The key of the layer

namestring

The name of the layer

descriptionstring

The description of the layer

createdAtlong

The date and time when the layer was created

randomizationUnitstringOptional

The unit of randomization for the layer

environmentsmap from strings to objectsOptional

The layer configurations for each requested environment

Errors

Built with