List v1
The API root.
GET /v1
| Address | https://api.hanzo.ai/v1 |
| Method | GET |
| Operation | get_capabilities |
| Auth | Authorization: Bearer $HANZO_API_KEY |
The API root. One row per capability — its name, the address it answers under, whether it is generally available, and the sentence it says about itself — plus the links to the document at /v1/openapi.json and the agent MCP server.
It is a projection of that same document and carries the same surface a customer calls: the operator's admin product, the relays, the legacy spellings and any capability that is not yet generally available are in neither.
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 capability names grants nothing.
Request
GET /v1 takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
2XX | Root | Success |
2XX body — 8 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
_links | body | object | — | |
_links.* | body | Link | — | |
_links.*.href | body | string | — | |
capabilities | body | Capability[] | — | |
capabilities[].description | body | string | — | |
capabilities[].href | body | string | — | |
capabilities[].name | body | string | — | |
capabilities[].stage | body | string | — |
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.
import { Configuration, OpenapiApi } from 'hanzoai';
const api = new OpenapiApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getCapabilities();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import OpenapiApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = OpenapiApi(client).get_capabilities()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.OpenapiAPI.GetCapabilities(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, openapi_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = openapi_api::get_capabilities(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.OpenapiApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new OpenapiApi(client).getCapabilities();curl https://api.hanzo.ai/v1 \
-H "Authorization: Bearer $HANZO_API_KEY"MCP declares no tool for openapi — tools/list on https://api.hanzo.ai/v1/mcp names the products it does reach. Use HTTP or an SDK.