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).
Required range:
0 < x < 100
api_key
string
requiredYour PromptLayer API Key.
name
string
A name for this request score. If not provided, the score will be tracked as default
.
Response
200 - application/json
success
boolean
requiredmessage
string
requiredWas this page helpful?