v19

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

Update individual trace

put/api/v1/traces/{id}

Path parameters

idstring uuid required

Request body

scorenumber

Updated evaluator score between 0 and 1.

feedbackstring nullable

Updated feedback text for this trace.

projectIdstring uuid nullable

Project to associate with the trace.

Response

success response

idstring uuid required

Unique trace identifier.

createdAtstring date-time required

ISO timestamp representing when the trace was recorded.

modelIdstring required

Model identifier attached to the trace.

projectIdstring uuid nullable required

Project identifier, null when the trace is not linked to a project.

inputstring required

Prompt or message provided to the model.

outputstring required

Model response captured for the trace.

scorenumber nullable required

Score between 0 and 1. Null when the trace has not been scored yet.

feedbackstring nullable required

Feedback provided for the trace.

addedToDatasetboolean required

Flag indicating whether the trace is already in the dataset.

processingStatus'none' | 'processing' | 'failed' required

Background processing status used when generating improved datapoints.