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

Request

  • Base URL: https://studio.eigenpal.com
  • URL: https://studio.eigenpal.com/api/v1/runs/{id}/promote
  • Auth: HTTP bearer

Path parameters

idstring required

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.

Changes

No recorded changes to this operation across all 1 revision of this API.