POST
/
monitor
/
experiments
curl --request POST \
  --url https://api.getbasalt.ai/monitor/experiments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "featureSlug": "my-feature",
  "name": "My Experiment"
}'
{
  "id": "123",
  "name": "My Experiment",
  "featureSlug": "my-feature",
  "createdAt": "2024-03-20T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

The created experiment

The response is of type object.