Share session output as artifacts changedartifacts
Nearest release: v2.1.250, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+10added
Lines−5removed
From line
262
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits44to this page, all time
The whole hunk
from line 262, old and new numbered
/
from line 262
262262
263263To turn artifacts off for your own sessions regardless of your organization's setting, use any of:
264264
265| Method | Setting |
266| :----------------------------------- | :----------------------------------- |
267| [Settings file](/docs/en/settings) | `"disableArtifact": true` |
268| [Environment variable](/docs/en/env-vars) | `CLAUDE_CODE_DISABLE_ARTIFACT=1` |
269| [Permission rule](/docs/en/permissions) | Add `Artifact` to `permissions.deny` |
265| Where | What to do |
266| :----------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------ |
267| [`/config`](/docs/en/commands) | Turn the **Artifacts** row off, which writes [`"enableArtifact": false`](/docs/en/settings-reference#enableartifact) to your user settings |
268| [Settings file](/docs/en/settings) | Set `"enableArtifact": false`. The deprecated `"disableArtifact": true` also turns artifacts off |
269| [Environment variable](/docs/en/env-vars) | Set `CLAUDE_CODE_DISABLE_ARTIFACT=1` |
270| [Permission rule](/docs/en/permissions) | Add `Artifact` to `permissions.deny` |
271
272Once you turn artifacts off in a [`--settings`](/docs/en/cli-reference#cli-flags) file or with `CLAUDE_CODE_DISABLE_ARTIFACT`, or your administrator turns them off in [managed settings](/docs/en/server-managed-settings), no settings file turns them back on. Before v2.1.242, a file higher in the [precedence stack](/docs/en/settings#settings-precedence) could turn artifacts back on even when a lower-precedence file set `"enableArtifact": false`.
273
274You can also set `"enableArtifact": false` in a project's `.claude/settings.json` or `.claude/settings.local.json` to turn artifacts off for sessions in that project. An `"enableArtifact": true` in either file doesn't turn them back on. Honoring the key in project and local settings requires Claude Code v2.1.242 or later.
270275
271276## Manage artifacts for your organization
272277
No line in this hunk matches that.