curl --request POST \
--url https://api.eigenpal.com/v1/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target": "<string>",
"tags": "<string>",
"input": {},
"files": {},
"overrides": {
"steps": {}
},
"metadata": {}
}
'import requests
url = "https://api.eigenpal.com/v1/runs"
payload = {
"target": "<string>",
"tags": "<string>",
"input": {},
"files": {},
"overrides": { "steps": {} },
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
target: '<string>',
tags: '<string>',
input: {},
files: {},
overrides: {steps: {}},
metadata: {}
})
};
fetch('https://api.eigenpal.com/v1/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eigenpal.com/v1/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'target' => '<string>',
'tags' => '<string>',
'input' => [
],
'files' => [
],
'overrides' => [
'steps' => [
]
],
'metadata' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eigenpal.com/v1/runs"
payload := strings.NewReader("{\n \"target\": \"<string>\",\n \"tags\": \"<string>\",\n \"input\": {},\n \"files\": {},\n \"overrides\": {\n \"steps\": {}\n },\n \"metadata\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eigenpal.com/v1/runs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"target\": \"<string>\",\n \"tags\": \"<string>\",\n \"input\": {},\n \"files\": {},\n \"overrides\": {\n \"steps\": {}\n },\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eigenpal.com/v1/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"target\": \"<string>\",\n \"tags\": \"<string>\",\n \"input\": {},\n \"files\": {},\n \"overrides\": {\n \"steps\": {}\n },\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "wfx_01HZXEXAMPLE",
"type": "workflow",
"finished": true,
"sampleRank": 0.42,
"timing": {
"createdAt": "2026-01-15T10:00:00.000Z",
"startedAt": "2026-01-15T10:00:01.000Z",
"completedAt": "2026-01-15T10:00:08.000Z",
"durationMs": 7000,
"cancelRequestedAt": null
},
"source": {
"id": "wf_invoice",
"name": "Invoice extraction",
"version": "3",
"versionId": "wfh_3"
},
"trigger": {
"type": "api",
"by": null
},
"output": {
"vendor": "Acme",
"total": 149.5
},
"files": [
{
"name": "file_1-invoice.json",
"role": "output",
"path": "output/extract/file_1-invoice.json",
"stepName": "extract"
}
],
"error": null,
"execution": {
"status": "completed",
"schemaValid": true,
"batchId": null,
"retry": {
"number": 0,
"previousRunId": null,
"nextRun": null
}
}
}{
"id": "wfx_01HZXEXAMPLE",
"type": "workflow",
"finished": false,
"source": {
"id": "wf_invoice",
"name": "Invoice extraction",
"version": null
}
}{
"id": "wfx_01HZXEXAMPLE",
"type": "workflow",
"finished": false,
"source": {
"id": "wf_invoice",
"name": "Invoice extraction",
"version": null
}
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}Start a run
Start a run. Send JSON or multipart/form-data.
How to read a run: the envelope is at the root. The automation business result is in output (per-automation, not this generic schema). HTTP 200 can report a failed run. Inspect execution.status and the structured error (code, message, retryable, and optional business statusCode and step). Status is execution.status (execution.retry.nextRun.status is a later retry). input, usage, and debug appear only with ?expand=. eval is present only on eval-scoped runs.
curl --request POST \
--url https://api.eigenpal.com/v1/runs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"target": "<string>",
"tags": "<string>",
"input": {},
"files": {},
"overrides": {
"steps": {}
},
"metadata": {}
}
'import requests
url = "https://api.eigenpal.com/v1/runs"
payload = {
"target": "<string>",
"tags": "<string>",
"input": {},
"files": {},
"overrides": { "steps": {} },
"metadata": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
target: '<string>',
tags: '<string>',
input: {},
files: {},
overrides: {steps: {}},
metadata: {}
})
};
fetch('https://api.eigenpal.com/v1/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eigenpal.com/v1/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'target' => '<string>',
'tags' => '<string>',
'input' => [
],
'files' => [
],
'overrides' => [
'steps' => [
]
],
'metadata' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eigenpal.com/v1/runs"
payload := strings.NewReader("{\n \"target\": \"<string>\",\n \"tags\": \"<string>\",\n \"input\": {},\n \"files\": {},\n \"overrides\": {\n \"steps\": {}\n },\n \"metadata\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eigenpal.com/v1/runs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"target\": \"<string>\",\n \"tags\": \"<string>\",\n \"input\": {},\n \"files\": {},\n \"overrides\": {\n \"steps\": {}\n },\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eigenpal.com/v1/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"target\": \"<string>\",\n \"tags\": \"<string>\",\n \"input\": {},\n \"files\": {},\n \"overrides\": {\n \"steps\": {}\n },\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "wfx_01HZXEXAMPLE",
"type": "workflow",
"finished": true,
"sampleRank": 0.42,
"timing": {
"createdAt": "2026-01-15T10:00:00.000Z",
"startedAt": "2026-01-15T10:00:01.000Z",
"completedAt": "2026-01-15T10:00:08.000Z",
"durationMs": 7000,
"cancelRequestedAt": null
},
"source": {
"id": "wf_invoice",
"name": "Invoice extraction",
"version": "3",
"versionId": "wfh_3"
},
"trigger": {
"type": "api",
"by": null
},
"output": {
"vendor": "Acme",
"total": 149.5
},
"files": [
{
"name": "file_1-invoice.json",
"role": "output",
"path": "output/extract/file_1-invoice.json",
"stepName": "extract"
}
],
"error": null,
"execution": {
"status": "completed",
"schemaValid": true,
"batchId": null,
"retry": {
"number": 0,
"previousRunId": null,
"nextRun": null
}
}
}{
"id": "wfx_01HZXEXAMPLE",
"type": "workflow",
"finished": false,
"source": {
"id": "wf_invoice",
"name": "Invoice extraction",
"version": null
}
}{
"id": "wfx_01HZXEXAMPLE",
"type": "workflow",
"finished": false,
"source": {
"id": "wf_invoice",
"name": "Invoice extraction",
"version": null
}
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}{
"issues": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>",
"severity": "error"
}
],
"requestId": "<string>",
"hint": "<string>",
"docsUrl": "<string>",
"conflictingWorkflowId": "<string>"
}Authorizations
Query Parameters
Body
Run envelope. Declare provenance with the X-Eigenpal-Trigger header (api or cli). Legacy 0.5.12 body shapes remain accepted.
Response
Run reached a terminal status while waiting, including failure. Inspect execution.status. Same body as GET /api/v1/runs/:id