curl --request PATCH \
--url https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"input": {},
"expected": "<unknown>",
"metadata": {},
"annotation": "<string>",
"rowOrder": 4503599627370495,
"overrides": {}
}
'import requests
url = "https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}"
payload = {
"name": "<string>",
"input": {},
"expected": "<unknown>",
"metadata": {},
"annotation": "<string>",
"rowOrder": 4503599627370495,
"overrides": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
input: {},
expected: '<unknown>',
metadata: {},
annotation: '<string>',
rowOrder: 4503599627370495,
overrides: {}
})
};
fetch('https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}', 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/automations/{id}/examples/{exampleId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'input' => [
],
'expected' => '<unknown>',
'metadata' => [
],
'annotation' => '<string>',
'rowOrder' => 4503599627370495,
'overrides' => [
]
]),
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/automations/{id}/examples/{exampleId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"input\": {},\n \"expected\": \"<unknown>\",\n \"metadata\": {},\n \"annotation\": \"<string>\",\n \"rowOrder\": 4503599627370495,\n \"overrides\": {}\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"input\": {},\n \"expected\": \"<unknown>\",\n \"metadata\": {},\n \"annotation\": \"<string>\",\n \"rowOrder\": 4503599627370495,\n \"overrides\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"input\": {},\n \"expected\": \"<unknown>\",\n \"metadata\": {},\n \"annotation\": \"<string>\",\n \"rowOrder\": 4503599627370495,\n \"overrides\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"automationId": "<string>",
"automationType": "workflow",
"input": {},
"expected": "<unknown>",
"expectedFiles": [
{
"name": "<string>",
"url": "<string>"
}
],
"metadata": {},
"annotation": "<string>",
"rowOrder": 123,
"overrides": {},
"latestRunId": "<string>",
"createdAt": "<string>",
"updatedAt": "<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>"
}Update dataset example
Partially update a dataset example. Omitted fields are preserved; pass null for nullable fields to clear them.
curl --request PATCH \
--url https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"input": {},
"expected": "<unknown>",
"metadata": {},
"annotation": "<string>",
"rowOrder": 4503599627370495,
"overrides": {}
}
'import requests
url = "https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}"
payload = {
"name": "<string>",
"input": {},
"expected": "<unknown>",
"metadata": {},
"annotation": "<string>",
"rowOrder": 4503599627370495,
"overrides": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
input: {},
expected: '<unknown>',
metadata: {},
annotation: '<string>',
rowOrder: 4503599627370495,
overrides: {}
})
};
fetch('https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}', 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/automations/{id}/examples/{exampleId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'input' => [
],
'expected' => '<unknown>',
'metadata' => [
],
'annotation' => '<string>',
'rowOrder' => 4503599627370495,
'overrides' => [
]
]),
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/automations/{id}/examples/{exampleId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"input\": {},\n \"expected\": \"<unknown>\",\n \"metadata\": {},\n \"annotation\": \"<string>\",\n \"rowOrder\": 4503599627370495,\n \"overrides\": {}\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"input\": {},\n \"expected\": \"<unknown>\",\n \"metadata\": {},\n \"annotation\": \"<string>\",\n \"rowOrder\": 4503599627370495,\n \"overrides\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eigenpal.com/v1/automations/{id}/examples/{exampleId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"input\": {},\n \"expected\": \"<unknown>\",\n \"metadata\": {},\n \"annotation\": \"<string>\",\n \"rowOrder\": 4503599627370495,\n \"overrides\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"automationId": "<string>",
"automationType": "workflow",
"input": {},
"expected": "<unknown>",
"expectedFiles": [
{
"name": "<string>",
"url": "<string>"
}
],
"metadata": {},
"annotation": "<string>",
"rowOrder": 123,
"overrides": {},
"latestRunId": "<string>",
"createdAt": "<string>",
"updatedAt": "<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
API key issued from Settings → API Keys. Pass as Authorization: Bearer <key>.
Path Parameters
Automation id or typed alias.
Dataset example id. Agent examples may use deterministic name-derived ids returned by list/create responses.
Body
Partial update for a dataset example. Omitted fields are preserved.
Example name. Required on create; omitted or null uses a generated name where supported.
1 - 128Input arguments for the example.
Show child attributes
Show child attributes
Expected JSON output. Null clears the expected output.
Caller-managed metadata.
Show child attributes
Show child attributes
Human note about the example. Null clears the annotation.
2000Optional display order. Null clears the order.
0 <= x <= 9007199254740991Step output overrides used during example runs.
Show child attributes
Show child attributes
Response
Updated dataset example.
One input/expected-output row in an automation dataset.
Stable public example id. Workflow examples use DB ids; agent examples use deterministic name-derived ids.
Human-readable dataset example name.
Automation that owns this example.
workflow, agent Input arguments used when this example is run. Null when listing with include=metadata.
Show child attributes
Show child attributes
Expected JSON output for evaluator comparisons. Null when listing with include=metadata.
Expected files attached to this example.
Show child attributes
Show child attributes
Caller-managed metadata for sorting or filtering examples.
Show child attributes
Show child attributes
Human note about the example.
Optional display order within the dataset.
Step output overrides used when running this example.
Show child attributes
Show child attributes
Most recent run id created from this example.