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).

name
string

A name for this request score. If not provided, the score will be tracked as default.

api_key
string
required

Your PromptLayer API Key.

Response

200 - application/json
success
boolean
required
message
string
required