Execute a run
Executes cells at the requested scope. FULL, PARTIAL, ROW and COLUMN queue the matching cells (a task column also queues its linked evaluator and metric cells) and start the orchestrator, which also re-runs failed cells of every row it picks up. A run that is already queued or running rejects new execution until it finishes or is cancelled. CELL re-runs one task or evaluator cell in place. Re-executing a terminal run does not require creating a new run.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the experiment.
ID of the run.
Body
What to execute. EXECUTE_SCOPE_FULL: every executable cell.
EXECUTE_SCOPE_PARTIAL: like full, but skips completed and running cells.
EXECUTE_SCOPE_ROW: the cells of the rows in targets.
EXECUTE_SCOPE_COLUMN: the cells of the columns in targets.
EXECUTE_SCOPE_CELL: each combination of a target row and a target
column. Targets also narrow full and partial executions.
EXECUTE_SCOPE_UNSPECIFIED, EXECUTE_SCOPE_CELL, EXECUTE_SCOPE_ROW, EXECUTE_SCOPE_COLUMN, EXECUTE_SCOPE_PARTIAL, EXECUTE_SCOPE_FULL Rows and columns to execute. Required for row, column and cell scope.
Limits for this execution, saved into the run's settings.
Response
OK
A run: one pass of the experiment's columns over a copy of its dataset rows.
Run ID (ULID).
Experiment the run belongs to.
Run name. Run 1 for the first run; Run plus the last four characters
of the run ID when a run is created without a key.
Run state. RUN_STATUS_DRAFT: created, never executed.
RUN_STATUS_RUNNING: executing. RUN_STATUS_COMPLETED: no rows left to
execute, although individual cells may have failed. RUN_STATUS_FAILED:
execution stopped on an internal error. RUN_STATUS_CANCELED: stopped by
Cancel a run. RUN_STATUS_QUEUED counts as active, like running.
RUN_STATUS_UNSPECIFIED, RUN_STATUS_DRAFT, RUN_STATUS_QUEUED, RUN_STATUS_RUNNING, RUN_STATUS_COMPLETED, RUN_STATUS_FAILED, RUN_STATUS_CANCELED Dataset the rows were copied from, taken from the experiment when the run was created. Empty for evaluatorq uploads.
Number of rows in the run.
Number of cells in each status.
Columns of the run, hidden ones included with active false. Get, create
and update order them as dataset, task, job output, metric, evaluator and
review columns.
Null on runs created without settings, such as evaluatorq uploads.
Time the latest execution started. Null until the run is executed.
Time the run completed or was canceled. Null until then, and kept when the run is executed again.
Creation time.
Time of the last change to the run.
Average evaluator results per task column, keyed
{task_column_id}_{evaluator_id} (the run ID replaces the task column ID
for run-level values). Only returned by List runs with include_metrics;
categorical evaluators are left out.
Execution totals of the run.
ID of the user or API key that created the run.