Skip to main content
POST
/
api
/
v1
/
automations
/
{id}
/
examples
/
{exampleId}
/
expected
Upload expected files
curl --request POST \
  --url https://studio.eigenpal.com/api/v1/automations/{id}/examples/{exampleId}/expected \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>' \
  --form file.items='@example-file'
{
  "uploaded": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Automation id or typed alias.

exampleId
string
required

Dataset example id.

Body

multipart/form-data
file
file[]
required

One or more expected files to upload.

Response

Uploaded expected files.

uploaded
string[]
required

Stored expected file paths.