Hanzo
CLIIndex

Index

17 `hanzo` commands for Index, each calling one operation on api.hanzo.ai.

Package index is fast full-text search over your own data, typos forgiven.

17 commands · API reference →

CommandCallsWhat it does
hanzo index healthGET /v1/index/healthReports whether the search plane can serve.
hanzo index indexes documents get <uid> <id>GET /v1/index/indexes/{uid}/documents/{id}Reads one document by its primary key.
hanzo index indexes documents rm <uid> <id>DELETE /v1/index/indexes/{uid}/documents/{id}Deletes one document by its primary key.
hanzo index indexes documents delete-batch <uid>POST /v1/index/indexes/{uid}/documents/delete-batchDelete many documents by primary key in one call
hanzo index indexes documents list <uid>GET /v1/index/indexes/{uid}/documentsPages through the documents in an index.
hanzo index indexes documents create <uid>POST /v1/index/indexes/{uid}/documentsAdd or replace documents in an index
hanzo index indexes documents replace <uid>PUT /v1/index/indexes/{uid}/documentsAdd or update documents in an index
hanzo index indexes search <uid>POST /v1/index/indexes/{uid}/searchSearches an index, forgiving typos.
hanzo index indexes settings get <uid>GET /v1/index/indexes/{uid}/settingsReads an index's filterable attributes.
hanzo index indexes settings patch <uid>PATCH /v1/index/indexes/{uid}/settingsSets which attributes an index can be filtered on.
hanzo index indexes get <uid>GET /v1/index/indexes/{uid}Reads one index's definition.
hanzo index indexes rm <uid>DELETE /v1/index/indexes/{uid}Deletes an index and everything in it.
hanzo index indexes listGET /v1/index/indexesLists the indexes your org holds.
hanzo index indexes createPOST /v1/index/indexesCreates an index.
hanzo index statsGET /v1/index/statsCounts the documents in each of your indexes.
hanzo index tasks get 1GET /v1/index/tasks/{uid}Checks a write task, which has already finished.
hanzo index versionGET /v1/index/versionIdentifies the search implementation answering.

How is this guide?