Per-user usage reporting
Break down spend by end user, not just by API key.
If your app has multiple end-users sharing a single HiWay key, you can still attribute every request back to the right user. Pass a X-HiWay-User header on each request — we'll keep a separate cost counter per value.
POST /v1/chat/completions
Authorization: Bearer hwy_YOUR_KEY
X-HiWay-User: alice@example.com
Content-Type: application/json
{...}Where the data shows up
Open Dashboard → My usage. The top chart shows your personal usage (tied to your account email). When you pass X-HiWay-User, a second section appears listing every end-user and their aggregate spend. Click any row to see their routing history.
Privacy
The value you pass in X-HiWay-User can be any opaque identifier — email, UUID, internal user ID. We store it as-is next to the usage metadata but we never log it alongside prompts or responses, and it is not shared with providers.