Sub topic 2
Where your prompt goes: how AI tools handle input
This chapter follows a prompt from your keyboard to the vendor's systems and back. It assumes you have used an AI chat or coding assistant and know roughly what customer records contain at your workplace. It also assumes you have read your employer's acceptable-use policy. You do not need to know how language models work internally.
By the end, you should be able to name each place a prompt can be stored or seen, and say which of those places your organization controls.
A prompt is a data transfer
Typing into an AI tool feels like typing into a notepad. It is closer to sending an email to an outside company. The text leaves your device, crosses the internet, and is processed on servers you do not run.
Anything you include in that text is part of the transfer. This covers the question you typed, text you pasted, files you uploaded, and anything a connected tool added on your behalf. If a customer's name is in the prompt, the customer's name has been sent to the vendor.
The path of a prompt
Most hosted AI tools handle input in the same sequence of stages. The details differ by vendor and plan, but the shape is stable.
Each stage is a place where the data can sit, be copied, or be seen by someone.
1. The client
The client is the app or browser tab you type into. It might be a web chat, a desktop app, an IDE plugin, or a command-line tool. The client can add content you did not type. A coding assistant, for example, often attaches open files or nearby code as context. A browser extension may read the page you are viewing.
Clients also keep local data: cached conversations, crash reports, and sometimes analytics about how you use the tool.
2. Transit
The connection to the vendor is normally encrypted with TLS, the same technology that protects online banking. This protects the prompt from people on the network between you and the vendor, such as someone on public Wi-Fi.
Encryption in transit does not protect the prompt from the vendor itself. The vendor's servers decrypt it to read it. Many people treat "it's encrypted" as meaning "it's private", and these are different claims.
3. The vendor API and the model
The vendor receives the prompt and passes it to the model as context. The model does not look anything up in a database of your past chats. It reads the text in the current request and generates a response from it. This is why a long conversation works: the client or vendor resends earlier messages along with each new one.
This has a practical consequence. Customer data that appears early in a conversation keeps being sent with every later message until you start a new conversation.
4. Logs and storage
Around the model, vendors typically run supporting systems:
- Chat history. Saved so you can return to a conversation. Often visible to you in a sidebar.
- Operational logs. Records used for debugging, billing, and security monitoring. These may include the full prompt text or only metadata, depending on the vendor and plan.
- Abuse monitoring. Some vendors retain prompts for a set period so they can investigate misuse. This can apply even when the vendor does not use your data for training.
- Backups. Copies of stored data that may outlive a deletion request for some time.
Deleting a chat in the interface removes it from your view. It does not always mean every copy is gone immediately. The vendor's terms say how long each copy remains.
5. The response
The model's output comes back along the same route and is stored in the same places. The response can contain customer data too, either because you sent it or because the model repeated it. Chapter 11 covers handling output. For now, remember that output is stored alongside the input.
Who can see the data
A prompt can end up visible to several groups. Which ones apply depends on the tool and your plan.
| Party | Why they might see the prompt | Typical control |
|---|---|---|
| You and your teammates | Chat history, shared conversations, shared workspaces | Sharing settings, workspace permissions |
| Your organization's admins | Enterprise dashboards, audit logs, data export tools | Admin console, your contract |
| Vendor staff | Support cases, abuse investigations, quality review | Vendor terms and access policies |
| Vendor subprocessors | Cloud hosting, logging, or analytics companies the vendor uses | Subprocessor list in the vendor's terms |
| Other users | Only if the data is used for training and later reproduced, or if a shared link is made public | Training opt-out, link settings |
| Authorities | Legal requests such as court orders | Vendor's legal process terms |
A subprocessor is a company that handles data on behalf of the vendor. Your data may sit in a cloud provider's data center even though you never signed a contract with that provider.
Training use versus retention
Two questions are often confused.
- Retention is how long the vendor keeps your data.
- Training use is whether the vendor uses your data to improve its models.
They are independent. A vendor can retain data for 30 days and never train on it. Another can retain data indefinitely and train on it by default. A third can promise not to train but still let staff review flagged conversations.
Training matters because of how models work. A model trained on text can sometimes reproduce parts of that text in later responses to other users. This is rare for any single record, but you cannot recall data once it has been used for training. Your organization cannot undo it.
Consumer plans often allow training by default, with an opt-out setting. Business and enterprise plans usually exclude your data from training by contract. Chapter 6 covers how to verify this in vendor terms. Chapter 7 covers the settings.
Consumer, business, and API access
The same underlying model can be offered under very different data terms.
| Access type | Typical default handling | Risk for customer data |
|---|---|---|
| Free consumer app | Data may be retained and used for training unless you opt out | High: no contract with your organization |
| Paid individual plan | Better controls, but the contract is with you, not your employer | High: your employer cannot enforce terms or audit |
| Business or enterprise plan | Contractual limits on training and retention, admin controls | Lower: still depends on configuration |
| Vendor API | Often shorter retention and no training by default, but varies | Depends on the agreement and on how your developers log requests |
| Self-hosted model | Data stays on infrastructure you run | Lower external exposure, but you own the security |
The key point is that "the same AI" does not mean "the same rules". Always check which plan and which account you are using. A work task done on a personal account is a common source of leaks (Chapter 3).
Things the tool adds without telling you
A prompt is often larger than what you typed. Watch for these additions.
- Attached files and screenshots. Uploading a spreadsheet sends every row, including columns you did not look at. A screenshot may include browser tabs, notifications, or a customer name in the corner.
- Document metadata. Files carry author names, comments, tracked changes, and hidden sheets.
- Conversation history. Earlier messages are resent with each turn.
- Workspace context. Coding assistants can send neighboring files, configuration files, or environment variables if they are in scope.
- Search and browsing results. If the tool searches the web or your internal systems, the retrieved content joins the prompt.
- Memory features. Some tools save facts from earlier chats and insert them into later ones. A customer detail you mentioned last week can reappear in a different conversation.
Common mistakes
- Assuming deletion is instant and complete. Check the retention terms instead.
- Assuming a "private" or "temporary" chat mode means nothing is stored. These modes often still allow short-term retention for safety review.
- Judging a tool by the brand, not the plan. The brand name tells you little. The plan and contract decide the handling.
- Forgetting what the tool pulls in. You controlled the sentence you typed, but not necessarily the file context behind it.
- Treating encryption as the whole answer. Encryption protects the connection. It says nothing about who reads the data afterward.
A quick way to trace any prompt
Before using a tool with real work data, answer these five questions. If you cannot answer one, treat that as a reason to stop and ask.
- Which account and plan am I using, and who owns the contract?
- What exactly will be sent: my text, plus which files, history, and context?
- Where will it be stored, and for how long?
- Does the vendor train on it, and can staff read it?
- Who in my organization can see it, and can I delete it?
The next chapters build on these answers. Chapter 3 shows how gaps in them lead to real leaks. Chapter 5 turns them into rules about what may be sent.
Exercise
A colleague pastes a customer complaint email into a free consumer chatbot using their personal account. They say it is safe because the website uses HTTPS and they delete the chat afterward. Name two reasons this reasoning is incomplete.
Show answer
First, HTTPS (TLS) only protects the data on its way to the vendor. The vendor's servers still read the text and may store it in logs, backups, or abuse-monitoring records. Second, deleting the chat removes it from the colleague's view but may not remove every copy at once, and a consumer plan may allow training use by default. There is also no contract between the employer and the vendor, so the organization cannot enforce retention or training limits.
Exercise
You upload a 2,000-row spreadsheet to an approved assistant and ask it to summarize the "Issue" column. Which parts of the file are sent to the vendor, and what could you do to send less?
Show answer
The whole file is sent, including all rows and every column, plus any metadata, comments, and hidden sheets. To send less, copy only the "Issue" column into a new file or paste only those cells. Remove names, emails, and account numbers from that text first, and check for hidden sheets or comments in anything you upload.
Exercise
A vendor states that it keeps prompts for 30 days and does not train on them. Does this mean that no vendor employee can read your prompt? Explain.
Show answer
No. Retention and training use are separate questions. Not training on data says nothing about human access. Vendor staff may still review prompts for abuse investigations or support cases, and subprocessors may host or log the data. You need to read the terms on staff access and subprocessors to know who can see it.