Skip to main content

Experiments

List Experiments

Lists experiments in the workspace, newest first.

Create an Experiment

Creates an experiment and its first run, a draft named Run 1. When dataset_id is set, the run gets one row per datapoint, up to 1000. project_id defaults to the caller’s project and is required for API keys that span several projects.

Retrieve an Experiment

Returns experiment metadata. Runs and cell data are separate resources.

Delete an Experiment

Deletes an experiment with all its runs, rows and cells.

Update an Experiment

Updates experiment metadata. Omitted optional fields keep their current values.

List Runs

Lists runs for an experiment, newest first. Each run is metadata only.

Create Run

Creates a new run, copying columns from the selected run when present. A new run starts with empty output cells; executing cells on an existing run does not create one.

Get Run

Returns run status, per-cell status counts, row count, and column configs. Does not return the cell matrix.

Delete Run

Deletes a run and its cell data. The last run of an experiment cannot be deleted. Distinct from cancel, which keeps completed cells.

Update Run

Updates run key and execution settings. Does not execute the run.

List Annotations

Lists the annotation columns of a run.

Create Annotation

Adds an annotation column. Each row gets one annotation cell per task column.

Delete Annotation

Removes an annotation column and all its cells.

Update Annotation

Updates display fields on the column. The human-eval definition is updated at source.

Patch Annotation Cell

Writes the annotation value of one row for one task column. An annotation column holds one cell per task column, so task_id selects which response is being annotated. The task output of that row must be completed. The value must match the annotation type, and a running cell cannot be changed.

Cancel Run

Stops queued and running cells and moves the run to canceled. A cell whose execution is already in flight may still write its result.

Update Run Column Layout

Reorders, resizes, hides or shows columns of a run in one call. Columns not listed keep their layout.

List Evals

Lists the evaluator columns of a run.

Create Eval

Links an existing evaluator. Each row gets one evaluator cell per task column. Config is updated at the evaluator source, not here.

Delete Eval

Removes an evaluator column and all its cells.

Execute 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.

Get Run Metrics

Returns aggregated evaluator and built-in metrics for a run, keyed by task column and metric. Pass baseline_run_id to include the delta against another run.

Query Run

Returns the rows of a run with their cells, filtered by row and column. POST because selections can exceed URL limits.

Delete Rows

Deletes the given rows of a run and their cells.

Duplicate Row

Copies a row into a new row at the end of the run. Dataset and annotation cells keep their values; response, agent response, open response, evaluator and metric cells start empty.

List Tasks

Lists the task columns of a run: prompt, agent and openresponse columns.

Create Task

Adds a task column with one source: a prompt, an agent, or an openresponse column filled outside orq.ai. Every existing row gets a cell for it, and the first task column also adds cost and latency metric columns.

Delete Task

Deletes a task column with its cells and the evaluator, metric and annotation cells linked to it. Deleting the last task column also removes the metric columns.

Update Task

Renames a task column or replaces its source. Existing cells are not changed.

Export Run

Downloads the run as a file, including annotations and evaluator corrections made after an earlier export.