pause_experiment
Pause a RUNNING experiment: its platform entities are paused, and on resume the measurement window extends by the paused stretch so the experiment still gets its full window.
Requires a user-bound credential (OAuth login or a personal API key). Organization API keys are anonymous and get error_type: "user_credential_required".
Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | The experiment id |
Returns#
json
{
"success": true,
"experiment": { "id": "exp_abc123", "status": "paused", "paused_at": "2026-07-13T10:00:00+00:00" },
"source": "adlyse.experiments@v1"
}Errors#
error_type | When |
|---|---|
auth_error | Missing / invalid credential |
user_credential_required | Called with an organization API key |
not_found | No experiment with that id in your org |
invalid_state | The experiment isn’t running |