Create or update a log score
Create a score for a specific log/span. The backend keeps one score per (log, evaluator, scorer) and updates the existing score if the same combination is submitted again.
Path parameters
Log/span unique ID to manage scores for.
Headers
Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.
Request
Evaluator ID. Provide either evaluator_id or evaluator_slug.
Custom evaluator slug. Provide either evaluator_id or evaluator_slug.
Optional score producer for general score creation. Log-scoped routes derive this from the authenticated user.
Numeric score value. Use for numerical and percentage evaluators.
Text score value. Use for text and legacy comment evaluators.
Boolean score value. Use for boolean evaluators.
Categorical score values. Use for single_select, multi_select, and legacy categorical evaluators.
JSON score value encoded as a string. Use for json evaluators.
Response
Updated existing score for this log/evaluator/scorer.
Numeric score value. Use for numerical and percentage evaluators.
Text score value. Use for text and legacy comment evaluators.
Boolean score value. Use for boolean evaluators.
Categorical score values. Use for single_select, multi_select, and legacy categorical evaluators.
JSON score value encoded as a string. Use for json evaluators.
Human-readable evaluator name, when available.
Who or what produced the score. For log-scoped score writes, the backend derives this from the authenticated user.
Associated log/span ID.