Documentation Index
Fetch the complete documentation index at: https://concentrate.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Zero Data Retention (ZDR) and request logging are key-level data retention controls that determine how your data flows through the system.- ZDR restricts routing to only providers with certified zero data retention policies — your prompts and completions are never stored by the upstream provider.
- Request logging controls whether Concentrate stores your request and response content for conversation history and audit purposes.
ZDR and logging are key-level settings, not request-body parameters. Configure them once on an API key and use that key normally with any of our inference endpoints.
Configure in Dashboard
Key-Level Settings
- Go to API Keys
- Create or edit a key
- Under Data Retention, configure:
- Zero Data Retention (Providers) — when enabled, only ZDR-certified providers are used
- Enable Request Logging — when enabled, full request/response content is stored (encrypted) for conversation history
Organization-Level Enforcement
Organization admins can enforce data retention policies across all keys in the organization:- Go to Organization Settings
- Under Data Retention, toggle enforcement for ZDR and/or logging
- Enforced settings lock the corresponding toggle on all keys in the organization
Enforcement Hierarchy
Data retention policies cascade from the highest organizational level down to individual keys:| Level | Scope | Can enforce on |
|---|---|---|
| Organization | All keys in the org | Teams, users, and their keys |
| Team | All keys owned by team members | Team member keys |
| User | All keys owned by the user | User’s own keys |
| Key | Single key | Only itself (if not locked by a higher level) |
zdr and logging) is resolved independently. A key tracks which level set each policy via a policy_source field ("org", "team", "user", or "key").
When a higher level releases enforcement, keys revert to their own settings unless another enforcer still applies.
How ZDR Affects Routing
When ZDR is enabled on a key, the routing system only considers providers whose models have a certified ZDR policy. Non-ZDR providers are excluded entirely — even if they would otherwise be the best match for cost, latency, or performance.422 error rather than falling back to a non-ZDR provider:
ZDR enforcement is strict by design. The system will never silently route to a non-ZDR provider, even as a fallback.
ZDR-Supported Providers
Models that support ZDR include azdr field with links to the provider’s data retention policy and certification:
"zdr": false.
How Logging Works
Request logging controls whether your request and response content is persisted by Concentrate.When Logging is Enabled
- Full request body and response body are encrypted and stored
- Conversation history is available in the dashboard
- Redaction summaries (if guardrails are active) are stored alongside the encrypted content
When Logging is Disabled (Default)
- Request and response content is not stored — the
requestandresponsefields are set tonullbefore persistence - Redaction data is also stripped
- Basic request metadata (status code, elapsed time, model, provider) is still logged for operational purposes
- Token usage and cost are still tracked for billing
Logging is disabled by default. New keys start with logging disabled, following a privacy-first approach.
What Is Always Logged
Regardless of the logging setting, the following metadata is always recorded:| Field | Purpose |
|---|---|
| API key reference | Request attribution |
| URL and status code | Operational monitoring |
| Elapsed time | Performance tracking |
| Model and provider | Routing analytics |
| Token usage (input/output) | Billing |
| Cost (USD) | Billing |
Defaults
| Setting | Default | Notes |
|---|---|---|
| ZDR | Disabled | All providers available for routing |
| Logging | Disabled | No request/response content stored |
| Enforcement | None | No org/team/user level enforcement |
Best Practices
Use ZDR for regulated workloads
Use ZDR for regulated workloads
Enable ZDR on keys used for healthcare, financial, or other regulated data. This guarantees upstream providers will not retain your data, backed by their certified policies.
Enable logging for debugging
Enable logging for debugging
Turn on logging during development or when debugging issues. You can view full request/response history in the dashboard. Disable it in production if you don’t need conversation history.
Enforce at the org level for compliance
Enforce at the org level for compliance
If your organization requires ZDR across all workloads, enforce it at the organization level. This locks the setting on every key and prevents individual users from disabling it.
Combine ZDR with provider restrictions
Combine ZDR with provider restrictions
For maximum control, combine ZDR with the
routing.providers parameter to limit requests to a specific set of approved, ZDR-certified providers:Check model ZDR support before pinning
Check model ZDR support before pinning
Before pinning a specific model with ZDR enabled, verify it has ZDR-certified providers available. Use the List Models endpoint to check the
zdr field.Related Documentation
Routing
How routing selects providers and handles ZDR filtering
Guardrails & Redaction
API-key level redaction for input/output safety
List Models
Check ZDR support on available models
Error Handling
Handle ZDR-related 422 errors