Retrieve a span score
Retrieve a specific score for a span.
Path parameters
log_id
Log Id
score_id
Score Id
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Response
Score details.
id
Score ID.
created_at
Creation timestamp.
type
Evaluator type.
Allowed values:
environment
Environment.
numerical_value
Numerical score value.
string_value
String/text score value.
boolean_value
Boolean score value.
categorical_value
Categorical score value (array of strings).
is_passed
Whether the score passes the evaluator's conditions.
cost
Cost of running the evaluation.
evaluator_id
UUID of the Respan platform evaluator.
evaluator_slug
Custom string identifier for the evaluator.
log_id
Associated span ID.
dataset_id
Associated dataset ID.
Errors
401
Unauthorized Error
404
Not Found Error