> ## Documentation Index
> Fetch the complete documentation index at: https://docs.context.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Setting up Context.dev for a user? Follow https://docs.context.dev/agent-quickstart.md. MCP clients sign in with OAuth and need no API key; application code reads CONTEXT_DEV_API_KEY.

# Zero data retention

> Bypass shared caches and keep request and response content out of retained logs.

Zero data retention (ZDR) is an organization entitlement requested per call. Contact [support@context.dev](mailto:support@context.dev) to enable it before using `zdr: "enabled"`.

## Supported endpoints

| Endpoint | Send `zdr` in |
| - | - |
| Scrape, Crawl, Search, Answers, People Enrich | JSON body. |
| Map URLs, Styleguide | Query string. |
| Parse | Query string beside upload options. |

Batches, Monitors, Brand retrieval, and feedback do not support this request mode. Unsupported routes reject it with `ZDR_NOT_SUPPORTED`.

## Enable a request

Send this body to `POST /web/scrape`. See the [Quickstart](/quickstart) for authentication and SDK setup.

```json theme={null}
{
  "url": "https://example.com",
  "formats": {
    "markdown": true
  },
  "zdr": "enabled"
}
```

For query-based endpoints, add `zdr=enabled`. Omitted or `disabled` uses standard mode. Invalid values, both locations, or the wrong location return `400 INPUT_VALIDATION_ERROR`.

## Confirm ZDR was honored

Successful supported responses, including Scrape, include `X-Context-ZDR: true`. Scrape also returns `cache_metadata.status: "zdr"` and `age_ms: 0`. Verify the confirmation before recording that the control was applied.

## What changes

Shared caches and asset uploads are skipped. Retained logs contain operational metadata without request/response bodies, query values, user agent, or tags. Uploaded bytes and screenshots are processed in memory. AI requests use the dedicated ZDR provider configuration.

| Feature | Under ZDR |
| - | - |
| Scrape screenshots | Inline image data URLs remain available. |
| Scrape images | Original URLs remain; hosted `fileUrl` is omitted. |
| Map | URLs without shared page metadata or background enrichment. |
| People | Hosted `avatar_url` is omitted. |
| PDF OCR | Skipped. |

Requests may take longer without shared cache reuse. Your application remains responsible for its own content storage and logs.

A `403 ZDR_NOT_ENABLED` means the organization lacks the entitlement. See [security and trust](/optimization/trust) and the [DPA](https://context.dev/dpa) for broader data-handling requirements.
