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>", "deleted": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "workspace_id": 123, "comment": "<string>", "is_blueprint": true, "score": {}, "score_configuration": {}, "score_matrix": "<array>", "score_calculation_error": "<string>", "parent_report_id": 123, "dataset_id": 123, "user_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 report data with all fields
Show child attributes
Overall status of the report execution
RUNNING
COMPLETED
Was this page helpful?