v1

latestOpenAPI 3.1.0Apache-2.02026-07-226091175.5 KB
Evaluation

Update dataset example

Partially update a dataset example. Omitted fields are preserved; pass null for nullable fields to clear them.

patch/api/v1/automations/{id}/examples/{exampleId}

Path parameters

idstring required

Automation id or typed alias.

Automation id or typed alias.

exampleIdstring required

Dataset example id. Agent examples may use deterministic name-derived ids returned by list/create responses.

Dataset example id. Agent examples may use deterministic name-derived ids returned by list/create responses.

Request body

namestring nullable

Example name. Required on create; omitted or null uses a generated name where supported.

inputobject nullable

Input arguments for the example.

{"stackTrail":"components:schemas:DatasetExampleUpdate:properties:expected:anyOf","oasType":"schema","type":"unknown","description":"Expected JSON output. Null clears the expected output.","nullable":true}
metadataobject nullable

Caller-managed metadata.

annotationstring nullable

Human note about the example. Null clears the annotation.

rowOrderinteger nullable

Optional display order. Null clears the order.

overridesobject nullable

Step output overrides used during example runs.

Response

Updated dataset example.

idstring required

Stable public example id. Workflow examples use DB ids; agent examples use deterministic name-derived ids.

namestring required

Human-readable dataset example name.

automationIdstring required

Automation that owns this example.

automationType'workflow' | 'agent' required
inputobject nullable required

Input arguments used when this example is run.

{"stackTrail":"components:schemas:DatasetExample:properties:expected:anyOf","oasType":"schema","type":"unknown","description":"Expected JSON output for evaluator comparisons.","nullable":true}
metadataobject nullable required

Caller-managed metadata for sorting or filtering examples.

annotationstring nullable required

Human note about the example.

rowOrdernumber nullable required

Optional display order within the dataset.

overridesobject nullable required

Step output overrides used when running this example.

latestRunIdstring nullable required

Most recent run id created from this example.