{"version":"2.1.327","anchor":"settings-docs-attributionproject-also-accepts-a-gateway-gro","canonical_anchor":"settings-docs-attributionproject-also-accepts-a-gateway-gro","heading":"attributionProject can name a gateway group for usage attribution","tier":"use","area":"Elsewhere","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/settings-docs-attributionproject-also-accepts-a-gateway-gro","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### attributionProject can name a gateway group for usage attribution\n\nBehind a Claude apps gateway, `attributionProject` can now name a usage group, sent as tags when the token carries a `billing_group_tag` claim\n\n**What**\n\n`attributionProject` and `attributionProjectPolicy` are the settings that say which project your usage is counted against. Their descriptions used to cover only `claude_proj_` and `chan_` Project IDs. The documentation now describes a second option for people working behind a gateway, a server that sits between Claude Code and the API.\n\n- Behind a Claude apps gateway that reports usage by group, you can name one of your groups instead of a Project ID, for example `\"payments\"`.\n\n- `CLAUDE_CODE_ATTRIBUTION_HEADER` does not affect that.\n\n- The gateway docs used to describe the bearer token (the credential sent with each request) as opaque. They now say that if the token is a JWT, a common signed token format, with a `billing_group_tag` claim, Claude Code sends `attributionProject` as tags on Messages requests.\n\n**Why**\n\nIf your organisation routes Claude Code through a gateway that splits usage by group, you can now point usage at the right group, and turning the attribution header off does not change that.\n\n- Area: Elsewhere\n- Names: `attributionProject`, `attributionProjectPolicy`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: org\n- Heads-up: no"}