Create an experiment
cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The created experiment
The response is of type object.
object
Was this page helpful?