v1

latestOpenAPI 3.1.0Apache-2.02026-07-226091175.5 KB
Reviews

Promote run to example

Turn a reviewed run into a dataset example. The new example uses the run input and any corrected output/files stored through the review endpoints.

post/api/v1/runs/{id}/promote

Path parameters

idstring required

Run id.

Run id.

Request body

namestring

Dataset example name to create or update. Defaults to a generated name when omitted.

Response

Created or updated a dataset example from the run

automationIdstring required

Automation that owns the promoted example.

automationType'workflow' | 'agent' required

Implementation type behind the automation.

exampleIdstring required

Dataset example identifier returned for follow-up API calls.

namestring nullable required

Dataset example name.