Hanzo
OpenapiExplorer

Reports the deployment's chain indexer(s) and how far each has indexed.

Reports the deployment's chain indexer(s) and how far each has indexed.

GET /v1/explorer/indexers

Addresshttps://api.hanzo.ai/v1/explorer/indexers
MethodGET
Operationget_explorer_indexers
AuthAuthorization: Bearer $HANZO_API_KEY

Reports the deployment's chain indexer(s) and how far each has indexed. Identity and health come from the indexer's /health; the latest indexed block (height + time) from its /v1/explorer/blocks. The row EXISTS if EITHER call reaches the indexer; when the indexer is entirely unreachable the answer degrades to an honest-EMPTY list at 200, not a 502. No chain HEAD is exposed by the indexer REST, so lag is honestly omitted rather than fabricated.

Request

GET /v1/explorer/indexers takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200indexersOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
indexersbodyindexerView[]Indexers is one row per reachable chain indexer, or an empty list when the indexer is unreachable — never a fabricated row.
indexers[].chainbodystringChain is the chain this indexer indexes, as the indexer names it.
indexers[].heightbodystringHeight is the latest INDEXED block height, as a decimal string.
indexers[].idbodystringID identifies the indexer: its chain name, else its chain id, else the brand.
indexers[].lagbodystringLag is how far behind the chain HEAD this indexer is.
indexers[].networkbodystringNetwork is the deployment's network tier: mainnet, testnet or devnet.
indexers[].statusbodystringStatus is "degraded" when /health explicitly reports unhealthy, else "active".
indexers[].updatedAtbodystringUpdatedAt is the latest indexed block's timestamp, RFC 3339 UTC.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Explorer API · All Hanzo APIs · Interactive reference

How is this guide?

On this page