Is the canonical public benchmarks this arena runs — the id, title, axis, item…
Is the canonical public benchmarks this arena runs — the id, title, axis, item count and upstream source of each, with native marking the ones the…
GET /v1/benchmark/catalog
| Address | https://api.hanzo.ai/v1/benchmark/catalog |
| Method | GET |
| Operation | get_benchmark_catalog |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Is the canonical public benchmarks this arena runs — the id, title, axis, item count and upstream source of each, with native marking the ones the standardized harness runs today; the rest are registered and adapter-pending.
These ids are the vocabulary the rest of the surface takes: a run names them, and the leaderboard and compare read them from ?benchmark=. The catalog is deployment-wide and identical for every caller — there is no tenant in it.
Request
GET /v1/benchmark/catalog takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | benchmarkCatalog | ok |
200 body — 8 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
data | body | Benchmark[] | — | Data is one row per benchmark, in the catalog's own order. |
data[].axis | body | string | — | what capability it measures |
data[].id | body | string | — | the id every other op on this surface takes |
data[].items | body | integer | — | how many items it holds, when the set is fixed |
data[].native | body | boolean | — | whether the standardized harness runs it today |
data[].source | body | string | — | where the items come from |
data[].title | body | string | — | the benchmark's published name |
total | body | integer | — | Total is how many rows Data holds. |
Failure carries the platform error shape — see Errors.
Examples
hanzo benchmark catalogimport { Configuration, BenchmarkApi } from 'hanzoai';
const api = new BenchmarkApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getBenchmarkCatalog();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import BenchmarkApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = BenchmarkApi(client).get_benchmark_catalog()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.BenchmarkAPI.GetBenchmarkCatalog(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::apis::{configuration::Configuration, benchmark_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = benchmark_api::get_benchmark_catalog(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.BenchmarkApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new BenchmarkApi(client).getBenchmarkCatalog();curl https://api.hanzo.ai/v1/benchmark/catalog \
-H "Authorization: Bearer $HANZO_API_KEY"Tool benchmark, op get_benchmark_catalog — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.
curl -X POST https://api.hanzo.ai/v1/mcp \
-H "Authorization: Bearer $HANZO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "benchmark",
"arguments": {
"op": "get_benchmark_catalog",
"input": {}
}
}
}'How is this guide?