{"version":"2.1.305","anchor":"claude-code-attribution-project-and-attributionproject-setti","canonical_anchor":"new-settings-key-attributionprojectpolicy-and-a-new-analytic","heading":"Sessions can name a claude.ai Project for organization usage reports","tier":"notice","area":"Usage Report","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305\/e\/claude-code-attribution-project-and-attributionproject-setti","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.305","markdown":"### Sessions can name a claude.ai Project for organization usage reports\n\nNew `attributionProject` and `attributionProjectPolicy` settings and `CLAUDE_CODE_ATTRIBUTION_PROJECT` name the claude.ai Project a session's usage is reported under\n\n**What**\n\nA session can now name a claude.ai Project that the organization's usage reports attribute it to. Claude Code picks the Project in this order:\n\n- `CLAUDE_CODE_ATTRIBUTION_PROJECT`, a new environment variable (a value set in the shell before starting Claude Code), takes precedence.\n\n- `attributionProject`, a new setting, read from each settings layer. Project settings are skipped in some cases when user settings are present.\n\n- `attributionProjectPolicy`, a new default that only managed settings (settings an organization's administrator sets centrally) can supply.\n\nProject IDs are converted to a `claude_proj_01\u2026` form, and UUIDs are converted too. Invalid values are ignored and reported. A notice at startup names the chosen Project or warns that the ID is invalid.\n\nThe Project is only sent when you sign in with claude.ai or use the Anthropic API directly, outside cloud sessions, when `CLAUDE_CODE_ATTRIBUTION_HEADER` is not `0`, and when a subscriber check passes. A new sign-in source was also added to an analytics list in the same change.\n\n**Why**\n\nOrganizations can see which claude.ai Project Claude Code usage belongs to, and administrators can set a default for everyone. Watch the startup notice: if the ID you set is invalid, it is ignored rather than used.\n\n- Area: Usage Report\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 4\/5\n- Scope: org\n- Heads-up: no"}