Spans
Evaluate Span
Submit an evaluation for a span
POST
Request
Bearer token with your API key:
Bearer tr_your_api_keyThe span ID to evaluate (e.g.,
sp_abc123def456)The evaluator key. Currently only
quality is supported.The evaluation score. Use
1 for positive or 0 for negative.Optional note explaining the evaluation
Response
Unique identifier for the evaluation
Key of the evaluator used
Display name of the evaluator
The evaluation score
Source of the evaluation (e.g.,
api, dashboard)Optional note explaining the evaluation
ISO 8601 timestamp
Authorizations
API key starting with tr_
Path Parameters
The span ID to evaluate (e.g., sp_abc123def456)
Body
application/json
Response
Evaluation created
Unique identifier for the evaluation
Key of the evaluator used
Display name of the evaluator
The evaluation score
Source of the evaluation (e.g., api, dashboard)
Optional note explaining the evaluation
ISO 8601 timestamp of creation

