> For the complete documentation index, see [llms.txt](https://ai-security-docs.akto.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-security-docs.akto.io/what-is-ai-agent-security/data-handling-and-retention.md). Agents can also search and read this documentation through its [MCP server](https://ai-security-docs.akto.io/~gitbook/mcp).

# How Akto handles AI security data

Explains what Akto Atlas and Argus inspect, where source code and customer data can appear in records, and who can access that content.

This page explains what Akto Atlas and Akto Argus inspect, what can appear in their records, and who can access that content. Atlas covers supported employee AI tools. Argus covers agent traffic routed through its guardrails. If an employee or agent includes source code, a customer identifier, or a customer record in a monitored interaction, the content can be part of the interaction Akto inspects.

## Where source code and customer data can appear

Source code and customer data can appear in a stored trace when they are included in a recorded prompt or response. The table shows where each type of record can be viewed and which controls apply.

<table><thead><tr><th width="200">Record</th><th>What is visible</th><th>Controls</th></tr></thead><tbody><tr><td><strong>Atlas Traces</strong></td><td>The complete prompt and response.</td><td>Prompt access is restricted to admins by default. Revealing a prompt requires a confirmation, and each prompt access is recorded in the <a href="https://ai-security-docs.akto.io/account-management/audit-logs.md">audit log</a>.</td></tr><tr><td><strong>Atlas guardrail events</strong></td><td>Guardrail event content, with detected sensitive values masked.</td><td>Sensitive-value masking.</td></tr><tr><td><strong>Argus Guardrail Activity</strong></td><td>Detected sensitive values are masked in the event evidence and in the request and response shown for the event.</td><td>Masking also applies to admins.</td></tr><tr><td><strong>Argus Traces</strong></td><td>Admins can open full prompts. Other users cannot open prompts.</td><td>You can contact Akto Support to request prompt redaction in Traces.</td></tr><tr><td><strong>Amazon S3 exports</strong></td><td>Anyone with read access to the bucket can view full prompts and responses.</td><td>Your AWS permissions and S3 lifecycle rules.</td></tr></tbody></table>

## Akto Atlas and employee AI activity

On supported endpoints, Atlas evaluates guardrail policies locally. Depending on the integration and policy, Atlas can inspect prompts, responses, and tool calls, and it can block or redact sensitive content in supported workflows. See [Atlas Guardrails](https://ai-security-docs.akto.io/akto-atlas-agentic-ai-security-for-employee-endpoints/atlas-guardrails.md).

For a recorded interaction, [Traces](https://ai-security-docs.akto.io/akto-atlas-agentic-ai-security-for-employee-endpoints/ai-agent-activity/traces.md) adds context such as the user, application, model, and token counts to the prompt and response. Access controls for the prompt are listed in the [table above](#where-source-code-and-customer-data-can-appear).

## Akto Argus and agent traffic

When you deploy the [AI Agent Gateway](https://ai-security-docs.akto.io/agentic-guardrails/overview/akto-agent-proxy.md) alongside an agent in your environment, requests from the agent to LLMs and MCP servers pass through the gateway if you route them there. The gateway applies request and response guardrails to that traffic.

Access to recorded content differs between **Guardrail Activity** and **Traces**, as the [table above](#where-source-code-and-customer-data-can-appear) shows. See [Redact sensitive data](https://ai-security-docs.akto.io/akto-argus-agentic-ai-security-for-homegrown-ai/agentic-ai-discovery/how-to/redact-sensitive-data.md).

## Storage location and retention for records held in Akto

Storage location and retention for records held in Akto depend on your deployment and the type of record. Contact [Akto Support](https://ai-security-docs.akto.io/troubleshooting/support.md) for the details that apply to your Atlas traces, Argus traces, guardrail evidence, and audit logs. Ask for the storage region, default retention period, settings your admins can change, and how deletion requests apply to active records and backups. For Akto staff access, ask which roles can view the records, how access is approved, and what gets logged.

## Atlas and Argus exports to your Amazon S3 bucket

If you use Atlas or Argus on Akto SaaS, you can request separate exports to an Amazon S3 bucket in your own AWS account. The exports are not available for self-hosted deployments. Once enabled, each export sends existing trace history and new traces for the product. Exported records include full prompts and responses, along with trace metadata and guardrail results where available.

Request enablement from Akto Support, then open **Connectors**, then **Log Export** in the relevant product and configure your bucket, AWS region, and authentication. If you use both products, set up each export separately. Follow the [Atlas export setup guide](https://ai-security-docs.akto.io/akto-atlas-agentic-ai-security-for-employee-endpoints/ai-agent-activity/export-traces-to-s3.md) or the [Argus export setup guide](https://ai-security-docs.akto.io/akto-argus-agentic-ai-security-for-homegrown-ai/agentic-ai-discovery/how-to/export-traces-to-s3.md).

AWS permissions control who can read the exported files, and your S3 lifecycle rules control when they expire. Removing the export stops future deliveries. Existing files stay in your bucket until you delete them or a lifecycle rule expires them.

## Verify what your deployment records

Use a test workspace to see which fields your configuration exposes in each location, and which copies your retention policy needs to cover.

{% stepper %}
{% step %}
Submit a prompt that contains a short sample code snippet and a synthetic customer identifier such as `CUST-1042`.
{% endstep %}

{% step %}
Open the resulting trace as an admin, then as a standard user.
{% endstep %}

{% step %}
If a guardrail event is created, compare the event evidence with the trace.
{% endstep %}

{% step %}
If an [S3 export](#atlas-and-argus-exports-to-your-amazon-s3-bucket) is enabled, inspect the exported record separately.
{% endstep %}
{% endstepper %}
