POST
/
reports
curl --request POST \
  --url https://api.promptlayer.com/reports \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "test_dataset_id": 123
}'

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

Request Parameters

name
string

The name of the report to be created. Must be between 1 and 255 characters in length.

test_dataset_id
integer

The ID of the dataset on which the report will be based. The dataset must be within an accessible workspace to the user.