Create Experiment Run
Create an experiment run.
The experiment_id and an optional workflow_id are supplied in the body.
When workflow_id is omitted, the experiment’s workflow is used; when
supplied, it must match that workflow or the request is rejected with 404.
experiment_id in the request body.
workflow_id is optional in the body and scopes the lookup when provided.
This is the call that produces metrics: it re-processes every experiment
document through the block with n_consensus parallel passes per document.
Use it after creating an experiment, after editing the block, or after
changing the document set.
The endpoint is async - it returns a run resource immediately. Poll the
experiment run with Get Experiment Run
until it reaches a terminal status, then read metrics with Get Experiment Run
Metrics.
Runs use the experiment’s stored n_consensus and document set.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request body to create an experiment run.
workflow_id is optional; when omitted it is taken from the experiment,
and when supplied it must match the experiment's workflow.
Response
Successful Response
A single execution of an experiment, identified by id.
extract, classifier, split, for_each 3, 5, 7 The experiment run has been created but execution has not started.
- PendingWorkflowExperimentRun
- QueuedWorkflowExperimentRun
- RunningWorkflowExperimentRun
- CompletedWorkflowExperimentRun
- ErrorWorkflowExperimentRun
- CancelledWorkflowExperimentRun