Hanzo
OpenapiO11y

Lists the log body paths already promoted or indexed, with the indexes each…

Lists the log body paths already promoted or indexed, with the indexes each carries.

GET /v1/o11y/logs/promote_paths

Addresshttps://api.hanzo.ai/v1/o11y/logs/promote_paths
MethodGET
Operationget_o11y_logs_promote_paths
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the log body paths already promoted or indexed, with the indexes each carries.

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

Request

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

Response

StatusBodyMeaning
200o11y.O11yLogPromotedOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
databodyo11y.O11yLogPromotePath[]Data holds the paths.
data[].indexesbodyo11y.O11yLogPromoteIndex[]Indexes are the indexes to put on the path.
data[].indexes[].fieldDataTypebodystringFieldDataType is the path's data type, e.g.
data[].indexes[].granularitybodyintegerGranularity is the index granularity in rows.
data[].indexes[].typebodystringType is the index type, e.g.
data[].pathbodystringPath is the body path, e.g.
data[].promotebodybooleanPromote lifts the path into its own column when true.
statusbodystringStatus is "success".

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y logs promote_paths get

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page