Skip to content
AgentIDDocs

Type at least two characters to search titles, headings and content.

↑ ↓ to navigate↵ to open
AgentID Docs

Data protection

What is logged and encrypted

What AgentID stores by default (redacted records), the optional encrypted storage of originals with audited Reveal, and how long data is kept.

In short

  • By default AgentID stores redacted records. The prompt and answer text in the activity log has personal data replaced, on every integration, also in Shadow Mode and when masking before sending is off. The exact original text is not stored.
  • Originals are stored only if you turn on Store Encrypted Payloads for an AI system. They are then encrypted, never shown in lists or exports, and readable only through Reveal payload, which is limited to system admins and recorded in the audit log.
  • Activity data is deleted after the organization's retention period. New organizations start with 6 months (180 days), the minimum the EU AI Act sets for logs of high-risk AI systems.

Redaction of the stored record is separate from masking the prompt before it is sent to the AI; see What the AI receives and what is stored.

Per event

DataStored
Prompt and answerA redacted text: detected personal data is replaced before the record is written, whether or not the prompt was masked before sending. With Store Encrypted Payloads on, the readable column holds only [REDACTED] and the content is stored encrypted
Original prompt and answer, originals behind placeholdersNot stored by default. Only with Store Encrypted Payloads on, encrypted, and only visible through an audited Reveal
What the provider received per masked valueFor browser extension turns, the token and the value sent (the token itself)
Detection resultsDetected entity types, security signals, the guardrail decision and its reason
Identityuser_id, the API key's name, prefix, owner label and environment, and request identity hints you send
Model and usageModel id, token counts, latency and cost (from your usage data)
AttachmentsFile names, types, extraction results and the masked text; never the original file after protection. For files an AI tool took from cloud storage: name, type, size and provider only
Browser conversationsThe conversation the turn belongs to, the AI tool and its host, the model shown on the page, the conversation title (only when it contains no personal data), how the tool was recognized, the answer's capture quality, and whether a company or personal account was used (only that label, never the e-mail address)

What leaves your side

RecipientReceives
AI providerThe protected text with placeholders; never the placeholder mapping
AgentID logsThe redacted text, plus encrypted originals only if you enable encrypted storage
The userThe answer with originals restored on their device, if restoration is on

Guard itself must read the original text to detect sensitive values. It processes the text in memory for the check; what it keeps afterwards is listed above.

The stored redaction uses the same detection as masking, so its limits are the same: a value that detection does not recognize, for example an internal project name without a content policy, stays in the stored text.

Encrypted storage

Store Encrypted Payloads is a setting of each AI system in Guardrails. It is off by default. Turn it on only when you need the exact text for forensic review. When it is on:

  • prompts, outputs and the token-to-original mapping are encrypted before they are stored, with AES-256-GCM and a separate data key per event,
  • list and detail views show redacted placeholders instead of content,
  • if encryption is required but not available, AgentID refuses to store the event instead of storing plaintext,
  • the setting applies to events stored from then on; earlier events have no stored originals and cannot be revealed.

Reveal

Admins of an AI system can Reveal payload on an encrypted event in the activity log. Each Reveal is written to the audit log as ENCRYPTED_EVENT_PAYLOAD_VIEWED, recording whether the input, the output and the masking originals were revealed. Events erased under a GDPR request cannot be revealed.

Data retention

Retention is a setting of the organization, in Settings → Data retention. Organization owners and admins can change it.

Options30 days, 90 days, 6 months, 1 year, 2 years, 5 years, or Keep until deleted
Default6 months (180 days) is the recommended period, and new organizations start with 6 months: it is the minimum log retention the EU AI Act sets for deployers of high-risk AI systems. Existing organizations keep their value; where none was set, data is kept until deleted and the settings page recommends 6 months
Deleted after the periodAI activity events with their encrypted prompts, answers and original values, reviewer comments and review history, audit logs, endpoint events and request metrics
Kept until you delete themAI systems, policies, members, API keys and the compliance records you maintain (risks, incidents, documents, evidence)
WhenA deletion job runs once a day. Deletion cannot be undone

Shortening the period deletes the older data in the next daily run; the settings page asks you to confirm it.

Note that the audit log entries of Reveal actions are activity data too and follow the same retention period.

Local data on user devices

IntegrationStored locally
Browser extensionPlaceholder mappings per conversation, encrypted with a non-extractable key in the extension's own storage, for 30 days after last use; provider pages cannot read them
Claude pluginAn encrypted per-session vault (AES-256-GCM) for 7 days; the device credential in the OS credential store (DPAPI on Windows, Keychain on macOS) or an owner-only file
Claude Desktop companionThe device credential (DPAPI on Windows, Keychain on macOS)

Webhooks

Security events sent to your webhooks carry SHA-256 hashes of the input and output instead of the text, plus the event metadata. For systems that block personal information, the payload is redacted before delivery.

See also Security and privacy.