Skip to main content
POST
Attach a score to a trace

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Attach a named judgment to a request's trace: a rating, a label, or a thumbs up or down. Send exactly one of value (numeric) or value_string; sending both, or neither, is rejected. comment is optional free text.

request_id
string
required
Maximum string length: 255
name
string
required
Maximum string length: 64
Pattern: ^[a-z0-9][a-z0-9-]*$
value
number
Required range: -99999999.9999 <= x <= 99999999.9999
value_string
string
Maximum string length: 128
comment
string | null
Maximum string length: 2000

Response

uuid
string
required
request_id
string
required
name
string
required
value
number | null
required
value_string
string | null
required
comment
string | null
required
source
string
required
created_at
string | null
required