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.
hanzo reward me posts listEvery 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.
| Command | What it does |
|---|---|
hanzo reward catalog | The events, pillars, levels and rule operators the program is built from |
hanzo reward events | State one event to the rules engine (the platform only) |
hanzo reward health | Whether the rewards program can answer |
hanzo reward rules | Lists 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
| Command | What it does |
|---|---|
hanzo reward badge get <handle> | The README badge of a person's level, as an SVG |
Me
| Command | What it does |
|---|---|
hanzo reward me claims | Your claims, and where each stands |
hanzo reward me explore | What you could earn next, by pillar |
hanzo reward me get | Your level, lifetime points, redeemable points and badges |
hanzo reward me github badge | Verifies 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 check | Reads 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 create | Takes 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 list | Lists 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 scan | Reads 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 get | Your rewards profile |
hanzo reward me profile replace | Set your handle, whether your profile is public, and your links |
Profile
| Command | What 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.