v1

latestOpenAPI 3.1.02026-07-175793186.0 KB
optimization

List Runs

List optimization runs, most recent first.

get/api/v1/optimization/runs

Query parameters

statusstring nullable

Filter by status: running, completed, failed

Filter by status: running, completed, failed

limitinteger

Maximum number of runs to return.

Maximum number of runs to return.

offsetinteger

Pagination offset into the run list.

Pagination offset into the run list.

Response

Successful Response

idstring required

Unique run identifier.

statusstring required

Run status: running, completed, or failed.

module_slugstring nullable

Module slug when server-side dispatch was used.

program_specstring required

DSPy program specification that was optimized.

optimizerstring required

Optimizer backend that was used.

autostring nullable

Optimization intensity level.

train_rationumber

Train/validation split ratio.

dataset_pathstring nullable

Path to the dataset used.

reflection_profile_idstring nullable

LLM provider profile id used for GEPA reflection/proposal, when selected.

reflection_model_idstring nullable

Model id used for GEPA reflection/proposal, when selected.

raw_trace_export_pathstring nullable

Full raw trace export path, when present.

distilled_trace_bundle_pathstring nullable

Distilled GEPA trace evidence bundle path, when present.

prompt_snapshot_pathstring nullable

Prompt snapshot or diff artifact path, when present.

train_examplesinteger nullable

Number of training examples used.

validation_examplesinteger nullable

Number of validation examples used.

validation_scorenumber nullable

Validation score from the optimized program.

output_pathstring nullable

Filesystem path where the optimized program was saved.

manifest_pathstring nullable

Filesystem path to the optimization manifest.

errorstring nullable

Error message when the run failed.

phasestring nullable

Current phase of the optimization run.

started_atstring required

ISO timestamp when the run started.

completed_atstring nullable

ISO timestamp when the run completed.