Reference
Track Score
POST
/
rest
/
track-score
Track score allows you to associate a score 0-100 with each request.
Body
application/json
request_id
integer
requiredThe request_id
from track-request
.
score
integer
requiredThe score you would like to give to this request (0 - 100).
name
string
A name for this request score. If not provided, the score will be tracked as default
.
api_key
string
requiredYour PromptLayer API Key.
Response
200 - application/json
success
boolean
requiredmessage
string
requiredWas this page helpful?