Create layer

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

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequiredformat: "string"
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
randomizationUnitstring
The unit of randomization for the layer
environmentsmap from strings to objects
The layer configurations for each requested environment

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error