curl --request POST \
--url https://api.promptlayer.com/rest/track-score \
--header 'Content-Type: application/json' \
--data '{
"request_id": 123,
"score": 50,
"name": "<string>",
"api_key": "<string>"
}'
{
"success": true,
"message": "<string>"
}
curl --request POST \
--url https://api.promptlayer.com/rest/track-score \
--header 'Content-Type: application/json' \
--data '{
"request_id": 123,
"score": 50,
"name": "<string>",
"api_key": "<string>"
}'
{
"success": true,
"message": "<string>"
}
Score tracked successfully
The response is of type object
.
Was this page helpful?