Hanzo
OpenapiO11y

Returns the most recent log records in the query window, newest first — each…

Returns the most recent log records in the query window, newest first — each record an open object carrying its nanosecond timestamp and whatever fields…

GET /v1/o11y/logs

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

Returns the most recent log records in the query window, newest first — each record an open object carrying its nanosecond timestamp and whatever fields the record was ingested with.

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

Request

3 fields.

FieldInTypeRequiredDescription
limitqueryintegerLimit caps how many records come back.
timestampStartqueryintegerTimestampStart is the start of the window as a nanosecond epoch.
timestampEndqueryintegerTimestampEnd is the end of the window as a nanosecond epoch.

Response

StatusBodyMeaning
200o11y.O11yLogRecordsOutok

200 body — 2 fields.

FieldInTypeAlwaysDescription
resultsbodyobject[]Results are the records, newest first.
results[].*bodyany

Failure carries the platform error shape — see Errors.

Examples

hanzo o11y logs get

O11y API · All Hanzo APIs · Interactive reference

How is this guide?

On this page