cURL
curl --request POST \ --url https://api.promptlayer.com/rest/track-score \ --header 'Content-Type: application/json' \ --data ' { "request_id": 123, "score": 50, "api_key": "<string>", "name": "<string>" } '
{ "success": true, "message": "<string>" }
The request_id from tracking a request.
request_id
The score you would like to give to this request (0 - 100).
0 <= x <= 100
Your PromptLayer API Key.
A name for this request score. If not provided, the score will be tracked as default.
default
Score tracked successfully
Was this page helpful?