> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lakera.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lakera.ai/_mcp/server.

# Data shared with Red

Check Point AI Red Teaming receives two kinds of data from you:

1. What you enter in the Red console or pass to the SDK, such as target settings and an
   optional ground-truth system prompt and tool definitions.
2. Your agent's replies to the attack prompts Red sends during profiling and scans.

The rest of this page lists that data for each connection type and shows how to limit
it.

## Agent targets

For an [Agent target](/docs/red/connect-to-your-agent), Red calls your endpoint, so it
stores what it needs to make that call. Red receives:

1. Connection settings: the endpoint URL, the auth type and credentials, any additional
   fields, and any custom request or response mapping. After you save them, the Red
   console shows credentials only in masked form.
2. Optional context about the target: the ground-truth system prompt, tool definitions,
   and custom refusal phrases.
3. Your endpoint's reply to every prompt Red sends during profiling and scans.

## Model targets

For a [Model target](/docs/red/connect-to-a-model), Red receives the system prompt you
enter, any custom refusal phrases, and the model's replies.

## SDK runner

With the [SDK runner](/docs/red/internal-agents), your code decides what Red receives.
The SDK sends this data to your region's Red API host (`red-webhooks.lakera.ai` in the
US, `red-webhooks-eu.lakera.ai` in the EU):

| Data                                                                                                                                                                            | When the SDK sends it                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| Your Red Team API Key and the SDK's language and version                                                                                                                        | With every request                                                           |
| Target settings: name, app context (description, allowed actions, forbidden actions), ground truth (system prompt, tool definitions), response timeout, and single-turn setting | When you create or update a target                                           |
| Scan settings: name, objectives, custom objectives, strategy and its parameters, concurrency, and language                                                                      | When you create a scan                                                       |
| Dataset name, description, and tests                                                                                                                                            | When you upload a [custom dataset](/docs/red/custom-datasets)                |
| The text your handler passes to `respond()`                                                                                                                                     | Once for each profiling or attack prompt                                     |
| Your own session id                                                                                                                                                             | With the reply, only if you call `setSessionId` (`set_session_id` in Python) |
| The message of an error your handler throws                                                                                                                                     | When the handler fails before it responds                                    |
| Tool name, arguments, and result for each traced tool call                                                                                                                      | Only if you enable [tool tracing](/docs/red/trace-agent-tools)               |

Tool tracing works differently from the rest of the table. Your agent's runtime sends
the tool calls, not the runner, and only while `LAKERA_RED_TOOL_INTERCEPT` is on. In a
tool response poisoning scan, Red also sends data back into your agent: it can add an
attack payload to a traced tool result.

The SDK never sends:

1. Your agent's URL or credentials. They stay in your handler.
2. Your handler code, or any part of the agent's response that your handler doesn't
   pass to `respond()`.
3. Your agent's internal steps, such as tool calls, unless you enable tool tracing.
4. The SDK's logs. The SDK writes them to standard error, or to the logger you pass to
   the client.
5. Result files that `writeResults` (`write_results` in Python) writes.

## Where Red stores the data

Red stores the attack prompts, the replies it received, and its evaluations with each
scan. Red runs one backend in the US and one in the EU. Your organization belongs to
one of them, and the Red home page shows which. See [Network connectivity](/docs/red/networking)
for details.

Every target, scan, and dataset belongs to a folder, and folder roles control who can
see and delete it. See [Roles & access](/docs/red/folder-roles). A folder admin can
delete a folder together with all its contents. See
[Delete a folder](/docs/red/folders#delete-a-folder).

## Limit what you share

1. Scan a non-production environment with synthetic or test data, so the replies don't
   contain real customer data.
2. With the SDK, pass only the reply text to `respond()`. Your handler can redact
   values before it responds.
3. Keep secrets out of the errors your handler throws, because the SDK sends the error
   message to Red.
4. Leave out ground truth and app context if you can't share them. Both are optional,
   and Red then profiles the target from its replies.