cURL
curl --request GET \ --url https://api.promptlayer.com/reports/{report_id}/score \ --header 'X-API-KEY: <x-api-key>'
{ "success": true, "message": "<string>", "score": { "overall_score": 123, "score_type": "single_column", "has_custom_scoring": true, "details": { "column_name": "<string>", "score": 123, "score_type": "<string>", "num_skipped": 123 } } }
Retrieve the score of a specific report.
API key to authorize the operation.
ID of the report to get the score for.
Report score retrieved successfully
The response is of type object.
object
Was this page helpful?