Hanzo

Commands

Commands — 1 operations on https://api.hanzo.ai.

The REST reference for Commands — 1 operations, generated from the OpenAPI document.

Base URLhttps://api.hanzo.ai
Operations1
AuthAuthorization: Bearer $HANZO_API_KEY

commands

GET /v1/commands

Every operation this API answers, as a command

The command projection of the OpenAPI document at /v1/openapi.json — each operation reduced to what running it by name needs: its service and command token, its method and path, the prose lifted from the handler, its path parameters as positional arguments and its remaining inputs as typed flags.

It is a separate address for one measured reason: the fleet document is megabytes and a command palette cannot load it, while this projection of the same operations is several times smaller because it carries no schemas, responses or components.

Unauthenticated by design, exactly as the document it derives from: a client has to be able to read the contract before it holds a credential, and a list of operation names grants nothing. The list is TOTAL and is never filtered by caller — what you may run is decided per request by the authorizer, on the decoded input, so a filtered list would be a second claim about permission that is free to be wrong.

Rendered once and served as bytes thereafter, under a strong ETag.


All Hanzo APIs · Interactive reference

How is this guide?

On this page