List replicas
Replicas reads the private native router's configured model pools, worker health, concurrency, role preferences and observed time to first byte.
GET /v1/engine/replicas
| Address | https://api.hanzo.ai/v1/engine/replicas |
| Method | GET |
| Operation | engineReplicas |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Replicas reads the private native router's configured model pools, worker health, concurrency, role preferences and observed time to first byte. This shared infrastructure inventory is restricted to platform SuperAdmins.
Request
GET /v1/engine/replicas takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | object | ok |
default | problem-details | refused |
200 body — 10 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
* | body | engine.engineReplica[] | — | |
*[].capacity | body | integer (int64) | — | |
*[].healthy | body | boolean | — | |
*[].id | body | string | — | |
*[].inflight | body | integer (int64) | — | |
*[].roles | body | string[] | — | |
*[].ttft_ewma_ms | body | number (double) | — | |
*[].upstream_model | body | string | — | |
*[].url | body | string | — | |
*[].weight | body | integer (int64) | — |
Failure carries the platform error shape — see Errors.
Examples
hanzo engine replicas getimport { Configuration, EngineApi } from 'hanzoai';
const api = new EngineApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.engineReplicas();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import EngineApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = EngineApi(client).engine_replicas()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.EngineAPI.EngineReplicas(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, engine_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = engine_api::engine_replicas(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.EngineApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new EngineApi(client).engineReplicas();The method above is the one at the current release of the document. [email protected] (npm) was generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →
curl https://api.hanzo.ai/v1/engine/replicas \
-H "Authorization: Bearer $HANZO_API_KEY"MCP declares no tool for engine — tools/list on https://api.hanzo.ai/v1/mcp names the products it does reach. Use HTTP or an SDK.
How is this guide?