POST
/
rest
/
track-score

Track score allows you to associate a score 0-100 with each request.

Body

application/json
request_id
integer
required

The request_id from track-request.

score
integer
required

The score you would like to give to this request (0 - 100).

Required range: 0 < x < 100
api_key
string
required

Your 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
required
message
string
required