One read of Claude Documentationclaude-docs-20261112T224454Z
5 pages moved out of 291 read.
Pages moved
5
significant first
Pages read
291
in this capture
Captured
22:44 UTC
Corpus hash
8774b4094244
corpus-hash
What this read moved
1-5 of 5government/org-admin/admin-api-keys Changed · +6 / -6 lines
from line 1
11# Admin API keys
22
3> Admin API keys let organization owners give a script read-only access to audit events, and let Primary Owners give it access to usage reports.
3> Admin API keys let organization owners give a script read-only access to their organization's audit events, usage reports, or both.
44
55> **Who this is for:** Owners and Primary Owners who create keys for the security, finance, or reporting tools that read their organization's data.
66
from line 14
1414
1515You choose what a key can read when you create it, and you can't change the choice afterward.
1616
17You can select a choice when your role allows it and its setting is on.
17Owners, Primary Owners, and tenant administrators can select each choice when its setting is on.
1818
19| **This key can read** | Who can select it | Setting that must be on |
20| - | - | - |
21| **Compliance activity feed**, for the [Compliance API](https://claude.com/docs/government/org-admin/compliance-api.md) | Owners, Primary Owners, and tenant administrators | [**Compliance API**](https://claude.com/docs/government/config/settings.md#compliance-api) |
22| **Usage and cost reports**, for the [Analytics API](https://claude.com/docs/government/org-admin/analytics-api.md) | Primary Owners | [**Analytics API**](https://claude.com/docs/government/config/settings.md#analytics-api) |
19| **This key can read** | Setting that must be on |
20| - | - |
21| **Compliance activity feed**, for the [Compliance API](https://claude.com/docs/government/org-admin/compliance-api.md) | [**Compliance API**](https://claude.com/docs/government/config/settings.md#compliance-api) |
22| **Usage and cost reports**, for the [Analytics API](https://claude.com/docs/government/org-admin/analytics-api.md) | [**Analytics API**](https://claude.com/docs/government/config/settings.md#analytics-api) |
2323
2424A key with **Usage and cost reports** can read each member's usage and estimated cost, by the hour, with the member's name and email address. Neither API returns conversation content, files, or anything your users type into Claude.
2525
government/org-admin/analytics-api Changed · +3 / -3 lines
from line 1
11# Analytics API
22
3> The Analytics API returns your organization's token usage and estimated cost by day, hour, member, product, or model. A Primary Owner creates the key.
3> The Analytics API returns your organization's token usage and estimated cost by day, hour, member, product, or model.
44
55> **Who this is for:** Organization owners and the teams who need their organization's usage and estimated cost in their own tools.
66
from line 10
1010
1111The API is off by default. To start using it:
1212
131. As an Owner or a Primary Owner, go to **Settings > Config** in the [organization admin portal](https://claude.com/docs/government/org-admin/overview.md#who-can-access-it), expand **Analytics API** under **Admin Console**, turn on its switch, and click **Save changes**.
142. As a [Primary Owner](https://claude.com/docs/government/org-admin/users.md#understanding-roles), [create an admin API key](https://claude.com/docs/government/org-admin/admin-api-keys.md#create-a-key) with **Usage and cost reports** selected.
131. Go to **Settings > Config** in the [organization admin portal](https://claude.com/docs/government/org-admin/overview.md#who-can-access-it), expand **Analytics API** under **Admin Console**, turn on its switch, and click **Save changes**.
142. [Create an admin API key](https://claude.com/docs/government/org-admin/admin-api-keys.md#create-a-key) with **Usage and cost reports** selected.
1515
1616A key reads only its own organization, so to cover several organizations, create a key in each. Keys from the tenant admin portal don't read usage.
1717
third-party/claude-desktop/code Changed · +40 / -0 lines
### Choose the Auto mode classifier model
from line 19
1919| `inferenceProvider` and all provider credential keys (`inferenceGateway*`, `inferenceAnthropicApiKey`, `inferenceVertex*`, `inferenceBedrock*`, `inferenceFoundry*`, `inferenceCredentialHelper*`) | Selects the inference backend and supplies credentials. Code sessions use the same provider and endpoint as Cowork sessions, and the same credentials unless [your organization's launcher](#start-code-sessions-through-a-corporate-launcher) starts them. |
2020| `inferenceModels` | Populates the model picker. The first entry is the default for new Code sessions. |
2121| `autoModeEnabled` | Controls **Auto mode**. When the key isn't set, Code sessions offer **Auto mode** and new sessions start in it unless the user has already chosen another mode or a Claude Code `permissions.defaultMode` applies. Set it to `false` to remove **Auto mode** from Code and Cowork. Set it to `true` to also offer the mode in Cowork, where it appears as **Automatically approve**. In Code sessions, a separately deployed Claude Code [managed-settings file](#interaction-with-claude-code%E2%80%99s-own-managed-settings) that sets `disableAutoMode` to `"disable"` also keeps **Auto mode** hidden, whatever this key is set to. To change what **Auto mode** allows and blocks, see [Tune the Auto mode classifier](#tune-the-auto-mode-classifier). To have the model provider review actions on a gateway deployment, see [Auto mode checks](https://claude.com/docs/third-party/claude-desktop/gateway.md#auto-mode-checks). |
22| `autoModeClassifierModel` | Sets the model for Claude Code's built-in safety check in **Auto mode**. See [Choose the Auto mode classifier model](#choose-the-auto-mode-classifier-model). |
2223| `scheduledTasksEnabled` | When `false`, the routines list in Code is hidden and Code sessions start without Claude Code's in-session scheduling tools, so the `/loop` command cannot schedule recurring work. Cowork's scheduled tasks are turned off by the same key. |
2324| `disabledBuiltinTools` | Removes the listed tools from Code sessions. A `Read(…)` rule applies to Claude's file tools, and [only in part to shell commands](#file-path-rules-and-shell-commands). Tools your provider does not support, such as WebSearch on Amazon Bedrock, are removed automatically in addition to your list. |
2425| `builtinToolPolicy` | Tools set to `"ask"` require approval on each call in Code sessions, enforced via a PreToolUse hook and Claude Code `permissions.ask` rules. Argument-scoped rules such as `Bash(curl *)` are [applied as managed policy](#applied-as-managed-policy) instead. |
from line 141
140141* **If the device already has a Claude Code managed-settings file, profile, or `HKLM` registry policy, add the `autoMode` block to it.** By default, Claude Code [reads most keys from one managed source](https://code.claude.com/docs/en/managed-settings#how-claude-code-combines-managed-sources), so a second source is either ignored or hides the first.
141142
142143On a device that has the Claude Code CLI, run `claude auto-mode config` in a terminal to check that the CLI reads your entries. It lists your entries among the built-in rules, and any from the user's `~/.claude/settings.json`. It doesn't list the entries that Claude Desktop adds to Cowork sessions and local Code sessions.
144
145### Choose the Auto mode classifier model
146
147In [**Auto mode**](https://claude.com/docs/third-party/claude-desktop/configuration.md#automodeenabled), which Cowork shows as **Automatically approve**, a safety classifier reviews Claude's actions. Except [on a gateway](https://claude.com/docs/third-party/claude-desktop/gateway.md#auto-mode-checks), sessions [ask your model provider for a review first](https://code.claude.com/docs/en/permission-modes#server-side-classifier-review), and Claude Code's built-in safety check takes over when the provider doesn't review the session. The built-in safety check uses Claude Sonnet 5 by default, and [some sessions use a different model](https://code.claude.com/docs/en/permission-modes#default-classifier-model). The model you choose for it doesn't affect your provider's reviews.
148
149Requires Claude Desktop 5.11492.0 or later. To choose the model for Cowork and Code sessions, set [`autoModeClassifierModel`](https://claude.com/docs/third-party/claude-desktop/configuration#automodeclassifiermodel) where your devices [get their configuration](https://claude.com/docs/third-party/claude-desktop/configuration-format.md#which-configuration-source-applies-on-a-device):
150
151* **MDM profile**: add the key
152* **Bootstrap server**: return the key in the response
153* **[In-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md)**: enter the model's ID in the **Auto mode classifier model** field under **Capabilities**
154* **[Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md#configure-claude-desktop)**: open **Organization settings**, go to the **Capabilities** page under **Desktop 3P**, enter the model's ID in the **Auto mode classifier model** field, and click **Save changes**. A device on the [console's configuration](https://claude.com/docs/third-party/claude-desktop/admin-console.md#which-settings-apply-on-a-device-with-a-managed-profile) ignores the key from the other sources.
155
156This example sets Claude Sonnet 4.6. Replace the IDs with your provider's:
157
158```json theme={null}
159{
160 "inferenceModels": ["claude-sonnet-5", "claude-sonnet-4-6"],
161 "autoModeClassifierModel": "claude-sonnet-4-6"
162}
163```
164
165* **Use [your provider's ID](https://claude.com/docs/third-party/claude-desktop/models.md#model-list-and-default-model) for an Anthropic model that it serves.** Claude Desktop ignores a value that it can tell is something else, such as the Claude API's ID on Amazon Bedrock. If the provider refuses the ID, every action that the built-in safety check reviews is [blocked](https://code.claude.com/docs/en/errors#auto-mode-cannot-determine-the-safety-of-an-action).
166* **If you set [`inferenceModels`](https://claude.com/docs/third-party/claude-desktop/configuration#inferencemodels), also list the ID there and in any [permission policy](https://claude.com/docs/third-party/claude-desktop/admin-console.md#per-group-permission-policies) that narrows the model list.** A model that isn't listed doesn't take effect.
167* **Don't use Claude Opus 5, Sonnet 5.5, or Opus 5.5.** These models [can't do the review](https://code.claude.com/docs/en/permission-modes#classifier-model-not-reviewing).
168* **A weaker model may allow actions that the default would block**
169
170Set `autoModeClassifierModel` even if your devices already set [`CLAUDE_CODE_AUTO_MODE_MODEL`](https://code.claude.com/docs/en/permission-modes#choose-the-classifier-model), Claude Code's environment variable for this model:
171
172* **In [Claude Code managed settings](https://code.claude.com/docs/en/managed-settings) on the device, or in a user's `~/.claude/settings.json`**: Cowork and Code sessions ignore the value
173* **In a user's shell profile, the device's environment variables, or [the variables that a user saves in Code](https://code.claude.com/docs/en/desktop#environment-variables-in-local-sessions)**: Cowork and Code sessions ignore the value. Before Claude Desktop 5.11492.0, Code sessions could use it.
174
175Confirm the change on one device:
176
1771. Quit and reopen Claude Desktop
1782. Start a session in **Auto mode** on a model other than the one you set
1793. Have Claude call a connector tool
1804. Check your provider's or gateway's logs for requests to the model you set
181
182If these requests don't appear, see [When your model doesn't review](https://code.claude.com/docs/en/permission-modes#classifier-model-not-reviewing).
143183
144184### Run vetted connector tools without classifier review
145185
government/org-admin/users Changed · +1 / -1 lines
from line 19
1919
2020* A **User** can use the Claude products but has no admin access.
2121* An **Owner** can access this organization admin portal and manage its users, seats, and settings.
22* A **Primary Owner** can do everything an Owner can, can grant or remove the Primary Owner role, and can create [admin API keys](https://claude.com/docs/government/org-admin/admin-api-keys.md) that read usage and cost reports.
22* A **Primary Owner** can do everything an Owner can, and can grant or remove the Primary Owner role.
2323
2424There are no additional roles such as Billing or Developer. Tenant administrator access is a separate tenant-level membership managed on the [Admins](https://claude.com/docs/government/tenant-admin/admins.md) page, not an organization role.
2525
third-party/claude-desktop/gateway Changed · +1 / -1 lines
from line 575
575575
576576In [**Auto mode**](https://claude.com/docs/third-party/claude-desktop/configuration.md#automodeenabled), which Cowork shows as **Automatically approve**, a safety classifier reviews Claude's actions and blocks the ones it judges risky. On a gateway deployment, these can do the review:
577577
578* **Claude Code's built-in safety check (the default)**: it sends its own requests through your gateway, and you pay for them like the rest of your usage. In Cowork, shell commands wait for this check too, which usually adds one request for each command. If every such request fails, each command is refused with no prompt, and the task shows the command as failed. For what your gateway must accept, and for when shell commands aren't checked, see [`autoModeEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#automodeenabled).
578* **Claude Code's built-in safety check (the default)**: it sends its own requests through your gateway, and you pay for them like the rest of your usage. In Cowork, shell commands wait for this check too, which usually adds one request for each command. If every such request fails, each command is refused with no prompt, and the task shows the command as failed. For what your gateway must accept, and for when shell commands aren't checked, see [`autoModeEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#automodeenabled). To use another model for this check, see [Choose the Auto mode classifier model](https://claude.com/docs/third-party/claude-desktop/code.md#choose-the-auto-mode-classifier-model).
579579* **The model provider behind your gateway**: the session asks for the review in its normal request, and the provider returns its verdict with the response. The session sends no separate request for an action that gets a verdict.
580580
581581> [!NOTE]