cURL
curl --request GET \ --url https://api.promptlayer.com/reports/{report_id} \ --header 'X-API-KEY: <x-api-key>'
{ "success": true, "message": "<string>", "report": { "id": 123, "name": "<string>", "comment": "<string>", "is_blueprint": true, "deleted": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "score": {}, "score_configuration": {}, "score_matrix": [ "<any>" ], "score_calculation_error": "<string>", "parent_report_id": 123, "dataset_id": 123, "user_id": 123, "workspace_id": 123, "prompt_registry_id": 123, "prompt_version_number": 123 }, "status": "RUNNING", "stats": { "status_counts": { "COMPLETED": 123, "FAILED": 123, "QUEUED": 123, "RUNNING": 123 } } }
Retrieve the info about a report.
GET /reports/{report_id}/score
API key to authorize the operation.
ID of the report to retrieve.
Report retrieved successfully
The response is of type object.
object
Was this page helpful?