Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json
modelId
string
required

Identifier (or alias) for the model that produced the trace.

Minimum string length: 1
input
string
required

Prompt or message provided to the model.

Minimum string length: 1
output
string
required

Model response captured for the trace.

Minimum string length: 1
score
number
required

Evaluator score used to determine if the trace is positive.

Required range: 0 <= x <= 1
projectId
string<uuid>

Project identifier that groups this trace. Leave empty to keep it unassigned.

feedback
string | null

Optional feedback explaining the score or providing guidance.

Maximum string length: 2048

Response

success response

results
object[]
required

One entry per trace provided in the request.