Search-docs
Search-docs — 2 operations on https://api.hanzo.ai.
The REST reference for Search-docs — 2 operations, generated from the OpenAPI document.
| Base URL | https://api.hanzo.ai |
| Operations | 2 |
| Auth | Authorization: Bearer $HANZO_API_KEY |
search-docs
Lists the search indexes with their document counts and timestamps.
GET /v1/search-docs/indexes
Lists the search indexes with their document counts and timestamps.
It reads the in-cluster Meilisearch service and reshapes its /stats and /indexes replies into the rows the console's Search panel renders. The read is degrade-friendly by design: an unreachable Meilisearch answers 200 with an EMPTY list, so the panel shows an honest empty state instead of an error. createdAt falls back to now and lastIndexedAt to null when the index list is unavailable.
Totals the documents across every search index.
GET /v1/search-docs/stats
Totals the documents across every search index.
totalDocuments is summed from Meilisearch's own per-index counts. The other three fields are structurally zero rather than estimated: Meilisearch keeps no query-history counters, so searches, sessions and the per-day series are not derivable from the index and this surface reports the honest zero instead of a fabricated number. An unreachable Meilisearch answers 200 with all zeros.
How is this guide?