Skip to content

Data protection

Where your data travels in Argy, how it is filtered, encrypted, logged and deleted, and what stays on your side.

This page details the data lifecycle in Argy: what is sent to a model provider, what is filtered before and after the call, what is encrypted at rest, what is logged, and how data is deleted. It complements the security model, which covers authentication and access control, and is written for teams that must document a processing activity in their compliance register.

The same two axes apply: what the platform enforces by itself, then what you configure. The statements on this page are limited to what the product actually does; points that are not covered are listed at the end.

What the platform enforces

Path of a request to a model

A text-generation request sent to the model gateway follows a fixed path, whatever provider is selected. OCR and image-generation calls follow a shorter path, described below.

  1. The token is verified and the scope (user, organization, project) is resolved on the server.
  2. The organization quota is checked before any provider call.
  3. The input passes through the personal-data and secret filter, which masks or blocks according to the configured mode.
  4. The request is forwarded to the provider.
  5. The generated response goes through the same analyser before being returned.
  6. An audit trace is recorded: metadata always, and content (raw version and filtered version) only when content logging is allowed on the deployment and audit encryption is configured.

No provider credential is exposed to the client.

Filtering before and after the call

This filter applies to text-generation calls (chat, messages, responses, completions). It analyses both the incoming text and the generated text. Detected personal data, including public IP addresses, and detected secrets, including complete private-key blocks, are replaced with markers. A detected injection attempt is blocked before personal-data analysis even starts. Markers that were not resolved on output are removed, so an internal marker cannot appear in a displayed response.

The filter works per analysis unit and has an absolute input-size ceiling. Beyond the ceiling, the request is rejected; an analysis timeout returns a dedicated error.

Filtering modes are configurable per deployment. Masking is the default.

OCR and image-generation calls

These two call types do not go through the personal-data and secret filter described above. An OCR call sends the supplied document to the recognition service, and an image-generation call sends the prompt as is. If you must send a document containing personal data or a prompt containing sensitive data, remove or mask that data before the call.

Encryption at rest

DataTreatment
Audit contentMetadata always kept; raw content and filtered content logged only when content logging is allowed and audit encryption is configured, then stored encrypted.
Argy Code workstation credentialsStored encrypted; the key is kept in the operating system's native secret vault.
Secret referencesOnly references are exposed by the API. A secret value is resolved at execution time and never listed in clear text.

The workstation writes its authentication files with restricted permissions.

Access to uploaded files

The original file of a document uploaded to the document base is only served after the tenant membership check. Each upload is size-limited, and an oversized file is refused on entry.

Logging

Every document upload and every document search produces an audit event with the calling IP address; the search event also records the query length. Model calls produce a trace that can be reviewed and filtered on blocked requests. The content of these traces is only logged when content logging is allowed and audit encryption is configured; it is then stored encrypted. The actor of an action is forced from the token, which prevents a client from writing an identity.

What you configure

Provider keys

Provider keys can be managed from your portal settings. Their exact role in request processing is not described by this page.

Secret references

In configuration, manifests and forms, modules and deployments only handle secret references. At execution time, a bundle can receive the value of its own declared and bound secret, so any code allowed to resolve a secret must be trusted. You declare the required references when publishing a bundle or deploying a project, then bind each reference to a secret in your environment. If a required secret is not bound, the execution fails explicitly instead of starting without it.

Filtering policies

You choose the personal-data and secret filtering mode that fits your organization. A stricter mode reduces the data sent to the provider but may mask information the model needs; the trade-off is yours to make.

Workstation

On the Argy Code workstation, reading .env files requires confirmation by default in the terminal interface, access outside the project requires confirmation, and commands that look like secret exfiltration, when untrusted content has been observed in the session, require a non-memorable confirmation. These confirmations assume a person answers them: they only exist in the terminal interface. In unattended execution (argy run, CI), an ask rule is approved automatically and traced, and that trace is not consent; only deny remains a refusal. Machine mode disables extensions, tool servers, formatters and automatic updates. See Unattended execution.

Deletion and data scope

Audit traces already written remain available, because they form the traceability record; their retention period depends on your deployment and contract. Deleting a resource is covered by the operations described in the portal and API documentation for that resource.

The terms that apply to processing by a model provider depend on your deployment and your Argy contract; contact your Argy representative. For text-generation calls, the request is sent to the provider after the filtering described above; OCR and image-generation calls do not go through this filter, and their contents are sent as is.

Limits and caveats

  • Data residency: the geographic location of storage and processing is not described by this page. It depends on your deployment and must be agreed contractually.
  • Retention periods: they are not set by this page.
  • Certifications: no certification is claimed here.
  • Model providers: retention and location guarantees on the provider side depend on your deployment and your Argy contract.
  • Filtering: a filter reduces risk; it does not guarantee the complete absence of sensitive data in free text. A review of your use cases remains necessary.

See also