---
title: "Run dataset example"
method: POST
path: "/api/v1/automations/{id}/examples/{exampleId}/run"
tags: ["Evaluation"]
---

# Run dataset example

`POST /api/v1/automations/{id}/examples/{exampleId}/run`

Start an asynchronous run using the input from one dataset example. Poll `GET /api/v1/runs/{id}` for completion and use run scores or review endpoints to review the result.

## Path parameters

- `id` string, required — Automation id or typed alias.
- `exampleId` string, required — Dataset example id to run.

## Response `201`

Example run accepted

- ExampleRunResponse
  - `id` string, required — Run id created for this example.
  - `type` 'workflow' | 'agent', required — Implementation type behind the automation.
  - `batchId` string, nullable, required — Experiment batch id when the run is associated with a batch. The API also calls this an experiment id in experiment routes.
  - `finished` false, required — Example runs are accepted asynchronously.

## 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)
