Hanzo
OpenapiProvisioning

Creates a vector collection inside the already-running shared vector backend…

Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it.

POST /v1/provisioning/vector

Addresshttps://api.hanzo.ai/v1/provisioning/vector
MethodPOST
Operationpost_provisioning_vector
AuthAuthorization: Bearer $HANZO_API_KEY

Creates a vector collection inside the already-running shared vector backend and answers with the endpoint that reaches it.

Request

2 fields, body application/json (required).

FieldInTypeRequiredDescription
instancebodystringInstance binds a DEDICATED add-on to the app instance whose <instance>-addons Secret receives the <KIND>_URL (e.g. "commerce").
namebodystringName is the org-unique slug for the new resource, matching ^a-z0-9?$.

Response

StatusBodyMeaning
201provisionResultcreated

201 body — 10 fields.

FieldInTypeAlwaysDescription
connectionStringbodystringConnectionString is the ready-to-use DSN, credential included.
databasebodystringDatabase is the logical database, collection, index or bucket this resource resolves to on its backend.
hostbodystringHost is the address that routes to this resource — a dedicated instance's own in-cluster Service, or the public gateway for a shared one.
idbodystringID is the resource's server-minted handle, "rs_"-prefixed.
kindbodystringKind is the product provisioned: sql, vector, datastore, kv, search, s3 or docdb.
namebodystringName is the org-unique slug the caller asked for, lower-cased.
passwordbodystringPassword is the minted credential, in plaintext, for the kinds that have one.
portbodyintegerPort is the port a client connects to on Host.
statusbodystringStatus is "ready", or "provisioning" while a dedicated instance is still being materialized by the operator.
usernamebodystringUsername is the credential's user, for the kinds that mint one per resource.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Provisioning API · All Hanzo APIs · Interactive reference

How is this guide?

On this page