Skip to main content
POST
/
api
/
v1
/
runs
/
{id}
/
reviews
/
expected
Add corrected file
curl --request POST \
  --url https://studio.eigenpal.com/api/v1/runs/{id}/reviews/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 corrected artifact set.

outputFileName
string
required

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

expectedName
string

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

Response

Corrected file created.

Corrected file created or renamed by the request.

name
string
required