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

This endpoint allows for the creation of Evaluation pipelines. These pipelines are given a name and associated with a dataset.

Headers

X-API-KEY
string
required

API key to authorize the operation.

Body

application/json

Response

200
application/json

Evaluation Pipeline created successfully

The response is of type object.