cURL
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 }
API key to authorize the operation.
The name of the report to be created. Must be between 1 and 255 characters in length.
1 - 255
The ID of the dataset on which the report will be based. The dataset must be within an accessible workspace to the user.
Evaluation Pipeline created successfully
The ID of the created report.
Was this page helpful?