Hanzo
OpenapiO11y

Returns a single score by id.

Returns a single score by id.

GET /v1/o11y/llm/score/{id}

Addresshttps://api.hanzo.ai/v1/o11y/llm/score/{id}
MethodGET
OperationGetLLMScore
AuthAuthorization: Bearer $HANZO_API_KEY

Returns a single score by id.

Callers need the viewer role; the runtime's own gate enforces it.

Request

1 field.

FieldInTypeRequiredDescription
idpathstringyes

Response

StatusBodyMeaning
200o11y.O11yLLMScoreOutok

200 body — 15 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yLLMScore
data.commentbodystringComment is a free-text note.
data.createdAtbodystring (date-time)CreatedAt is when the score was stored.
data.createdBybodystringCreatedBy is who created the score.
data.dataTypebodystringDataType is the score's kind — NUMERIC or CATEGORICAL.
data.idbodystringID is the score's id.
data.namebodystringName is the score's name.
data.observationIdbodystringObservationID is the observation the score attaches to, when narrowed.
data.sourcebodystringSource is where the score came from, e.g.
data.stringValuebodystringStringValue is the categorical score, when the score is categorical.
data.timestampbodystring (date-time)Timestamp is the score's own event time.
data.traceIdbodystringTraceID is the trace the score attaches to.
data.updatedAtbodystring (date-time)UpdatedAt is when the score last changed.
data.valuebodynumberValue is the numeric score.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y llm score get <id>

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page