Promote run to example
Turn a reviewed run into a dataset example. The new example uses the run input, the run output, and any expected output/files stored through the feedback endpoints. Use this after adding feedback or expected artifacts to capture a regression test.
Authorizations
API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.
Path Parameters
Run id.
Body
Create or update a dataset example from the run input, actual output, and feedback expected artifacts.
Dataset example name to create or update. Defaults to a generated name when omitted.
1 - 128Response
Created or updated a dataset example from the run
Automation that owns the promoted example.
Implementation type behind the automation.
workflow, agent Dataset example identifier returned for follow-up API calls.
Dataset example name.