Hanzo
OpenapiIndex

Reads one index's definition.

Reads one index's definition. Answers the index's uid, primary key and timestamps.

GET /v1/index/indexes/{uid}

Addresshttps://api.hanzo.ai/v1/index/indexes/{uid}
MethodGET
Operationget_index_indexes_by_uid
AuthAuthorization: Bearer $HANZO_API_KEY

Reads one index's definition.

Answers the index's uid, primary key and timestamps. An index this org does not hold answers 404 carrying the dialect's index_not_found — the code a Meilisearch client reads as permission to create it, which is why this is a refusal rather than an empty object.

The uid is scoped to the caller's own org, so another tenant's index is indistinguishable from one that never existed: this surface is not an existence oracle.

Request

1 field.

FieldInTypeRequiredDescription
uidpathstringyes

Response

StatusBodyMeaning
200indexViewok

200 body — 4 fields.

FieldInTypeAlwaysDescription
createdAtbodystringCreatedAt is when this org first created the index, RFC 3339.
primaryKeybodystringPrimaryKey is the document field that identifies a row; an upsert is keyed on it.
uidbodystringUID is the index's name within the org.
updatedAtbodystringUpdatedAt is when the index or its settings last changed, RFC 3339.

Failure carries the platform error shape — see Errors.

Examples

hanzo index indexes get <uid>

Index API · All Hanzo APIs · Interactive reference

How is this guide?

On this page