Limited time: Save up to 33% on every planView pricing
Voibe Logovoibe Resources
claude codesession transcriptanthropicdata privacyfeedback surveydata retentiondeveloper privacy

Can Anthropic Look at Your Session Transcript? What Yes Uploads

Claude Code asks after the rating prompt. Yes uploads your transcript, subagent logs, and the raw session file, kept 6 months. What's redacted, what isn't.

What the Session Transcript Prompt Is Actually Asking

It looks like the tail end of a satisfaction survey. It isn't. It's the one place in Claude Code where a single keypress sends your entire session — every file the model read, every command your terminal echoed back — to Anthropic.

I went looking for a straight answer to this one and found the documentation, the issue tracker, and the prompt itself telling slightly different stories. Here's what they add up to.

The short version: after you rate a session, Claude Code may ask a second question: Can Anthropic look at your session transcript to help us improve Claude Code? Selecting Yes uploads your conversation transcript, any subagent transcripts, and the raw session log file from disk. Known API key and token patterns are stripped first; source code, file contents, and everything else go up as-is. Shared transcripts are kept for up to 6 months. Selecting No sends nothing. Selecting Don't ask again sends nothing and retires the question. Nothing is uploaded unless you explicitly choose Yes.

The rating prompt that comes first is a different thing, and it's tamer than people assume: answering it — including dismissing it — records only your rating, with no transcript, input, or output attached.

Every Anthropic claim on this page was checked against the live Claude Code data usage documentation on August 6, 2026. Here's the whole decision in one table:

Your answerWhat leaves your machineHow long it's kept
YesConversation transcript, subagent transcripts, and the raw session log file from disk. Known API key and token patterns redacted; source code and file contents uploaded as-isUp to 6 months
NoNothingNot applicable
Don't ask againNothing, and the follow-up stops appearing in future sessionsNot applicable
The rating itselfYour rating only — no transcripts, inputs, or outputsGoverned by your account's standard retention window

Key Takeaway

Selecting Yes at Claude Code's post-rating prompt uploads your conversation transcript, any subagent transcripts, and the raw session log file. Known API key and token patterns are redacted; source code and file contents are uploaded as-is. Shared transcripts are retained for up to 6 months and cannot be used to train Anthropic's models.

Yes, No, and Don't Ask Again: What Each Answer Actually Sends

The three answers are not three shades of the same choice. Only one of them moves data.

Yes uploads three payloads together. The first is the conversation transcript — your prompts and Claude's responses for that session. The second is any subagent transcripts, which matters more than it sounds: a single Task or agent call can read files you never looked at yourself, and those reads land in the transcript. The third is the raw session log file, read from disk rather than reconstructed from memory, which is the most complete record of the session that exists on your machine.

No declines without sending anything. It's a per-session answer, so the question can come back later.

Don't ask again declines and stops the follow-up from appearing in future sessions. If the prompt annoys you more than it worries you, this is the one-key version of the environment variable further down this page.

The asymmetry is worth naming plainly: No and Don't ask again cost you nothing and send nothing. The only answer with a data consequence is the one bound to the y key.

The Redaction Gap: Key Patterns Are Caught, Terminal Echo Isn't

Animated illustration of the Claude Code post-rating transcript prompt. A terminal types "Can Anthropic look at your session transcript?" and shows three options — y: Yes, n: No, d: Don't ask again — with a note that n and d send 0 bytes and only y moves data off your machine. Selecting Yes ships three payloads to Anthropic: conversation transcript, subagent transcripts, and the raw session log file. A redaction pass then shows an ANTHROPIC_API_KEY value redacted as a known key pattern, while a password echoed more than 100 times through sudo -S is uploaded as-is because it matches no pattern. A bar shows the transcript kept up to 6 months. The closing rule reads: known key patterns get redacted, whatever your terminal echoed does not.
The redaction step is pattern-based. It catches the thing shaped like a key and misses the password your script echoed — which is why this prompt is worth answering deliberately.

Anthropic's documentation is specific about what the redaction step covers: known API key and token patterns are redacted before upload. It is equally specific about what it doesn't cover — source code, file contents, and other conversation content go up as-is.

Reading those two sentences next to each other is what changed how I answer this prompt. That distinction is the whole risk surface, and it's easy to underestimate. Pattern-based redaction is good at things shaped like secrets: a string starting sk-, a JWT, a recognizable cloud key. It is structurally unable to catch a secret that doesn't look like one. A few things that routinely end up in a Claude Code transcript and match no known pattern:

  • A database password inside a connection string you had Claude read from a config file.
  • Anything a script echoed back — including a password piped to sudo -S, which prints into the session like any other command output.
  • Internal hostnames, S3 bucket names, customer identifiers, and staging URLs in a stack trace.
  • Unreleased source code, which is explicitly listed as uploaded as-is.

None of that is a flaw in Anthropic's description — the docs say plainly that only known key and token patterns are stripped. It's a reason to answer the prompt deliberately rather than reflexively, because you are the only party who knows what your terminal printed during those two hours.

Warning

Before selecting Yes, ask one question: did anything in this session echo a credential that doesn't look like an API key? Passwords passed to sudo -S, connection strings, and internal hostnames are not covered by pattern-based redaction.

The Stray-Keystroke Report: When a "y" Meant for the Input Box Consents for You

The issue tracker is where this stopped being academic for me. There is an open bug report worth knowing about before you next see this prompt. Issue 74814 on the Claude Code repository, filed July 6, 2026 against version 2.1.198, reports that the post-rating consent prompt can capture a keystroke intended for the message input box. The reported sequence: you rate the session, the Yes/No consent appears, you start typing your next message, and if that message happens to begin with the letter y, the keystroke registers as Yes.

The reporter's account of what went up is the part that makes this more than a UI nit: a machine login password that appeared more than 100 times in sudo -S command echoes, plus a bearer token. They also report there was no self-serve way to reverse it — removing the upload required emailing privacy@anthropic.com.

Two honest caveats. This is a user report on an open issue, not documented Anthropic behavior, and as of August 6, 2026 it carries no maintainer response. It was filed against a specific version, and the behavior may already differ in whatever version you're running. But the requested fixes in that thread describe the safer design well enough to be worth borrowing as personal habit: don't let a data-consent prompt share a keyboard with your input box, and treat a single-key upload consent as something to answer before you start typing again.

The practical version: when the rating prompt appears, finish answering it before you touch the keyboard for anything else. If you never want to make that judgment call under time pressure, skip to the off-switch below.

No, Sharing a Transcript Doesn't Train Claude — That's a Separate Setting

This is the most common confusion about the prompt, and the answer is unambiguous. Anthropic's documentation states that responses to this survey, including session transcripts submitted after the rating prompt, do not impact your data training preferences and cannot be used to train Anthropic's AI models.

Model training is controlled somewhere else entirely, and which control applies depends on how you sign in:

  • Free, Pro, and Max accounts: the "Help Improve our AI models" toggle at claude.ai/settings/data-privacy-controls. With it on, Anthropic may train new models on your chats and coding sessions and retention runs 5 years. With it off, retention drops to 30 days. The full mechanics are on our Claude Pro and Max privacy page.
  • Team, Enterprise, API, and third-party platforms: the Commercial Terms apply, under which Anthropic states it does not train generative models on your code or prompts by default. The exception is an explicit opt-in such as the Development Partner Program, which an organization admin enables and which is available only on Anthropic's first-party API. Retention details are on our Claude API data retention page.

So the two questions are separate. You can share a transcript with model training switched off, and you can refuse every transcript prompt while leaving training on. If your concern is training, this prompt is not the lever — the toggle is.

Key Takeaway

Session transcripts submitted through the post-rating prompt cannot be used to train Anthropic's models and do not change your training preferences. Model training is governed separately by the "Help Improve our AI models" toggle on consumer plans and by the Commercial Terms on Team, Enterprise, API, and third-party platforms.

Who Never Sees This Prompt at All

Three configurations remove the follow-up entirely, per Anthropic's documentation:

  1. Organizations with zero data retention. ZDR accounts never see the transcript-share follow-up.
  2. Organizations where product feedback is disabled by policy. An admin decision, not a per-developer one.
  3. Any session with CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC set. The blanket opt-out covers this along with every other optional channel.

There is also a fourth case that changes the destination rather than removing the question. On Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in Claude apps gateway sessions, selecting Yes writes the same payload to a local archive under ~/.claude/feedback-bundles/ instead of uploading it. Nothing leaves your machine until you forward that file to Anthropic yourself. It's the same behavior the /feedback command has on those providers.

Worth flagging for anyone who assumes a third-party provider turns everything off: session quality surveys are an explicit exception to the provider defaults. Telemetry, error reporting, and /feedback are off by default on Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and Claude Platform on AWS — but the survey runs regardless of provider, as does the WebFetch domain safety check. Being on Bedrock does not mean the prompt never appears; it means Yes writes a file instead of making a request.

Transcript Share vs. /feedback: Two Uploads, Two Different Clocks

Claude Code has two separate paths that send conversation data to Anthropic, and they are frequently conflated. They differ in what they capture, how long it's kept, and how you switch them off.

Post-rating transcript share/feedback, /bug, /share
How it startsA prompt after the session ratingYou run the command
What it sendsConversation transcript, subagent transcripts, raw session log fileA copy of your conversation history including code
Scope controlNone — the current session as-isYou choose: current session (default), or other sessions from the same project over the last 24 hours or 7 days
RetentionUp to 6 months5 years
RedactionKnown API key and token patternsKnown API key and token patterns on the local-archive path
Opt-outCLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1DISABLE_FEEDBACK_COMMAND=1
Public artifactNoneOptionally creates a GitHub issue in the public repository

The retention difference is the headline: a transcript shared through the prompt is kept up to 6 months; a transcript sent through /feedback is kept for 5 years — ten times longer. The command also stores in Google Cloud Storage and can, at your option, create a public GitHub issue. If you're deciding which channel to use to report a bug, that's the trade-off to weigh.

How to Turn the Prompt Off — or Just Turn It Down

You have four levers, in ascending order of bluntness. All of them are documented in Anthropic's Claude Code data-usage and settings references as of August 6, 2026.

  1. Answer "Don't ask again" once. No configuration, no restart. The follow-up stops appearing; the rating prompt stays.
  2. Lower the frequency instead of removing it. Set feedbackSurveyRate in your settings file to a probability between 0 and 1. Useful if you want to keep answering surveys occasionally without being asked every session.
  3. Disable the survey outright: CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1. This removes the rating prompt and the transcript follow-up together. The survey is also disabled whenever DISABLE_TELEMETRY, DO_NOT_TRACK, or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set — so if you already run one of those, the prompt is already gone.
  4. Disable every optional channel at once: CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1. The blanket flag, covered in full on our Claude Code privacy settings guide.

One team-specific option is easy to miss. Organizations that block non-essential traffic but still want survey ratings through their own OpenTelemetry collector can set CLAUDE_CODE_ENABLE_FEEDBACK_SURVEY_FOR_OTEL=1. The survey then logs ratings to the configured collector only — and critically, the transcript-share follow-up and all other Anthropic-bound feedback traffic stay disabled. You get the satisfaction metric without reopening the upload path.

Two traps carried over from the wider Claude Code flag set are worth repeating here. First, for CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY, and DISABLE_ERROR_REPORTING, setting the value to 0 or false still disables the traffic — any non-empty value counts as set, so you have to unset the variable entirely to turn the channel back on. Second, none of these flags touch the core path: your prompts and code context still go to your model provider for inference.

If You Already Said Yes

Start with the reassuring part: whatever went up cannot be used to train Anthropic's models, and it is retained for up to 6 months rather than indefinitely. If the session was routine work with no secrets in it, that is the end of the story.

If the session did contain credentials, work in this order:

  1. Rotate anything that could have been echoed — passwords passed to sudo -S, database connection strings, bearer tokens that didn't match a known pattern. Rotation is immediate and entirely within your control; a deletion request is neither.
  2. Then request deletion. There is no documented self-serve undo. The reporter in issue 74814 states that removal required emailing privacy@anthropic.com.
  3. Check the local archive if you're on a third-party provider. On Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, or a signed-in Claude apps gateway session, Yes wrote a file under ~/.claude/feedback-bundles/ rather than uploading. Deleting that file resolves it completely, because nothing left your machine.
  4. Set the flag so it can't recur: CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1, or answer "Don't ask again" the next time you see the prompt.

Separately, remember that the session still exists in plaintext on your own disk under ~/.claude/projects/ for 30 days by default. Sharing a transcript doesn't change that, and neither does declining. Our privacy settings guide covers claude project purge and cleanupPeriodDays for clearing the local copy.

Tip

Rotate first, request deletion second. Rotating a credential you control takes minutes; a deletion request depends on someone else's queue.

The Documentation Contradicted This Prompt for Months

One piece of history explains why so many developers hit this prompt and found nothing useful when they searched for it.

On April 9, 2026, issue 45811 was filed against the Claude Code repository under the title "Documentation contradicts session transcript sharing prompt." The prompt asked to look at your session transcript. The documentation it linked to said the opposite: that no conversation transcripts, inputs, outputs, or other session data were collected as part of the survey, and that only the numeric rating was recorded. The reporter's read was that transcript sharing was a newer feature and the docs hadn't caught up. The issue was closed as not planned and labelled stale.

The documentation has since been corrected. The current data usage page, checked August 6, 2026, describes the follow-up in full — the three answers, the three payloads, the 6-month retention, the local-archive behavior on third-party providers, and the fact that shared transcripts cannot be used for training. Nearly everything on this page comes from that corrected text.

The useful takeaway isn't a criticism; it's a calibration. In a product shipping this fast, the in-product prompt can be ahead of the documentation that explains it. When a prompt asks for something the docs don't describe, the prompt is the more current statement of what the software does — and it's worth re-checking the policy page rather than trusting a memory of it.

Voibe: The Voice Layer With No Transcript to Ask About

Most of a Claude Code session is prompts you typed. If you dictate them — which is how a lot of people drive an agent now — that adds a second system holding a copy of your words, and a second privacy question to answer.

Voibe, the dictation app we build, is designed so that question doesn't come up. On a Mac with Apple Silicon it runs on-device using OpenAI's Whisper models, and your audio never leaves the machine — there is no server-side voice transcript that anyone could later ask permission to review. On Windows, and on Mac if you choose it, Voibe uses its own private cloud running open-source models with zero retention: audio is never stored, sold, or used to train AI. Pricing is $7.50/month, $59/year, or $149 one-time.

That doesn't change anything about how Claude Code handles the session it builds from those prompts — the transcript prompt, the retention windows, and the flags on this page all still apply. It removes one layer from the stack rather than the whole question. If you're mapping the full picture, our guides to dictating in Cursor and voice-prompting AI tools cover the workflow side.

Claude Privacy, Page by Page

This page covers one prompt. The rest of the Claude privacy picture is split by product surface, one page per decision:

  • Is Claude Code Safe? — the hub: retention and training defaults by tier, provider-specific behavior, and what lives in plaintext on your machine.
  • Claude Code Privacy Settings — every opt-out, environment variable, and toggle in one quick-reference table.
  • Claude API Data Retention — the Commercial Terms no-training default, the 30-day window and its exceptions, zero data retention eligibility, and the June 2026 Covered Models rule.
  • Claude Pro and Max Privacy — the training toggle, the 5-year window, deletion, and what consumer plans don't get.
  • Is Claude Safe? — claude.ai itself: what's reasonable to paste in, and how it compares to ChatGPT.

The Bottom Line on Claude Code's Transcript Prompt

The prompt is honest about what it wants and quiet about what it costs. Selecting Yes uploads your conversation transcript, any subagent transcripts, and the raw session log file; known API key and token patterns are redacted; source code and file contents are not. Shared transcripts are kept up to 6 months and cannot be used to train Anthropic's models. Selecting No or Don't ask again sends nothing at all.

My own position, having read the documentation and the open issues: answer "Don't ask again" unless you have a specific reason to share a specific session. The upside of a routine Yes is diffuse — you're helping improve a product — while the downside is concentrated and irreversible, because you're the only one who knows what your terminal printed in the last two hours and there's no self-serve way to take it back. When you do have a session worth sharing, share that one deliberately.

If you'd rather not make the judgment call at all, one line settles it permanently:

export CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1

All Anthropic facts on this page were verified against the live Claude Code data usage documentation on August 6, 2026. Anthropic ships changes to these policies regularly — re-check the source before relying on any specific window or flag.

Key Takeaway

Say No or Don't ask again by default; share a specific session deliberately when you have a reason. Yes uploads the transcript, subagent transcripts, and raw session log, retained up to 6 months, with only known key and token patterns redacted — and there is no documented self-serve way to reverse it.

Frequently Asked Questions

What is the "Can Anthropic look at your session transcript to help us improve Claude Code?" prompt?

It is an optional follow-up that appears in Claude Code after the "How is Claude doing this session?" rating prompt. It offers three answers: Yes, No, and Don't ask again. Per Anthropic's Claude Code data-usage documentation as of August 6, 2026, selecting Yes uploads your conversation transcript, any subagent transcripts, and the raw session log file from disk to Anthropic. Selecting No declines without sending anything, and Don't ask again declines and stops the follow-up from appearing in future sessions. Nothing is uploaded unless you explicitly select Yes.

Does the session rating prompt itself share my conversation?

No. Anthropic's documentation states that responding to the "How is Claude doing this session?" prompt, including selecting "Dismiss", records only your rating, and that no conversation transcripts, inputs, outputs, or other session data are collected or stored as part of the rating prompt itself. The transcript upload is the separate follow-up question that comes after the rating, and it requires its own explicit Yes.

What exactly does saying Yes upload?

Three things: your conversation transcript, any subagent transcripts from that session, and the raw session log file read from disk. Anthropic's documentation states that known API key and token patterns are redacted before upload, but that source code, file contents, and other conversation content are uploaded as-is. That means anything your terminal printed into the session — a file you had Claude read, a command's output, an environment variable echoed by a script — is included unless it matches a known key or token pattern.

How long does Anthropic keep a shared session transcript?

Shared transcripts submitted through the post-rating prompt are retained for up to 6 months, per Anthropic's Claude Code data-usage documentation as of August 6, 2026. That is a different clock from the /feedback, /bug, and /share commands, whose transcripts are retained for 5 years, and from the standard Claude Code retention window of 30 days on commercial terms or 5 years on a Pro or Max account with model training left on.

Does sharing a session transcript train Claude on my code?

No. Anthropic's documentation states that responses to this survey, including session transcripts submitted after the rating prompt, do not impact your data training preferences and cannot be used to train Anthropic's AI models. Model training is governed by a separate control: the "Help Improve our AI models" toggle at claude.ai/settings/data-privacy-controls for Free, Pro, and Max accounts, and by the Commercial Terms for Team, Enterprise, API, and third-party platform users.

How do I stop Claude Code from asking about my session transcript?

Set CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1 to disable session quality surveys, which removes the transcript follow-up along with the rating prompt. The survey is also disabled when DISABLE_TELEMETRY, DO_NOT_TRACK, or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. Selecting "Don't ask again" at the prompt achieves the same outcome for the follow-up without touching your configuration. To reduce the frequency instead of removing it, set feedbackSurveyRate in your settings file to a probability between 0 and 1.

Who never sees this prompt at all?

Per Anthropic's documentation, the follow-up never appears for organizations with zero data retention, organizations where product feedback is disabled by organization policy, or any session where CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. Separately, on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and signed-in Claude apps gateway sessions, selecting Yes writes the same payload to a local archive under ~/.claude/feedback-bundles/ instead of uploading it, so nothing leaves your machine until you forward that file yourself.

Can I undo a transcript upload after selecting Yes?

There is no documented self-serve way to revoke a submitted transcript. An open GitHub issue on the Claude Code repository, issue 74814 filed July 6, 2026, reports that deletion required emailing privacy@anthropic.com. If the session contained credentials that were not caught by the redaction step, treat those credentials as exposed and rotate them rather than waiting on a deletion request.

Is this the same as the /feedback command?

No, though both send conversation data to Anthropic. The /feedback command — along with /bug and /share, which report through the same path — sends a copy of your conversation history including code, lets you choose how much history to include, and its transcripts are retained for 5 years. The post-rating transcript share is a separate one-question prompt, uploads the current session plus subagent transcripts and the raw session log, and is retained for up to 6 months. They also have separate opt-outs: DISABLE_FEEDBACK_COMMAND=1 for the commands, CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1 for the survey and its follow-up.

Ready to type 5x faster?

Voibe is the fastest, most private dictation app for Mac and Windows. Try it today.

  • On-device or private cloud
  • Free to try
  • No subscription
  • Mac + Windows
  • 90+ languages

Prefer to go Pro? Save 20% on any plan with code VOIBE20 View pricing →