Runs
Start, list, inspect, cancel, and resume agent, task, and workflow runs, follow their events, answer their input requests, and find the runs that schedules, webhooks, and evaluations start.
Triggers
Start runs from schedules, webhooks, and evaluations, and list the runs they started.
| Operation | Description |
|---|---|
listEvalRuns | List evaluation runs. |
projectEvalRun | Read one run of an eval to follow its status or read its result summary; returns the eval run. |
projectEvalRunReport | Read the report of a finished eval run to inspect every example and metric result; returns the report document, or a conflict while the report is not written yet. |
projectEvalRuns | List the runs of one eval, newest first by default, to follow their status or pick a run to inspect; returns one page of eval runs. |
projectEvalRunsConnection | List the runs of one eval, newest first by default, to follow their status or pick a run to inspect; returns one page of eval runs. |
runProjectEval | Start a run of an eval against its agent, reading the eval from the project or a preview branch and running it on the main branch, an environment or a preview branch; returns the new eval run, which finishes in the background. |
Queries
| Operation | Description |
|---|---|
eval | Read one eval definition by its ID to inspect its target, dataset, metrics and the fields that can be edited; returns the eval. |
evals | List the evals defined in the source of a project, a branch or an environment to find an eval to run or edit; returns every eval as one page with the source files that could not be read as evals. |
evalSource | Read the editable source behind one eval before changing it; returns the eval source document with its source text, edit mode and the reasons it can only be edited as source. |
Mutations
| Operation | Description |
|---|---|
createEval | Create an eval source file in the project source or a preview branch to test an agent against a dataset and metrics; returns the eval source document. |
deleteEval | Delete the source file of a structured eval that is no longer needed, from the project source or a preview branch; returns an acknowledgement, or a conflict when the file must be edited in code because it defines other evals or builds the eval in code. |
updateEval | Change fields of a structured eval, such as its name, target, dataset or metrics, where an omitted field keeps its value; returns the updated eval source document. |