Hanzo
OpenapiO11y

Returns the log field catalog: the fields already selected as indexed columns,…

Returns the log field catalog: the fields already selected as indexed columns, and the interesting ones seen in the data that could be.

GET /v1/o11y/logs/fields

Addresshttps://api.hanzo.ai/v1/o11y/logs/fields
MethodGET
Operationget_o11y_logs_fields
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the log field catalog: the fields already selected as indexed columns, and the interesting ones seen in the data that could be.

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

Request

GET /v1/o11y/logs/fields takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200o11y.O11yFieldCatalogOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
interestingbodyo11y.O11yTelemetryField[]Interesting are fields seen in the data that could be selected.
interesting[].dataTypebodystringDataType is the field's data type, e.g.
interesting[].namebodystringName is the field's name.
interesting[].typebodystringType is where the field lives: attributes or resources.
selectedbodyo11y.O11yTelemetryField[]Selected are the fields materialized as their own columns.
selected[].dataTypebodystringDataType is the field's data type, e.g.
selected[].namebodystringName is the field's name.
selected[].typebodystringType is where the field lives: attributes or resources.

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y logs fields get

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page