Prefs
Package prefs is your own settings — theme, density, pinned nav — following you across every Hanzo app.
Package prefs is your own settings — theme, density, pinned nav — following you across every Hanzo app.
| Base URL | https://api.hanzo.ai |
| Operations | 2 |
| Auth | Authorization: Bearer $HANZO_API_KEY |
prefs
GetPrefs returns the signed-in caller's OWN preference document — the theme, density and pinned nav that follow them across every Hanzo surface.
GET /v1/prefs
GetPrefs returns the signed-in caller's OWN preference document — the theme, density and pinned nav that follow them across every Hanzo surface. There is no path to another user's preferences: not for an org admin, not for a platform SuperAdmin, because the subject is built from the validated credential and is the mandatory predicate on the read. A caller who has never saved anything gets an empty document at 200, never a 404, so the user menu always renders.
patch_v1_prefs
PATCH /v1/prefs
How is this guide?