Skip to main content
POST
/
api
/
v1
/
automations
/
{id}
/
experiments
/
stream
Create automation experiment with NDJSON progress
curl --request POST \
  --url https://studio.eigenpal.com/api/v1/automations/{id}/experiments/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "examples": [
    "<string>"
  ],
  "batchConcurrency": 4503599627370495,
  "sourceRef": "<string>"
}
'
"<string>"

Authorizations

Authorization
string
header
required

API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.

Path Parameters

id
string
required

Body

application/json

Request body for starting an experiment batch.

examples
string[]

Optional dataset example ids to run. Omit to run the full dataset.

batchConcurrency
integer | null

Maximum concurrent example runs for this experiment.

Required range: 0 < x <= 9007199254740991
sourceRef
string

Optional source version/ref to use for experiment runs.

Response

NDJSON experiment progress stream

application/x-ndjson event stream