---
title: "Promote run to example"
method: POST
path: "/api/v1/runs/{id}/promote"
tags: ["Reviews"]
---

# Promote run to example

`POST /api/v1/runs/{id}/promote`

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.

## Path parameters

- `id` string, required — Run id.

## Request body

- PromoteRunRequest — Create or update a dataset example from the run input, actual output, and review corrections.
  - `name` string — Dataset example name to create or update. Defaults to a generated name when omitted.

## Response `200`

Created or updated a dataset example from the run

- PromoteRunResponse
  - `automationId` string, required — Automation that owns the promoted example.
  - `automationType` 'workflow' | 'agent', required — Implementation type behind the automation.
  - `exampleId` string, required — Dataset example identifier returned for follow-up API calls.
  - `name` string, nullable, required — Dataset example name.

## Other responses

- `400` — Validation error. Request shape did not match the spec.
- `401` — Missing or invalid API key
- `403` — API key lacks required scope
- `404` — Resource not found
- `413` — Payload too large. Upload exceeded the per-request size cap.
- `429` — Rate limit exceeded
- `500` — Internal server error

---

[API](https://skmtc.dev/eigenpal/apis/eigenpal-api.md) · [All operations](https://skmtc.dev/eigenpal/apis/eigenpal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eigenpal/eigenpal-api/revisions/dddcddf1975c/schema)
