Get Current Session
Authz primitives for the current session.
Cheap, JWT-only pass-through. The frontend uses this to drive
useEntitlement, role-based nav, and feature gating without
triggering the heavier /me query (which hits the DB for profile,
org, and assignments). Both endpoints exist on parallel React Query
keys so they can be cached with different staleness.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful Response
Authz primitives for the current session, surfaced to the frontend.
Lightweight pass-through of JWT claims relevant to client-side gating
(entitlements + role + permissions). Cached aggressively in the FE.
Display data lives on /me, not here.