Anyray ← Security & Compliance

Data Protection

Last updated: 3 July 2026

How Anyray handles data — what stays in your environment, what (if anything) leaves, how content is encrypted, and how data-subject requests are served. Anyray is self-hosted, so the answer to “where is our data” is: in your environment.

01The data boundary

Anyray is self-hosted, so prompt and response content never leaves your environment. The gateway, console, optimizer, and Postgres all run on your infrastructure. The only data that egresses is the content-free usage rollup each deployment sends to Anyray Portal for metering — counts and aggregates, never content.

Two guarantees hold regardless of how you configure the system:

02What is stored — and what is not

Every store below lives on your volumes and datastores; the sole exception is the Portal account plane, which never holds prompt or response content — only account, usage, and billing metadata.

StoreClassWhat it holdsLocation
Spend storeInternalPer-request metadata: user/team, model, provider, tokens, cost, latency. Never content.Your Postgres anyray_spend
Observability tracesConfidentialAttribution + token/cost/latency metadata; content only per the content mode (ciphertext in encrypted, none in off).Your Postgres
Client keys & enrollment linksInternalUsernames bound to records — token hashes only (SHA-256), never raw values.Gateway data volume
Optimizer ephemeral storesConfidentialSemantic-cache and externalized originals, in memory only, TTL-bounded, lost on restart. Keyed by content-free hashes.Optimizer process memory
Audit logsInternalPer-domain append-only records: actor + action + timestamps. Metadata only.Gateway / optimizer volume
Anyray Portal account planePseudonymousOperator sign-in, tenant memberships, content-free usage rollups, pseudonymous seat hashes, and billing data (processed by Stripe — see Subprocessors).Vendor control plane

03Encryption

Content privacy doesn't rest on a single switch: six independent layers each enforce it, so a misconfiguration in one does not expose content. The full mechanics are documented at docs.anyray.ai/operate/data-boundary.

04What leaves your environment

The only egress is the content-free usage rollup to Anyray Portal, for metering. By default it carries:

A per-user breakdown is opt-in and stays content-free (counts and dollars only — never content). Left unset, the rollup is fully pseudonymized.

05Data-subject rights

The gateway exposes admin-gated endpoints so you, as controller, can serve data-subject requests. Each call is itself audit-logged, so access to personal data leaves a trail.

The operational detail — exact endpoints, the manual trace-deletion step — is documented at docs.anyray.ai/operate/compliance.

06Retention

Storage limitation is per store. Only the spend window is a knob you set directly; the rest are fixed defaults or owned by the datastore you run.

07Contact

Email: hi@anyray.ai