Reward

The hanzo reward commands.

Also for this capability: API · CLI · SDKs

Mounts the rewards rules engine (github.com/hanzoai/reward) at /v1/reward, with the admin queue at /v1/admin/reward, and feeds it what really happened.

API reference →

hanzo reward me posts list

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo reward catalogThe events, pillars, levels and rule operators the program is built from
hanzo reward eventsState one event to the rules engine (the platform only)
hanzo reward healthWhether the rewards program can answer
hanzo reward rulesLists what the rewards program pays for: every active rule of every active program, grouped by pillar (use, share, community, contribute, expert), each with what has to happen, the points, the badge or credit it awards, how often one person can earn it and whether staff verify each claim first.

Badge

CommandWhat it does
hanzo reward badge get <handle>The README badge of a person's level, as an SVG

Me

CommandWhat it does
hanzo reward me claimsYour claims, and where each stands
hanzo reward me exploreWhat you could earn next, by pillar
hanzo reward me getYour level, lifetime points, redeemable points and badges
hanzo reward me github badgeVerifies against GitHub's API that a project of yours carries a Hanzo badge image in its README, and puts one claim to staff for each kind it carries: your live profile badge, your rank badge, or the Built with Hanzo badge.
hanzo reward me github checkReads the stars, follows and forks of the GitHub account you linked at sign-in, from GitHub's API, and puts to staff each that is a repository or account of ours, once each.
hanzo reward me posts createTakes the address of a post of yours, reads it from its network, and holds it for a week if it is public, is yours, and carries your own referral link.
hanzo reward me posts listLists your posts, newest first, each with its status and every look at it.
hanzo reward me posts recheck <id>Looks at one of your pending or removed posts now, with the same checks as the daily look, and adds the look to its history.
hanzo reward me posts scanReads your recent public posts on Bluesky, Mastodon, Reddit, Hacker News or DEV by the handle you give, and holds each that carries your own referral link, as pasting it would.
hanzo reward me profile getYour rewards profile
hanzo reward me profile replaceSet your handle, whether your profile is public, and your links

Profile

CommandWhat it does
hanzo reward profile get <handle>A person's public rewards profile
Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.