POST
https://api.promptlayer.com
/
reports
/
{report_id}
/
run
curl --request POST \
  --url https://api.promptlayer.com/reports/{report_id}/run \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "name": "<string>",
  "dataset_id": 123,
  "refresh_dataset": true
}'
{
  "success": true,
  "report_id": 123
}

This endpoint allows you to run an evaluation pipeline. You can optionall updated the dataset.

Headers

X-API-KEY
string
required

API key to authorize the operation.

Path Parameters

report_id
integer
required

ID of the evaluation pipeline report to run.

Body

application/json

Response

201
application/json

Report run initiated successfully

The response is of type object.