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

# Privacy classes

> Pick a per-call privacy class — Standard, Protected, Private Gateway, or Confidential.

MESH classifies every call into one of four privacy classes. The class controls upstream
selection, logging behaviour, and the privacy block returned in the response. The router
enforces the class — it cannot be silently downgraded.

```json theme={null}
{
  "model": "auto",
  "privacy": {
    "class": "protected_provider_route"
  },
  "messages": [{ "role": "user", "content": "sensitive prompt" }]
}
```

The legacy form is still accepted; `mode: "mesh"` maps to `private_gateway_route` and
`mode: "standard"` maps to `standard_route`. New code should prefer `class`.

```json theme={null}
{
  "model": "auto",
  "privacy": { "mode": "mesh" },
  "messages": [{ "role": "user", "content": "private request" }]
}
```

Read the full guarantees, refusal contract, and signed-receipt scope on
[MESH privacy classes](/privacy/mesh).
