Hanzo AI
OpenapiBase

List bases

Lists every Base the caller can reach, one per org their token carries.

GET /v1/base/bases

Addresshttps://api.hanzo.ai/v1/base/bases
MethodGET
Operationget_base_bases
AuthAuthorization: Bearer $HANZO_API_KEY

Lists every Base the caller can reach, one per org their token carries.

The orgs come from IAM's signed membership set, so the list is exactly the orgs the caller is a member of and cannot be widened by asking. It is the account-wide view: a Base is per org, so this is one entry per org and there is nothing to page.

A caller with no membership set — a machine credential, an API key — reaches no Base and receives an empty list rather than a refusal, because holding no membership is an answer and not a failure.

Request

GET /v1/base/bases takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200baseView[]ok

200 body — 3 fields.

FieldInTypeAlwaysDescription
[].bytesbodyintegerBytes is the store's size on disk, present only once it exists.
[].existsbodybooleanExists reports whether this Base's store has been provisioned.
[].orgbodystringOrg is the org this Base belongs to.

Failure carries the platform error shape — see Errors.

Examples

hanzo base bases list

Base API · All Hanzo APIs · Interactive reference

How is this guide?

On this page