cURL
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 }
Run an evaluation pipeline
API key to authorize the operation.
ID of the evaluation pipeline report to run.
Report run initiated successfully
The response is of type object.
object
Was this page helpful?