Skip to main content
POST
/
api
/
v1
/
runs
/
{id}
/
feedback
/
expected
Add expected file
curl --request POST \
  --url https://studio.eigenpal.com/api/v1/runs/{id}/feedback/expected \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "outputFileName": "<string>",
  "expectedName": "<string>"
}
'
{
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Run id.

Body

JSON request body for copying one run output file into the expected artifact set.

outputFileName
string
required

Name of an existing run output file to copy into expected artifacts.

expectedName
string

Optional name for the copied expected file. Defaults to the original output file name.

Response

Expected file created.

Expected file created or renamed by the request.

name
string
required

File name or slash-delimited artifact path.