Hanzo
OpenapiIndex

Lists the indexes your org holds.

Lists the indexes your org holds. Answers every index in the caller's own org with its primary key and timestamps.

GET /v1/index/indexes

Addresshttps://api.hanzo.ai/v1/index/indexes
MethodGET
Operationget_index_indexes
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the indexes your org holds.

Answers every index in the caller's own org with its primary key and timestamps. Without it an index whose uid a caller has forgotten is unreachable — there is no other way to enumerate what an org holds. The page is the whole set: an org's index count is small by construction, so limit and total both report it.

The tenant is the org minted from the VALIDATED bearer's owner claim, never a client-supplied header, and two orgs may both hold an index named "messages" without either seeing the other. Without a validated principal the answer is 403 carrying the dialect's invalid_api_key body.

Request

GET /v1/index/indexes takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200indexListok

200 body — 8 fields.

FieldInTypeAlwaysDescription
limitbodyintegerLimit is how many rows this page could hold.
offsetbodyintegerOffset is where this page starts.
resultsbodyindexView[]Results are the index definitions themselves.
results[].createdAtbodystringCreatedAt is when this org first created the index, RFC 3339.
results[].primaryKeybodystringPrimaryKey is the document field that identifies a row; an upsert is keyed on it.
results[].uidbodystringUID is the index's name within the org.
results[].updatedAtbodystringUpdatedAt is when the index or its settings last changed, RFC 3339.
totalbodyintegerTotal is how many indexes the org holds altogether.

Failure carries the platform error shape — see Errors.

Examples

hanzo index indexes list

Index API · All Hanzo APIs · Interactive reference

How is this guide?

On this page