List beta

Ranks everyone on the hanzo.ai/beta waitlist by one score: 1 per star on GitHub verified for the record and 1 per founder link followed, plus 1 per org that signed up with its referral code, plus 20 per such org that has made metered spend, plus 1 per 100,000 tokens the person used, all time.

GET /v1/leaderboard/beta

Addresshttps://api.hanzo.ai/v1/leaderboard/beta
MethodGET
Operationget_leaderboard_beta
AuthAuthorization: Bearer $HANZO_API_KEY

Ranks everyone on the hanzo.ai/beta waitlist by one score: 1 per star on GitHub verified for the record and 1 per founder link followed, plus 1 per org that signed up with its referral code, plus 20 per such org that has made metered spend, plus 1 per 100,000 tokens the person used, all time. Ties go to the earlier application. Share clicks count for nothing.

Everyone who ever applied is on it. A form filed before the person had an account is a row of its own (no name, score 0, the day it was filed) until their account's record claims it, and the record then begins when the form did.

A row is named only for a person who opted into the public board (PUT /v1/leaderboard/optin); the caller always sees their own row named. Tokens are a range on every row and exact on a named row and the caller's. tokens and referrals say whether the warehouse and the referral service answered; a term that did not is left out of every score alike.

A named handler, not a closure, so zipdoc can lift this prose into the registry.

Request

1 field.

FieldInTypeRequiredDescription
limitqueryinteger—Limit caps the rows, clamped to 1..100.

Response

StatusBodyMeaning
200leaderboard.BetaBoardok
defaultproblem-detailsrefused

200 body — 23 fields.

FieldInTypeAlwaysDescription
ofbodyinteger (int64)—Of is how many people are on the waitlist: every account that applied, and every lead that applied before it had an account.
referralsbodyboolean—Referrals is whether referrals were counted; false when the referral service did not answer, and no record's score has them then.
rowsbodyleaderboard.BetaRow[]—Rows are the top of the waitlist, best first.
rows[].appliedbodystring—Applied is the day the application began, 2006-01-02: the record's own, or the day of the lead it claims when that was earlier.
rows[].namebodystring—Name is the handle its owner listed under on the public board; null for a person who did not opt in, whom the page calls a builder.
rows[].qualifiedbodyinteger (int64)—Qualified is how many of them have made metered spend.
rows[].rankbodyinteger (int64)—Rank is the record's place, 1 first.
rows[].referralsbodyinteger (int64)—Referrals is how many orgs signed up with the record's referral code.
rows[].scorebodyinteger (int64)—Score is what the row is ranked by: points, referrals, qualified referrals and tokens, as GET /v1/leaderboard/beta's description states.
rows[].tokensbodystring—Tokens is the person's all-time token usage as a range: 0, <1M, 1M-10M, 10M-100M, 100M-1B or 1B+.
rows[].tokensUsedbodyinteger (int64)—TokensUsed is the exact count, on a named row and the caller's; absent on every other.
rows[].youbodyboolean—You marks the caller's own row.
tokensbodyboolean—Tokens is whether token usage was counted; false when the warehouse did not answer, and no record's score has it then.
youbodyleaderboard.BetaRow—
you.appliedbodystring—Applied is the day the application began, 2006-01-02: the record's own, or the day of the lead it claims when that was earlier.
you.namebodystring—Name is the handle its owner listed under on the public board; null for a person who did not opt in, whom the page calls a builder.
you.qualifiedbodyinteger (int64)—Qualified is how many of them have made metered spend.
you.rankbodyinteger (int64)—Rank is the record's place, 1 first.
you.referralsbodyinteger (int64)—Referrals is how many orgs signed up with the record's referral code.
you.scorebodyinteger (int64)—Score is what the row is ranked by: points, referrals, qualified referrals and tokens, as GET /v1/leaderboard/beta's description states.
you.tokensbodystring—Tokens is the person's all-time token usage as a range: 0, <1M, 1M-10M, 10M-100M, 100M-1B or 1B+.
you.tokensUsedbodyinteger (int64)—TokensUsed is the exact count, on a named row and the caller's; absent on every other.
you.youbodyboolean—You marks the caller's own row.

Failure carries the platform error shape — see Errors.

Examples

hanzo leaderboard beta
import { Configuration, LeaderboardApi } from 'hanzoai';

const api = new LeaderboardApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getLeaderboardBeta();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import LeaderboardApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = LeaderboardApi(client).get_leaderboard_beta()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.LeaderboardAPI.GetLeaderboardBeta(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, leaderboard_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = leaderboard_api::get_leaderboard_beta(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.LeaderboardApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new LeaderboardApi(client).getLeaderboardBeta();
curl https://api.hanzo.ai/v1/leaderboard/beta \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool leaderboard, op get_leaderboard_beta — 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": "leaderboard",
         "arguments": {
           "op": "get_leaderboard_beta",
           "input": {}
         }
       }
     }'

Leaderboard API · All Hanzo APIs · Interactive reference

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.