List pulse

Returns how fast the platform is being used and is spreading, as counts by day for thirty days and by hour for the last day: tokens used, orgs active, orgs signed up, orgs that came through a referral link, orgs using a model for the first time (with the models most tried), and how many different models were in use (variety).

GET /v1/leaderboard/pulse

Addresshttps://api.hanzo.ai/v1/leaderboard/pulse
MethodGET
Operationget_leaderboard_pulse
AuthAuthorization: Bearer $HANZO_API_KEY

Returns how fast the platform is being used and is spreading, as counts by day for thirty days and by hour for the last day: tokens used, orgs active, orgs signed up, orgs that came through a referral link, orgs using a model for the first time (with the models most tried), and how many different models were in use (variety). Every series is read from where cloud records it; one that cannot be read is left out and named in missing, and the ones nothing records today (orgs trying a product, shares) are always named there. Counts only: no org, no name. No credential is needed to read it.

Request

GET /v1/leaderboard/pulse takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200leaderboard.PulseViewok
defaultproblem-detailsrefused

200 body — 25 fields.

FieldInTypeAlwaysDescription
availablebodyboolean—Available is false when no series could be read at all.
daysbodystring[]—Days are the thirty days counted, oldest first, "2006-01-02" in UTC, ending today.
hoursbodystring[]—Hours are the twenty-four hours counted, oldest first, RFC 3339 in UTC, ending in the current hour.
missingbodystring[]—Missing names every series not drawn: the ones nothing records (products, shares) and the ones whose source could not be read just now.
modelsbodyleaderboard.PulseSeries—
models.daysbodyinteger (int64)[]—Days is one count a day, aligned with PulseView.Days.
models.hoursbodyinteger (int64)[]—Hours is one count an hour, aligned with PulseView.Hours.
orgsbodyleaderboard.PulseSeries—
orgs.daysbodyinteger (int64)[]—Days is one count a day, aligned with PulseView.Days.
orgs.hoursbodyinteger (int64)[]—Hours is one count an hour, aligned with PulseView.Hours.
referredbodyleaderboard.PulseSeries—
referred.daysbodyinteger (int64)[]—Days is one count a day, aligned with PulseView.Days.
referred.hoursbodyinteger (int64)[]—Hours is one count an hour, aligned with PulseView.Hours.
signupsbodyleaderboard.PulseSeries—
signups.daysbodyinteger (int64)[]—Days is one count a day, aligned with PulseView.Days.
signups.hoursbodyinteger (int64)[]—Hours is one count an hour, aligned with PulseView.Hours.
tokensbodyleaderboard.PulseSeries—
tokens.daysbodyinteger (int64)[]—Days is one count a day, aligned with PulseView.Days.
tokens.hoursbodyinteger (int64)[]—Hours is one count an hour, aligned with PulseView.Hours.
triesbodyleaderboard.PulseTally[]—Tries is the models orgs used for the first time in the window, most first.
tries[].countbodyinteger (int64)—Count is how many orgs used it for the first time in the window.
tries[].namebodystring—Name is the model.
varietybodyleaderboard.PulseSeries—
variety.daysbodyinteger (int64)[]—Days is one count a day, aligned with PulseView.Days.
variety.hoursbodyinteger (int64)[]—Hours is one count an hour, aligned with PulseView.Hours.

Failure carries the platform error shape — see Errors.

Examples

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

const api = new LeaderboardApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getLeaderboardPulse();
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_pulse()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.LeaderboardAPI.GetLeaderboardPulse(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_pulse(&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).getLeaderboardPulse();

The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were 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/leaderboard/pulse \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool leaderboard, op get_leaderboard_pulse — 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_pulse",
           "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.