v19

latestOpenAPI 3.1.0raw.githubusercontent.com2025-12-123237122.2 KB
Traces

Create traces with feedback

post/api/v1/traces

Request body

modelIdstring required

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

projectIdstring uuid

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

inputstring required

Prompt or message provided to the model.

outputstring required

Model response captured for the trace.

scorenumber required

Evaluator score used to determine if the trace is positive.

feedbackstring nullable

Optional feedback explaining the score or providing guidance.

Response

success response