v1

latestOpenAPI 3.1.0Apache-2.02026-07-226091175.5 KB
Evaluation

Cancel experiment

Request cancellation for an experiment batch. Already-completed runs remain recorded; queued or running work is cancelled when possible.

post/api/v1/automations/{id}/experiments/{experimentId}/cancel

Path parameters

idstring required

Automation id or typed alias.

Automation id or typed alias.

experimentIdstring required

Experiment batch id.

Experiment batch id.

Response

Experiment detail after the cancellation request.

idstring required

Experiment batch id. Some CLI commands historically call this a batch id.

automationIdstring required

Automation this experiment belongs to.

automationType'workflow' | 'agent' required
status'queued' | 'running' | 'completed' required

Experiment batch status.

runCountinteger required

Total runs in the experiment.

completedCountinteger required

Runs that have completed.

passedCountinteger required

Runs whose evaluator scores passed.

failedCountinteger required

Runs whose evaluator scores failed.

avgScorenumber nullable required

Average automated evaluator score.

versionstring nullable required
resultsByRunobject required

Evaluator results keyed by run id.