put
https://{yourinstance}.makaira.io/experiment//stop
Stop a currently running experiment.
Stops an experiment. After stopping, the experiment enters done status and results can be reviewed. Archived experiment results are stored automatically.
This endpoint does not require the experiment to be in a running state. Calling it on an experiment that is already stopped completes successfully without modifying the experiment data.
Requires the experiment:write or abtesting.write permission.
Request
PUT /experiment/{id}/stop
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The ID of the experiment to stop. |
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Response
Returns a confirmation object on success.
Response Body
| Field | Type | Description |
|---|---|---|
ok | boolean | true when the experiment was stopped successfully. |
Example Response
{
"ok": true
} 400Bad Request - the experiment is not running
404Not Found

