---
title: "Create automation experiment with NDJSON progress"
method: POST
path: "/api/v1/automations/{id}/experiments/stream"
tags: ["Evaluation"]
---

# Create automation experiment with NDJSON progress

`POST /api/v1/automations/{id}/experiments/stream`

Starts a batch eval experiment for workflow or agent automations and streams per-run completion events as NDJSON.

## Path parameters

- `id` string, required

## Request body

- ExperimentCreate — Request body for starting an experiment batch.
  - `examples` string[] — Optional dataset example ids to run. Omit to run the full dataset.
  - `batchConcurrency` integer, nullable — Maximum concurrent example runs for this experiment.
  - `sourceRef` string — Optional source version/ref to use for experiment runs.

## Response `200`

NDJSON experiment progress stream

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