One read of Claude Developer Platformapi-20261203T143716Z
73 pages moved out of 993 read.
Pages moved
73
significant first
Pages read
993
in this capture
Captured
14:37 UTC
Corpus hash
00d0d16e2e86
corpus-hash
What this read moved
1-25 of 73, page 1 of 3This capture is too large to show at once. Changes 1-25 of 73 are below, significant first; the rest are on the following screens.
about-claude/api-credits-for-subscribers Changed · +5 / -5 lines
from line 66
6666 </Step>
6767
6868 <Step title="Start building">
69 Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Console. Make your first request in the linked organization. See [Get started with Claude](https://platform.claude.com/docs/en/get-started).
69 Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/spending/billing) page (`platform.claude.com/spending/billing`) in the Console. Make your first request in the linked organization. See [Get started with Claude](https://platform.claude.com/docs/en/get-started).
7070 </Step>
7171</Steps>
7272
from line 96
9696* **Order.** Included credits are spent first, then any credits you’ve purchased. Auto-reload is based only on your purchased balance. It reloads when that balance reaches your threshold, even if included credits remain.
9797* **Expiry.** Unused credits expire at the end of each billing cycle (or monthly for annual plans) and don’t roll over.
9898* **Sharing.** All usage of the [covered products](https://platform.claude.com/docs/en/about-claude/api-credits-for-subscribers#what-the-credits-cover) in the linked organization draws from the same balance. To cap spending on a project, give it its own workspace and set that workspace’s [spend limit](https://platform.claude.com/docs/en/manage-claude/workspaces#setting-workspace-limits).
99* **Visibility.** Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Console, with the amount and expiry date.
99* **Visibility.** Your credits appear in the **Promotional credits** section of the [Billing](https://platform.claude.com/spending/billing) page (`platform.claude.com/spending/billing`) in the Console, with the amount and expiry date.
100100* **Your Claude plan.** Credits don’t change your usage limits in Claude or Claude Code.
101101
102102## Spend limits and rate limits
from line 110
110110### When credits run out
111111
112112* **If the organization has other credits**, requests continue using purchased credits. Auto-reload, if it’s turned on, adds credits to the purchased balance.
113* **If the organization has no credits left**, API requests stop until your next monthly API credits arrive. Usage is never charged to your Claude plan. To keep building, purchase credits or turn on auto-reload on the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Console.
113* **If the organization has no credits left**, API requests stop until your next monthly API credits arrive. Usage is never charged to your Claude plan. To keep building, purchase credits or turn on auto-reload on the [Billing](https://platform.claude.com/spending/billing) page (`platform.claude.com/spending/billing`) in the Console.
114114* **If your organization is invoiced through Anthropic sales**, usage beyond the API credits is billed as usual.
115115
116116When the balance is exhausted, requests return:
from line 122
122122If an organization holds only these credits and sends a request they don’t cover, such as a Claude Code session, Claude Code displays:
123123
124124```text wrap
125Credit balance too low · Add funds: https://platform.claude.com/settings/billing
125Credit balance too low · Add funds: https://platform.claude.com/spending/billing
126126```
127127
128128## If your plan changes
from line 141
141141* Choose a model that fits each task. To learn how, see [Choosing the right model](https://platform.claude.com/docs/en/about-claude/models/choosing-a-model).
142142* Use [prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for repeated context.
143143* Use the [Message Batches API](https://platform.claude.com/docs/en/build-with-claude/batch-processing) for work that doesn’t need an immediate response. It costs 50 percent less.
144* Check [pricing](https://platform.claude.com/docs/en/about-claude/pricing) and track spend on the [Cost](https://platform.claude.com/cost) page in the Claude Console.
144* Check [pricing](https://platform.claude.com/docs/en/about-claude/pricing) and track spend on the [Cost](https://platform.claude.com/spending/cost) page in the Claude Console.
145145
146146## Related
147147
about-claude/pricing Changed · +3 / -3 lines
from line 548
548548* Dedicated support
549549* Custom terms
550550
551To discuss enterprise pricing options, email [[email protected]](mailto:[email protected]) or [contact sales from the Claude Console](https://platform.claude.com/usage/limits).
551To discuss enterprise pricing options, email [[email protected]](mailto:[email protected]) or [contact sales from the Claude Console](https://platform.claude.com/spending/rate-limits).
552552
553553## Billing and payment
554554
from line 567
567567
568568The Claude API has no free tier or self-serve trial, and new accounts don’t include free credits. To get started, do one of the following:
569569
570* Buy credits on the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Claude Console. The minimum purchase is $5 USD.
570* Buy credits on the [Billing](https://platform.claude.com/spending/billing) page (`platform.claude.com/spending/billing`) in the Claude Console. The minimum purchase is $5 USD.
571571* If you have a Claude Max, Ultra, or Team plan, claim the monthly API credits it includes. See [API credits for Max, Ultra, and Team plans](https://platform.claude.com/docs/en/about-claude/api-credits-for-subscribers).
572572* If you’re evaluating the Claude API for enterprise use, [contact sales](https://claude.com/contact-sales) about a trial.
573573
from line 577
577577
578578### What payment methods are accepted?
579579
580Major credit cards are accepted for standard accounts. To buy credits or manage your payment methods, go to the [Billing](https://platform.claude.com/settings/billing) page (`platform.claude.com/settings/billing`) in the Claude Console. Enterprise customers can arrange invoicing and other payment methods.
580Major credit cards are accepted for standard accounts. To buy credits or manage your payment methods, go to the [Billing](https://platform.claude.com/spending/billing) page (`platform.claude.com/spending/billing`) in the Claude Console. Enterprise customers can arrange invoicing and other payment methods.
581581
582582For additional questions about pricing, contact [[email protected]](mailto:[email protected]).
583583
agents-and-tools/mcp-tunnels/console Changed · +4 / -4 lines
from line 25
2525
2626<Steps>
2727 <Step title="Open the MCP tunnels page">
28 In the Claude Console, go to the [MCP tunnels](https://platform.claude.com/settings/workspaces/default/mcp-tunnels) page (`platform.claude.com/settings/workspaces/default/mcp-tunnels`). Tunnels are workspace-scoped; the new tunnel belongs to the workspace currently selected in the Console. Select the workspace you want in the workspace picker in the sidebar.
28 In the Claude Console, go to the [MCP tunnels](https://platform.claude.com/workspaces/default/resources/mcp-tunnels) page (`platform.claude.com/workspaces/default/resources/mcp-tunnels`). Tunnels are workspace-scoped; the new tunnel belongs to the workspace currently selected in the Console. Select the workspace you want in the workspace picker in the sidebar.
2929 </Step>
3030
3131 <Step title="Name the tunnel">
from line 37
3737
3838 Programmatic access relies on [Workload Identity Federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation); read that page first if federation issuers, rules, and service accounts are unfamiliar. To turn the toggle on you need:
3939
40 1. **A registered OIDC issuer** for the identity provider your stack presents tokens from (such as a Kubernetes cluster, AWS IAM, Google Cloud, or GitHub Actions). Register one on the **Issuers** tab of the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page (`platform.claude.com/settings/workload-identity-federation`) in the Claude Console if your organization doesn’t have one.
40 1. **A registered OIDC issuer** for the identity provider your stack presents tokens from (such as a Kubernetes cluster, AWS IAM, Google Cloud, or GitHub Actions). Register one on the **Issuers** tab of the [Workload identity](https://platform.claude.com/keys/workload-identity) page (`platform.claude.com/keys/workload-identity`) in the Claude Console if your organization doesn’t have one.
4141 2. **A federation rule with the `workspace:manage_tunnels` scope.** Turning on the toggle reveals a **Federation rule** picker. Select an existing rule with that scope, or click **Create federation rule** to create one inline.
4242 3. **The rule’s service account added to this workspace.** The Tunnels API authorizes against the service account’s workspace memberships. If you’re creating the tunnel in a workspace other than the organization’s default, [add the service account to that workspace](https://platform.claude.com/docs/en/manage-claude/workspaces#role-inheritance) and pass the workspace ID at deploy time (`api.wif.workspaceId` for Helm, `ANTHROPIC_WORKSPACE_ID` for Compose).
4343
from line 58
5858
5959 | With programmatic access | Without programmatic access |
6060 | ----- | ----- |
61 | The **federation rule ID** (`fdrl_...`) of the rule you selected. The rule is org-level, not stored on the tunnel; find it on the **Rules** tab of the [Workload identity](https://platform.claude.com/settings/workload-identity-federation?tab=rules) page (`platform.claude.com/settings/workload-identity-federation?tab=rules`) in the Claude Console. | The **tunnel token**, revealed with the eye icon next to **Token** on the detail page. Treat it as a secret. See [Get the connection details](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/console#get-the-connection-details). |
61 | The **federation rule ID** (`fdrl_...`) of the rule you selected. The rule is org-level, not stored on the tunnel; find it on the **Rules** tab of the [Workload identity](https://platform.claude.com/keys/workload-identity?tab=rules) page (`platform.claude.com/keys/workload-identity?tab=rules`) in the Claude Console. | The **tunnel token**, revealed with the eye icon next to **Token** on the detail page. Treat it as a secret. See [Get the connection details](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/console#get-the-connection-details). |
6262 | The **organization ID** (a UUID), shown on the [Organization](https://platform.claude.com/settings/organization) page (`platform.claude.com/settings/organization`) in the Claude Console. | A **CA certificate** that you generate and [register on the tunnel](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/console#add-a-ca-certificate). |
6363
6464 With programmatic access, your stack fetches the tunnel token through the Tunnels API, generates the CA and server certificate locally (the private key never leaves your environment), and registers only the CA’s public certificate with Anthropic. You’re still responsible for securing the private keys and renewing the server certificate before it expires.
from line 156
156156
157157Archiving immediately stops the tunnel from accepting connections and is permanent.
158158
159In the Claude Console, go to the [MCP tunnels](https://platform.claude.com/settings/workspaces/default/mcp-tunnels) page (`platform.claude.com/settings/workspaces/default/mcp-tunnels`). In the workspace picker in the sidebar, select the workspace that holds the tunnel. Open the row menu for the tunnel and select **Archive**. Archived tunnels remain visible when you filter the list by **Archived** or **All**.
159In the Claude Console, go to the [MCP tunnels](https://platform.claude.com/workspaces/default/resources/mcp-tunnels) page (`platform.claude.com/workspaces/default/resources/mcp-tunnels`). In the workspace picker in the sidebar, select the workspace that holds the tunnel. Open the row menu for the tunnel and select **Archive**. Archived tunnels remain visible when you filter the list by **Archived** or **All**.
160160
161161## Next steps
162162
api/rate-limits Changed · +10 / -10 lines
from line 20
2020* Limits are designed to prevent API abuse, while minimizing impact on common customer usage patterns.
2121* Limits are defined by **usage tier**. Organizations are placed on a tier automatically based on usage history and account standing and can move to a higher tier over time as they use the API.
2222* New organizations and organizations with limited usage history may start in the Evaluation tier, with limits below the standard limits shown on this page while account history is established. These starting limits are part of how Anthropic prevents fraud and abuse, and they increase automatically as your organization builds usage history.
23* Limits are set at the organization level. You can see your organization’s tier and current limits on the [Rate limits](https://platform.claude.com/usage/limits) page (`platform.claude.com/usage/limits`) in the [Claude Console](https://platform.claude.com/). On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, that page shows **Custom tier** for every organization, whatever its usage tier.
23* Limits are set at the organization level. You can see your organization’s tier and current limits on the [Rate limits](https://platform.claude.com/spending/rate-limits) page (`platform.claude.com/spending/rate-limits`) in the [Claude Console](https://platform.claude.com/). On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, that page shows **Custom tier** for every organization, whatever its usage tier.
2424* You might hit rate limits over shorter time intervals. For instance, a rate of 60 requests per minute (RPM) might be enforced as 1 request per second. Short bursts of requests can exceed the limit and trigger rate limit errors.
2525* The following limits are the standard limits for each tier. If you need higher limits, see [Requesting higher limits](https://platform.claude.com/docs/en/api/rate-limits#requesting-higher-limits).
2626* The API uses the [token bucket algorithm](https://en.wikipedia.org/wiki/Token_bucket) to do rate limiting. This means that your capacity is continuously replenished up to your maximum limit, rather than being reset at fixed intervals.
from line 32
3232 **[Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws):** The same monthly spend caps apply, and requests stop at the cap in the same way. Billing and tier increases work differently; see [Spend limits on Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#spend-limits).
3333</Note>
3434
35Each of the Start, Build, and Scale tiers carries a monthly spend cap. The cap is the maximum your organization can spend on the API each calendar month. You can view your organization’s monthly spend cap and set your own limit under [Spend limits in the Claude Console](https://platform.claude.com/settings/spend-limits) (`platform.claude.com/settings/spend-limits`).
35Each of the Start, Build, and Scale tiers carries a monthly spend cap. The cap is the maximum your organization can spend on the API each calendar month. You can view your organization’s monthly spend cap and set your own limit under [Spend limits in the Claude Console](https://platform.claude.com/spending/spend-limits) (`platform.claude.com/spending/spend-limits`).
3636
3737| Usage tier | Monthly spend cap |
3838| ----- | ----- |
from line 68
6868
6969<Steps>
7070 <Step title="Navigate to your spend limits">
71 Go to [Spend limits in the Claude Console](https://platform.claude.com/settings/spend-limits) (`platform.claude.com/settings/spend-limits`).
71 Go to [Spend limits in the Claude Console](https://platform.claude.com/spending/spend-limits) (`platform.claude.com/spending/spend-limits`).
7272 </Step>
7373
7474 <Step title="Open the spend limit editor">
from line 118
118118
119119**Example:** With a 2,000,000 ITPM limit and an 80 percent cache hit rate, you could effectively process 10,000,000 total input tokens per minute (2M uncached + 8M cached), because cached tokens don’t count toward your rate limit. Those cached tokens are billed at the [cache read rate](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#pricing), a fraction of the base input price.
120120
121To get the highest throughput within your rate limits, cache repeated content such as system instructions and prompts, large context documents, tool definitions, and conversation history; see [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for guidance. With effective caching, you can substantially increase your actual throughput without raising your rate limits. Monitor your cache hit rate on the [Usage](https://platform.claude.com/usage) page in the Claude Console to tune your caching strategy.
121To get the highest throughput within your rate limits, cache repeated content such as system instructions and prompts, large context documents, tool definitions, and conversation history; see [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) for guidance. With effective caching, you can substantially increase your actual throughput without raising your rate limits. Monitor your cache hit rate on the [Usage](https://platform.claude.com/spending/api-usage) page in the Claude Console to tune your caching strategy.
122122
123123OTPM rate limits are evaluated in real time as output tokens are produced, counting only the actual tokens generated. The `max_tokens` parameter does not factor into OTPM rate limit calculations, so there is no rate limit downside to setting a higher `max_tokens` value.
124124
125Each row in the following tables has its own RPM, ITPM, and OTPM limits. Some rows cover several models that share one limit; see the notes that follow the tables. You can check your current rate limits and behavior on the [Rate limits](https://platform.claude.com/usage/limits) page in the Claude Console, or read the configured limits and set workspace limits programmatically with the [Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api).
125Each row in the following tables has its own RPM, ITPM, and OTPM limits. Some rows cover several models that share one limit; see the notes that follow the tables. You can check your current rate limits and behavior on the [Rate limits](https://platform.claude.com/spending/rate-limits) page in the Claude Console, or read the configured limits and set workspace limits programmatically with the [Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api).
126126
127127<Note>
128128 Rate limits are shared across all `inference_geo` values. Requests with `inference_geo: "us"` and `inference_geo: "global"` draw from the same rate limit pool.
from line 175
175175 </Tab>
176176
177177 <Tab title="Custom tier">
178 If you need limits higher than the Scale tier, contact sales through the [Rate limits](https://platform.claude.com/usage/limits) page in the Claude Console. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, use **Request higher limits** on that page if you see it.
178 If you need limits higher than the Scale tier, contact sales through the [Rate limits](https://platform.claude.com/spending/rate-limits) page in the Claude Console. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, use **Request higher limits** on that page if you see it.
179179 </Tab>
180180</Tabs>
181181
from line 227
227227 </Tab>
228228
229229 <Tab title="Custom tier">
230 If you need limits higher than the Scale tier, contact sales through the [Rate limits](https://platform.claude.com/usage/limits) page in the Claude Console. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, use **Request higher limits** on that page if you see it.
230 If you need limits higher than the Scale tier, contact sales through the [Rate limits](https://platform.claude.com/spending/rate-limits) page in the Claude Console. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, use **Request higher limits** on that page if you see it.
231231 </Tab>
232232</Tabs>
233233
from line 250
250250
251251Claude Fable 5.2, Claude Mythos 5.2, and Claude Opus 5.5 have a default fast mode rate limit. The default limit applies in the Start, Build, and Scale tiers. You don’t need to request fast mode access for these models. Organizations in the Evaluation tier can use fast mode with these models once they move to the Start, Build, or Scale tier.
252252
253To see your fast mode rate limits, go to the [Rate limits](https://platform.claude.com/usage/limits) page in the Claude Console. When you exceed your fast mode rate limits, the API returns a `429` error with a `retry-after` header.
253To see your fast mode rate limits, go to the [Rate limits](https://platform.claude.com/spending/rate-limits) page in the Claude Console. When you exceed your fast mode rate limits, the API returns a `429` error with a `retry-after` header.
254254
255255The response includes `anthropic-fast-*` headers that indicate your fast mode rate limit status. See [Fast mode rate limits](https://platform.claude.com/docs/en/build-with-claude/fast-mode#rate-limits) for details on these headers.
256256
257257### Monitoring your rate limits in the Console
258258
259You can monitor your rate limit usage on the [Usage](https://platform.claude.com/usage) page of the [Claude Console](https://platform.claude.com/).
259You can monitor your rate limit usage on the [Usage](https://platform.claude.com/spending/api-usage) page of the [Claude Console](https://platform.claude.com/).
260260
261261In addition to providing token and request charts, the **Usage** page provides two separate rate limit charts. Use these charts to see what headroom you have to grow, identify when you might be hitting peak use, understand what rate limits to request, and learn how to improve your caching rates. The charts visualize a number of metrics for a given rate limit (for example, for each model):
262262
from line 273
273273
274274## Requesting higher limits
275275
276To request higher rate limits or a higher monthly spend cap, use **Request tier increase** on the [Rate limits](https://platform.claude.com/usage/limits) page in the Claude Console. Anthropic support can also raise limits; for urgent needs, contact [Anthropic support](https://support.claude.com).
276To request higher rate limits or a higher monthly spend cap, use **Request tier increase** on the [Rate limits](https://platform.claude.com/spending/rate-limits) page in the Claude Console. Anthropic support can also raise limits; for urgent needs, contact [Anthropic support](https://support.claude.com).
277277
278278<Note>
279279 **[Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws):** On the **Rate limits** page, the button for rate limits and the spend cap is **Request higher limits**. To use it, you need the [Admin role](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#signing-in) in the Claude Console and the `ListAccountRateLimitIncreaseRequests` and `CreateAccountRateLimitIncreaseRequest` IAM actions. For what to include, who can’t use the button, and other ways to ask, see [Rate limits and quotas on Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#rate-limits-and-quotas).
build-with-claude/claude-platform-on-aws Changed · +4 / -4 lines
from line 865
865865| **Rate limits** | Yes | No (except the **Request higher limits** button) | View rate limits. With the Admin role, you can also request higher limits; see [Rate limits and quotas](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#rate-limits-and-quotas). |
866866| **Logs** | Yes (Admin role) | No | View per-request metadata such as time, model, workspace, token counts, and status. Log entries do not include prompts or responses. |
867867| **Workspaces** | Yes | Yes (except spend limits) | View per-region workspaces. With the Admin role, you can also create, rename, and archive workspaces. |
868| **Encryption keys** | Yes | Yes | A section of the [Data retention](https://platform.claude.com/settings/privacy#encryption-keys) page (`platform.claude.com/settings/privacy`) in the Claude Console, shown while **Organization** is selected in the dropdown menu at the top of the page. Register AWS KMS keys there (Admin role), as described in [Set up CMEK on Claude Platform on AWS](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws). To attach a registered key to a workspace, select the workspace from that dropdown menu, then select the key under **Encryption key**. |
869| **HIPAA compliance** | Yes (Admin role) | No | A card in [Data retention in the Claude Console](https://platform.claude.com/settings/privacy) (`platform.claude.com/settings/privacy`), for organizations with an active private offer. See [how to enable HIPAA readiness](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#hipaa-readiness). |
868| **Encryption keys** | Yes | Yes | A section of the [Data retention](https://platform.claude.com/data-controls/retention#encryption-keys) page (`platform.claude.com/data-controls/retention`) in the Claude Console, shown while **Organization** is selected in the dropdown menu at the top of the page. Register AWS KMS keys there (Admin role), as described in [Set up CMEK on Claude Platform on AWS](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws). To attach a registered key to a workspace, select the workspace from that dropdown menu, then select the key under **Encryption key**. |
869| **HIPAA compliance** | Yes (Admin role) | No | A card in [Data retention in the Claude Console](https://platform.claude.com/data-controls/retention) (`platform.claude.com/data-controls/retention`), for organizations with an active private offer. See [how to enable HIPAA readiness](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#hipaa-readiness). |
870870| **Files** | Yes | Yes | View and manage uploaded files. |
871871| **Skills** | Yes | Yes | View and manage Agent Skills. |
872872| **Batches** | Yes | Yes | View and manage batch processing jobs. |
from line 901
901901
9029021. [Sign in to the Claude Console](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#signing-in) with the Admin role.
903903
9042. Go to [Rate limits in the Claude Console](https://platform.claude.com/usage/limits) (`platform.claude.com/usage/limits`) and click **Request higher limits**.
9042. Go to [Rate limits in the Claude Console](https://platform.claude.com/spending/rate-limits) (`platform.claude.com/spending/rate-limits`) and click **Request higher limits**.
905905
906906 <Frame caption="The button is at the top right of the Rate limits page.">
907907 
from line 944
944944
945945The Start, Build, and Scale usage tiers each carry a monthly spend cap; see the [per-tier spend caps](https://platform.claude.com/docs/en/api/rate-limits#spend-limits) for current values. When your organization’s usage for the calendar month reaches its tier’s cap, API requests fail with HTTP 429 (see the [spend-cap error](https://platform.claude.com/docs/en/api/rate-limits#reaching-your-spend-cap)). Retrying doesn’t succeed until 00:00 UTC on the first day of the next month, or until your organization moves to a higher tier. To raise the cap, or to restore access sooner, request a higher tier (see [Rate limits and quotas](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#rate-limits-and-quotas)).
946946
947With the Admin role, you can also set your own monthly spend limits below the cap, in US dollars at list prices. First, [open the Claude Console](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#using-the-claude-console) and go to [Spend limits in the Claude Console](https://platform.claude.com/settings/spend-limits) (`platform.claude.com/settings/spend-limits`). A limit needs at least one email recipient. Add one to **Email recipients** under **Organization limit**, which covers both kinds of limit. For a workspace limit, a recipient under **Workspace limits** is enough. Then set the limit:
947With the Admin role, you can also set your own monthly spend limits below the cap, in US dollars at list prices. First, [open the Claude Console](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#using-the-claude-console) and go to [Spend limits in the Claude Console](https://platform.claude.com/spending/spend-limits) (`platform.claude.com/spending/spend-limits`). A limit needs at least one email recipient. Add one to **Email recipients** under **Organization limit**, which covers both kinds of limit. For a workspace limit, a recipient under **Workspace limits** is enough. Then set the limit:
948948
949949* **Organization spend limit:** Under **Organization limit**, click **Set limit** or **Adjust limit** next to **Monthly spend limit**.
950950* **Workspace spend limits:** Under **Workspace limits**, select a workspace from the dropdown menu. Then click **Set limit** or **Adjust limit** next to **Monthly spend limit**.
home Changed · +3 / -3 lines
from line 15
1515 Quickstart
1616 </HomeQuickChip>
1717
18 <HomeQuickChip icon="Key" href="https://platform.claude.com/settings/keys">
18 <HomeQuickChip icon="Key" href="https://platform.claude.com/keys/api-keys">
1919 Get API key in Claude Console
2020 </HomeQuickChip>
2121
from line 335
335335 Administering Claude
336336 </HomeJourneyLink>
337337
338 <HomeJourneyLink icon="lock" href="https://platform.claude.com/settings/keys">
338 <HomeJourneyLink icon="lock" href="https://platform.claude.com/keys/api-keys">
339339 API keys in Claude Console
340340 </HomeJourneyLink>
341341
from line 393
393393 Administering Claude
394394 </HomeJourneyLink>
395395
396 <HomeJourneyLink icon="lock" href="https://platform.claude.com/settings/keys">
396 <HomeJourneyLink icon="lock" href="https://platform.claude.com/keys/api-keys">
397397 API keys in Claude Console
398398 </HomeJourneyLink>
399399
manage-claude/api-and-data-retention Changed · +3 / -3 lines
from line 109
109109
110110<Steps>
111111 <Step title="Open your organization’s HIPAA settings">
112 In the Claude Console, go to the [Data privacy](https://platform.claude.com/settings/data-privacy) page (`platform.claude.com/settings/data-privacy`). Organization admins with the HIPAA management permission see a **HIPAA compliance** card there. If the address opens a different page, the card is on that page. If that page has a dropdown menu at the top and you don’t see the card, select **Organization** from it. If your organization is eligible but you can’t open the page or find the option, ask an organization admin to complete these steps.
112 In the Claude Console, go to the [Data privacy](https://platform.claude.com/data-controls/privacy) page (`platform.claude.com/data-controls/privacy`). Organization admins with the HIPAA management permission see a **HIPAA compliance** card there. If the address opens a different page, the card is on that page. If that page has a dropdown menu at the top and you don’t see the card, select **Organization** from it. If your organization is eligible but you can’t open the page or find the option, ask an organization admin to complete these steps.
113113 </Step>
114114
115115 <Step title="Review and execute the BAA">
from line 166
166166
167167<Steps>
168168 <Step title="Open the workspace’s data retention settings">
169 In the Claude Console, go to the [Data retention](https://platform.claude.com/settings/privacy) page (`platform.claude.com/settings/privacy`) and select the workspace from the dropdown menu at the top of the page.
169 In the Claude Console, go to the [Data retention](https://platform.claude.com/data-controls/retention) page (`platform.claude.com/data-controls/retention`) and select the workspace from the dropdown menu at the top of the page.
170170 </Step>
171171
172172 <Step title="Turn on 30-day data retention">
from line 297
297297 </Accordion>
298298
299299 <Accordion title="How do I request HIPAA-ready API access?">
300 Eligible organizations can enable HIPAA readiness directly in the Claude Console: an organization admin reviews and executes Anthropic’s standard BAA on the [Data privacy](https://platform.claude.com/settings/data-privacy) page (`platform.claude.com/settings/data-privacy`). If you can’t open that page or find the option, ask an organization admin to enable HIPAA readiness for you. For the steps, see [Getting started with HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#getting-started-with-hipaa-readiness). If your organization requires a negotiated BAA, contact the [Anthropic sales team](https://claude.com/contact-sales). If an organization admin can’t enable HIPAA readiness in the Console, see [Get help enabling in the Console](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#get-help-enabling-in-the-console).
300 Eligible organizations can enable HIPAA readiness directly in the Claude Console: an organization admin reviews and executes Anthropic’s standard BAA on the [Data privacy](https://platform.claude.com/data-controls/privacy) page (`platform.claude.com/data-controls/privacy`). If you can’t open that page or find the option, ask an organization admin to enable HIPAA readiness for you. For the steps, see [Getting started with HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#getting-started-with-hipaa-readiness). If your organization requires a negotiated BAA, contact the [Anthropic sales team](https://claude.com/contact-sales). If an organization admin can’t enable HIPAA readiness in the Console, see [Get help enabling in the Console](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#get-help-enabling-in-the-console).
301301 </Accordion>
302302
303303 <Accordion title="Does this apply to Amazon Bedrock or Google Cloud?">
manage-claude/api-keys Changed · +7 / -7 lines
from line 35
3535
3636## Key expiration
3737
38You choose a key’s expiration when you create it on the [API keys](https://platform.claude.com/settings/keys) page (`platform.claude.com/settings/keys`) in the Claude Console, and you can’t change the expiration afterward. The choices are:
38You choose a key’s expiration when you create it on the [API keys](https://platform.claude.com/keys/api-keys) page (`platform.claude.com/keys/api-keys`) in the Claude Console, and you can’t change the expiration afterward. The choices are:
3939
4040* A preset: 3 hours, 1 day, 7 days, or 30 days
4141* A custom date and time
from line 62
6262
6363For what each role allows, see [Organization roles and permissions](https://platform.claude.com/docs/en/manage-claude/admin-api#organization-roles-and-permissions) on the Admin API page and [Workspace roles and permissions](https://platform.claude.com/docs/en/manage-claude/workspaces#workspace-roles-and-permissions) on the Workspaces page.
6464
65An organization admin can turn off key creation on the [Security](https://platform.claude.com/settings/identity) page in the Claude Console. **Allow creating new API keys** controls the whole organization. **Allow creating new API keys in default workspace** controls only keys scoped to the default workspace.
65An organization admin can turn off key creation on the [Security](https://platform.claude.com/settings/security) page in the Claude Console. **Allow creating new API keys** controls the whole organization. **Allow creating new API keys in default workspace** controls only keys scoped to the default workspace.
6666
6767If you can’t create the key you need, what to do depends on why:
6868
69* **You have the organization user role:** Use a workspace where you’re a Workspace Developer, Workspace Limited Developer, or Workspace Admin. On the [API keys](https://platform.claude.com/settings/keys) page, click **Create key**. If the dialog first offers other ways to connect, click **Somewhere else** or **Continue with an API key**. Then, set **Scope** to that workspace.
69* **You have the organization user role:** Use a workspace where you’re a Workspace Developer, Workspace Limited Developer, or Workspace Admin. On the [API keys](https://platform.claude.com/keys/api-keys) page, click **Create key**. If the dialog first offers other ways to connect, click **Somewhere else** or **Continue with an API key**. Then, set **Scope** to that workspace.
7070* **Create key is missing or disabled, or the Console says you don’t have permission:** Ask an organization admin. They can change your role, change the key creation settings, or create a service account key for your workload.
7171
7272## Create and use a key
from line 389
389389
390390## Keep a key safe
391391
392Store API keys in a secrets manager, rotate them on a schedule, and disable or delete any key you think has leaked. The [API keys](https://platform.claude.com/settings/keys) page in the Claude Console has two ways to stop a key:
392Store API keys in a secrets manager, rotate them on a schedule, and disable or delete any key you think has leaked. The [API keys](https://platform.claude.com/keys/api-keys) page in the Claude Console has two ways to stop a key:
393393
394394* **Disable** can be undone: **Re-enable** turns the key back on. You can’t re-enable a key while **Allow creating new API keys** is turned off (see [Who can create which key](https://platform.claude.com/docs/en/manage-claude/api-keys#who-can-create-which-key)).
395395* **Delete** is permanent.
from line 408
408408* **Code that you run on your own computer:** Use CLI sign-in. See the Authentication page’s [Sign in with the CLI](https://platform.claude.com/docs/en/manage-claude/authentication#sign-in-with-the-cli) section.
409409* **Other code:** Use a personal or service account key.
410410
411If you need a new service account, an organization admin creates it on the [Service accounts](https://platform.claude.com/settings/service-accounts) page in the Claude Console. The admin also adds it to the workspace.
411If you need a new service account, an organization admin creates it on the [Service accounts](https://platform.claude.com/keys/service-accounts) page in the Claude Console. The admin also adds it to the workspace.
412412
413413To replace a workspace key with a personal or service account key:
414414
from line 415
4154151. **Decide the key type.** This page’s [Key types](https://platform.claude.com/docs/en/manage-claude/api-keys#key-types) section says which to use.
4164162. **Create the new key.** Scope it to the old key’s workspace unless the integration needs more than one workspace. For a service account key, ask an organization admin to create it.
4174173. **Deploy the new key.** Replace the old key wherever the integration reads it, usually the `ANTHROPIC_API_KEY` environment variable or a secrets manager entry. For a key scoped to the organization, also send the `anthropic-workspace-id` header (see [Select a workspace](https://platform.claude.com/docs/en/manage-claude/api-keys#select-a-workspace)).
4184. **Retire the old key.** Disable the workspace key on the [API keys](https://platform.claude.com/settings/keys) page in the Claude Console. Confirm that requests still succeed, then delete it.
4184. **Retire the old key.** Disable the workspace key on the [API keys](https://platform.claude.com/keys/api-keys) page in the Claude Console. Confirm that requests still succeed, then delete it.
419419
420420## Manage keys with the Admin API
421421
422422Organization admins who automate key management can use the endpoints in the [Admin API reference](https://platform.claude.com/docs/en/api/organization), such as [List API Keys](https://platform.claude.com/docs/en/api/organization/api_keys/list) and [Retrieve API Key](https://platform.claude.com/docs/en/api/organization/api_keys/retrieve). For the credentials these endpoints accept, see [Admin API authentication](https://platform.claude.com/docs/en/manage-claude/admin-api#authentication). To get a Console Admin API key, see [Create a key for a Claude Console organization](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-console-organization).
423423
424These endpoints return a partly hidden hint of a key’s secret, never the secret itself. To get a key, create one on the [API keys](https://platform.claude.com/settings/keys) page in the Claude Console.
424These endpoints return a partly hidden hint of a key’s secret, never the secret itself. To get a key, create one on the [API keys](https://platform.claude.com/keys/api-keys) page in the Claude Console.
425425
426426## Special cases
427427
manage-claude/compliance-api-access Changed · +7 / -7 lines
from line 19
1919| Key type | Created in | Used for | Works with the Compliance API? |
2020| ----- | ----- | ----- | ----- |
2121| **Compliance Access Key** (`sk-ant-api01-...`) | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | Activity Feed, chats, files, projects, sessions (in apps such as Cowork and Claude Code), users, organization metadata, and organization settings | Yes (all endpoints but parts of the Safety Cases API) |
22| **Admin API key** (`sk-ant-admin01-...`) | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | The [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) and the Compliance API Activity Feed | Activity Feed and the [Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access), for keys created while that API is available |
22| **Admin API key** (`sk-ant-admin01-...`) | [Admin keys](https://platform.claude.com/keys/admin-keys) page in the Claude Console | The [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) and the Compliance API Activity Feed | Activity Feed and the [Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access), for keys created while that API is available |
2323| **Analytics API key** | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | The Claude Enterprise Analytics API (see [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api)) | No |
24| **Claude API key** (`sk-ant-api03-...`) | [API keys](https://platform.claude.com/settings/keys) page in the Claude Console | Calling Claude models through the [Claude API](https://platform.claude.com/docs/en/api/overview) | No |
24| **Claude API key** (`sk-ant-api03-...`) | [API keys](https://platform.claude.com/keys/api-keys) page in the Claude Console | Calling Claude models through the [Claude API](https://platform.claude.com/docs/en/api/overview) | No |
2525
2626A Claude Enterprise tenant has one **parent organization** that centralizes identity, SSO, and SCIM for every workload organization beneath it. These workload organizations are the parent’s **linked organizations**.
2727
from line 48
4848 Where you enable the Compliance API depends on how your organization is set up:
4949
5050 * **Claude Enterprise organizations:** The primary owner enables the Compliance API at [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access). Enablement occurs at the parent organization level and cascades to every linked organization, both claude.ai and Claude Console.
51 * **Standalone Claude Console organizations:** An organization admin turns on the **Compliance API** toggle on the [Compliance](https://platform.claude.com/settings/security) page (`platform.claude.com/settings/security`) in the Claude Console. Enablement is self-service for eligible organizations, and the change takes effect immediately. If the page shows a page-not-found error, or doesn’t show the **Compliance API** section, three causes are possible. You might not have the admin role. Your organization might be linked to a parent organization. Or your organization might not be eligible for self-service enablement. For a linked organization, the Compliance API is enabled from the parent organization instead. Contact your account team or [Anthropic support](https://support.claude.com) if you are not sure which cause applies.
51 * **Standalone Claude Console organizations:** An organization admin turns on the **Compliance API** toggle on the [Compliance](https://platform.claude.com/data-controls/compliance) page (`platform.claude.com/data-controls/compliance`) in the Claude Console. Enablement is self-service for eligible organizations, and the change takes effect immediately. If the page shows a page-not-found error, or doesn’t show the **Compliance API** section, three causes are possible. You might not have the admin role. Your organization might be linked to a parent organization. Or your organization might not be eligible for self-service enablement. For a linked organization, the Compliance API is enabled from the parent organization instead. Contact your account team or [Anthropic support](https://support.claude.com) if you are not sure which cause applies.
5252 * **Claude Console organizations linked to a parent organization:** There is nothing to turn on in Claude Console. Ask whoever manages your parent organization to enable the Compliance API, or contact your account team.
53 * **Claude Platform on AWS organizations:** With the Admin role, [open the Claude Console](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#using-the-claude-console). Then, turn on the **Compliance API** toggle on the [Compliance](https://platform.claude.com/settings/security) page. You can also call [Update Compliance Settings](https://platform.claude.com/docs/en/api/organization/compliance_settings/update) with AWS credentials. Either way, your IAM principal needs the `UpdateComplianceSettings` action on `Resource: "*"`.
54 * **Claude Models on Google Cloud (Anthropic managed) organizations:** With the `roles/claude.admin` IAM role, [open the Claude Console from the Google Cloud console](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#using-the-claude-console). Then, turn on the **Compliance API** toggle on the [Compliance](https://platform.claude.com/settings/security) page.
53 * **Claude Platform on AWS organizations:** With the Admin role, [open the Claude Console](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#using-the-claude-console). Then, turn on the **Compliance API** toggle on the [Compliance](https://platform.claude.com/data-controls/compliance) page. You can also call [Update Compliance Settings](https://platform.claude.com/docs/en/api/organization/compliance_settings/update) with AWS credentials. Either way, your IAM principal needs the `UpdateComplianceSettings` action on `Resource: "*"`.
54 * **Claude Models on Google Cloud (Anthropic managed) organizations:** With the `roles/claude.admin` IAM role, [open the Claude Console from the Google Cloud console](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#using-the-claude-console). Then, turn on the **Compliance API** toggle on the [Compliance](https://platform.claude.com/data-controls/compliance) page.
5555
5656 <Warning>
5757 **Turning the Compliance API off stops activity recording.** To turn it off, use the same **Compliance API** toggle. If you can’t turn it off, ask your Anthropic account team or [Anthropic support](https://support.claude.com). While the Compliance API is off, no activity events are recorded for your organization, so the [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) receives no new events. Activity that is not recorded while the Compliance API is off cannot be recovered later. Turning the Compliance API back on resumes recording from that point forward; activity that was already recorded is not deleted. Access Transparency events are an exception. If your organization is enrolled in [Access Transparency](https://platform.claude.com/docs/en/manage-claude/access-transparency), turning the Compliance API off stops your access to these events, not their recording. They are still recorded while the Compliance API is off, and the Activity Feed returns them after the Compliance API is turned back on. For Claude Enterprise organizations, the Compliance API setting in claude.ai also governs transcript capture for [local sessions](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions) (sessions on users’ machines). Capture starts when the Compliance API is enabled and stops while it is off. Transcript content from local sessions that run while the Compliance API is off is not captured and cannot be recovered later.
from line 138
138138To inspect the scopes on a key you already have, use one of the following signals.
139139
140140* **Key prefix.** `sk-ant-admin01-` is a Console Admin API key. Of the Compliance API’s scopes, it carries only `read:compliance_activities`, and only if the Compliance API was enabled for the organization when the key was created. The exception is a key created while the Safety Cases API is available, which also carries that API’s scopes. `sk-ant-api01-` is an [Enterprise Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization), with the scopes you selected when you created it. One that holds only Compliance API scopes is also called a Compliance Access Key.
141* **Settings UI.** For a Compliance Access Key, open the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). The **Scopes** column lists each key’s scopes. Console Admin API keys, listed on the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console, have no selectable scopes.
141* **Settings UI.** For a Compliance Access Key, open the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). The **Scopes** column lists each key’s scopes. Console Admin API keys, listed on the [Admin keys](https://platform.claude.com/keys/admin-keys) page (`platform.claude.com/keys/admin-keys`) in the Claude Console, have no selectable scopes.
142142* **Error responses.** A call that exceeds the key’s scopes returns a 403 with a message in the format `Missing required scopes. Got: [<scopes the key carries>] Needed one of: [<scopes the endpoint accepts>]` (`Needed: [...]` on the delete endpoints). See [Handle Compliance API errors](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403-forbidden) for the full error catalog.
143143
144144```json
from line 152
152152
153153## Manage and rotate keys
154154
155Delete a Compliance Access Key in the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Delete a Console Admin API key from the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console.
155Delete a Compliance Access Key in the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Delete a Console Admin API key from the [Admin keys](https://platform.claude.com/keys/admin-keys) page (`platform.claude.com/keys/admin-keys`) in the Claude Console.
156156
157157Deleting a key takes effect on the next request: there is no grace period. Compliance Access Keys do not expire on their own.
158158
manage-claude/compliance-errors Changed · +3 / -3 lines
from line 237
237237**Fix:** Handle each message as follows:
238238
239239* For `API key is invalid.`, compare the value your client sends with the secret you stored when you created the key. The full secret is shown only once, so if your stored copy is wrong, create a new key.
240* For `API key has been deactivated.`, re-enable the key if it was only disabled. Re-enable a Compliance Access Key on the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Re-enable a Console Admin API key on the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console. A deleted key cannot be restored, so create a new key.
240* For `API key has been deactivated.`, re-enable the key if it was only disabled. Re-enable a Compliance Access Key on the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Re-enable a Console Admin API key on the [Admin keys](https://platform.claude.com/keys/admin-keys) page (`platform.claude.com/keys/admin-keys`) in the Claude Console. A deleted key cannot be restored, so create a new key.
241241* For `API key has expired.`, create a new key.
242242
243243To switch your integration to a new key, see [Manage and rotate keys](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#manage-and-rotate-keys).
from line 282
282282**Cause:** A key without `read:compliance_org_data` was used to call an organizations, roles, groups, or effective-settings endpoint, or the Security posture endpoint. There are two common paths to this error:
283283
284284* A Compliance Access Key (`sk-ant-api01-...`) was created without the `read:compliance_org_data` scope.
285* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console can’t hold `read:compliance_org_data`, so it can’t read organization metadata.
285* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/keys/admin-keys) page in the Claude Console can’t hold `read:compliance_org_data`, so it can’t read organization metadata.
286286
287287**Fix:** [Create a new Compliance Access Key](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) with `read:compliance_org_data` selected.
288288
from line 309
309309**Cause:** A key without `read:compliance_user_data` was used to call a chats, messages, files, artifacts, projects, sessions, organization users, user preferences, or group-members endpoint. There are two common paths to this error:
310310
311311* A Compliance Access Key (`sk-ant-api01-...`) was created without the `read:compliance_user_data` scope.
312* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console can’t hold `read:compliance_user_data`.
312* A Console Admin API key (`sk-ant-admin01-...`) was used. A key created on the [Admin keys](https://platform.claude.com/keys/admin-keys) page in the Claude Console can’t hold `read:compliance_user_data`.
313313
314314**Fix:** Use a [Compliance Access Key](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) created in claude.ai with `read:compliance_user_data` selected. If the request really should be Activity Feed only, point the Admin API key at `GET /v1/compliance/activities` instead.
315315
manage-claude/compliance-faq Changed · +3 / -3 lines
from line 12
1212
1313<AccordionGroup>
1414 <Accordion title="Who can enable the Compliance API?">
15 For a Claude Enterprise organization, the primary owner enables the Compliance API at [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access), and enablement cascades from the parent organization to every linked organization. For an eligible standalone Claude Console organization (one with no parent organization), an organization admin enables it on the [Compliance](https://platform.claude.com/settings/security) page (`platform.claude.com/settings/security`) in the Claude Console. A Claude Console organization that is linked to a parent organization does not enable the Compliance API itself; it is enabled from the parent organization. See [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) for the steps.
15 For a Claude Enterprise organization, the primary owner enables the Compliance API at [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access), and enablement cascades from the parent organization to every linked organization. For an eligible standalone Claude Console organization (one with no parent organization), an organization admin enables it on the [Compliance](https://platform.claude.com/data-controls/compliance) page (`platform.claude.com/data-controls/compliance`) in the Claude Console. A Claude Console organization that is linked to a parent organization does not enable the Compliance API itself; it is enabled from the parent organization. See [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) for the steps.
1616 </Accordion>
1717
1818 <Accordion title="Can I turn the Compliance API off after enabling it in Claude Console?">
19 For a standalone Claude Console organization, an organization admin turns the **Compliance API** toggle off on the [Compliance](https://platform.claude.com/settings/security) page (`platform.claude.com/settings/security`) in the Claude Console, the same place it is turned on. If you can’t turn it off, ask your Anthropic account team or [Anthropic support](https://support.claude.com). While the Compliance API is off, no activity events are recorded for your organization, so the [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) receives no new events. Activity that is not recorded while the Compliance API is off cannot be recovered later. Turning the Compliance API back on resumes recording from that point forward; activity that was already recorded is not deleted. Access Transparency events are an exception. If your organization is enrolled in [Access Transparency](https://platform.claude.com/docs/en/manage-claude/access-transparency), turning the Compliance API off stops your access to these events, not their recording. They are still recorded while the Compliance API is off, and the Activity Feed returns them after the Compliance API is turned back on.
19 For a standalone Claude Console organization, an organization admin turns the **Compliance API** toggle off on the [Compliance](https://platform.claude.com/data-controls/compliance) page (`platform.claude.com/data-controls/compliance`) in the Claude Console, the same place it is turned on. If you can’t turn it off, ask your Anthropic account team or [Anthropic support](https://support.claude.com). While the Compliance API is off, no activity events are recorded for your organization, so the [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) receives no new events. Activity that is not recorded while the Compliance API is off cannot be recovered later. Turning the Compliance API back on resumes recording from that point forward; activity that was already recorded is not deleted. Access Transparency events are an exception. If your organization is enrolled in [Access Transparency](https://platform.claude.com/docs/en/manage-claude/access-transparency), turning the Compliance API off stops your access to these events, not their recording. They are still recorded while the Compliance API is off, and the Activity Feed returns them after the Compliance API is turned back on.
2020 </Accordion>
2121
2222 <Accordion title="Does turning the Compliance API off delete events that were already captured?">
from line 147
147147 </Accordion>
148148
149149 <Accordion title="How do I get a sandbox to test the Compliance API?">
150 To test only the [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed), you do not need a Claude Enterprise organization: an organization admin can [enable the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) on an eligible standalone Claude Console test organization and query the feed with a new Admin API key. If that organization’s [Compliance](https://platform.claude.com/settings/security) page (`platform.claude.com/settings/security`) in the Claude Console shows a page-not-found error, or doesn’t show the **Compliance API** section, the organization is not eligible for self-service enablement.
150 To test only the [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed), you do not need a Claude Enterprise organization: an organization admin can [enable the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) on an eligible standalone Claude Console test organization and query the feed with a new Admin API key. If that organization’s [Compliance](https://platform.claude.com/data-controls/compliance) page (`platform.claude.com/data-controls/compliance`) in the Claude Console shows a page-not-found error, or doesn’t show the **Compliance API** section, the organization is not eligible for self-service enablement.
151151
152152 To test every endpoint, set up a Claude Enterprise sandbox organization linked to a Claude Console organization under the same parent. This lets the sandbox exercise both the Activity Feed (through an Admin API key) and the chat, file, project, and session endpoints (through a Compliance Access Key).
153153
manage-claude/enterprise-frontier-safeguards/external-storage Changed · +13 / -13 lines
from line 457
457457
458458<Where method="api" label="Admin API">
459459
460Get the setup file and its commands from the Claude Console, which fills in your values. As an Organization Admin, open the [Data retention](https://platform.claude.com/settings/privacy) page and select **Organization** at the top. Click **Finish setup** beside the bucket you registered, and stop at **Create in AWS**. Run the file as [Create your bucket and its KMS key](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#create-the-bucket) describes. You can also create the same resources another way, as long as they match the file.
460Get the setup file and its commands from the Claude Console, which fills in your values. As an Organization Admin, open the [Data retention](https://platform.claude.com/data-controls/retention) page and select **Organization** at the top. Click **Finish setup** beside the bucket you registered, and stop at **Create in AWS**. Run the file as [Create your bucket and its KMS key](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#create-the-bucket) describes. You can also create the same resources another way, as long as they match the file.
461461
462462</Where>
463463
from line 567
567567
568568Sign in to the Claude Console in the Anthropic organization whose workspaces will use your bucket, because the roles accept only that organization’s ID.
569569
570On the [Data retention](https://platform.claude.com/settings/privacy) page, select **Organization** at the top. Under **Storage destinations**, click **Connect storage**, or click **Finish setup** if you already started the dialog. A storage destination is the Claude Console’s record of your bucket.
570On the [Data retention](https://platform.claude.com/data-controls/retention) page, select **Organization** at the top. Under **Storage destinations**, click **Connect storage**, or click **Finish setup** if you already started the dialog. A storage destination is the Claude Console’s record of your bucket.
571571
572572#### Select your provider
573573
from line 701
701701 Selecting a bucket for a workspace [ties the bucket to this organization](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#before-you-begin). Treat the tie as permanent. Before you select a bucket, check that you’re in the Anthropic organization whose workspaces will use this bucket.
702702</Warning>
703703
704On the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page, select the **Enterprise Frontier Safeguards** card, then select your bucket under **Sealed Safety Data storage**. <Where cloud="aws" label="Claude Platform on AWS">Also select your bucket under **Safety Case and Transcript storage**.</Where> <Where cloud="claude" label="Claude Platform">**Safety Case and Transcript storage** is optional. Without a bucket under it, your team gets Safety Cases only if your organization has [access to the Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access). You can select your bucket under it if your bucket [can receive Transcripts and Safety Cases](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#case-and-transcript-bucket).</Where>
704On the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page, select the **Enterprise Frontier Safeguards** card, then select your bucket under **Sealed Safety Data storage**. <Where cloud="aws" label="Claude Platform on AWS">Also select your bucket under **Safety Case and Transcript storage**.</Where> <Where cloud="claude" label="Claude Platform">**Safety Case and Transcript storage** is optional. Without a bucket under it, your team gets Safety Cases only if your organization has [access to the Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access). You can select your bucket under it if your bucket [can receive Transcripts and Safety Cases](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#case-and-transcript-bucket).</Where>
705705
706706Then, save the workspace. If Anthropic refuses your bucket when you save, see [Troubleshooting](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#troubleshooting).
707707
708Saving turns Anthropic Human Review off, which [can take up to 2 hours](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take). To check that your save worked, make sure that **Case review by** reads **My organization** in the workspace’s side panel on the [Workspaces](https://platform.claude.com/settings/workspaces) page. If **Case review by** doesn’t read **My organization**, open the workspace on the [Data retention](https://platform.claude.com/settings/privacy) page and click **Save** again, even if you’ve changed nothing. If you can’t, or **Case review by** still doesn’t read **My organization**, contact your Anthropic account team before you send real traffic.
708Saving turns Anthropic Human Review off, which [can take up to 2 hours](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take). To check that your save worked, make sure that **Case review by** reads **My organization** in the workspace’s side panel on the [Workspaces](https://platform.claude.com/settings/workspaces) page. If **Case review by** doesn’t read **My organization**, open the workspace on the [Data retention](https://platform.claude.com/data-controls/retention) page and click **Save** again, even if you’ve changed nothing. If you can’t, or **Case review by** still doesn’t read **My organization**, contact your Anthropic account team before you send real traffic.
709709
710710</Where>
711711
from line 934
934934
935935#### Create a workspace with your bucket already attached
936936
937To create a workspace with your bucket already attached, send the same `inference_data_privacy` settings to `POST /v1/organizations/workspaces`. The attach still [doesn’t take effect right away](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take). In an organization with a Legacy ZDR arrangement, data retention can be off for the new workspace. If it’s off, nothing goes to your bucket until you turn it on. To turn it on, open the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console, click **Finish switching**, and then click **Accept**. The workspace starts to keep Sealed Safety Data at **Accept**, so allow time for the attach to take effect first. Send only test requests until 10 minutes after the first new object arrives.
937To create a workspace with your bucket already attached, send the same `inference_data_privacy` settings to `POST /v1/organizations/workspaces`. The attach still [doesn’t take effect right away](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#how-long-changes-take). In an organization with a Legacy ZDR arrangement, data retention can be off for the new workspace. If it’s off, nothing goes to your bucket until you turn it on. To turn it on, open the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console, click **Finish switching**, and then click **Accept**. The workspace starts to keep Sealed Safety Data at **Accept**, so allow time for the attach to take effect first. Send only test requests until 10 minutes after the first new object arrives.
938938
939939If the create request returns `approval_required`, `grant_required`, `authorization_check_unavailable`, `human_review_on_with_external_storage`, or `transcripts_storage_required`, the workspace isn’t created.
940940
from line 992
992992* **Names that start with `anthropic-efs-<RoleDigest>-`:** The bucket can receive Transcripts and Safety Cases.
993993* **Fixed names, such as `anthropic-efs-ingest`:** The bucket can’t receive them. To receive them, [change to a new bucket](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage-manage#change-your-bucket) and select it under both storage settings.
994994
995If the bucket can receive them, open the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page. If it shows **Safety Case and Transcript storage**, select the same bucket under that setting and under **Sealed Safety Data storage**. If you select a different bucket, it might not receive Transcripts and Safety Cases, even if the save succeeds. When you save, Anthropic checks that the bucket is set up for Transcripts and Safety Cases. If Anthropic refuses the bucket, the whole save stops. To fix it, see [Troubleshooting](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#troubleshooting). If the page doesn’t show **Safety Case and Transcript storage** with the **Enterprise Frontier Safeguards** card selected, contact your Anthropic account team.
995If the bucket can receive them, open the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page. If it shows **Safety Case and Transcript storage**, select the same bucket under that setting and under **Sealed Safety Data storage**. If you select a different bucket, it might not receive Transcripts and Safety Cases, even if the save succeeds. When you save, Anthropic checks that the bucket is set up for Transcripts and Safety Cases. If Anthropic refuses the bucket, the whole save stops. To fix it, see [Troubleshooting](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#troubleshooting). If the page doesn’t show **Safety Case and Transcript storage** with the **Enterprise Frontier Safeguards** card selected, contact your Anthropic account team.
996996
997997Each kind of file has its own prefix:
998998
from line 1177
11771177* **[Access to Enterprise Frontier Safeguards](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console).**
11781178
11791179 <Where cloud="claude" label="Claude Platform">If your organization has it, the [Programs](https://platform.claude.com/settings/programs) page in the Claude Console shows it with a **Configure** button.</Where>
1180* **A way to connect your bucket.** On Claude Platform, check that you can select **Google Cloud Storage** under **Connect storage**. **Connect storage** is on the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console, with **Organization** selected at the top. If you can’t select **Google Cloud Storage**, contact your Anthropic account team before you start part 1.
1180* **A way to connect your bucket.** On Claude Platform, check that you can select **Google Cloud Storage** under **Connect storage**. **Connect storage** is on the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console, with **Organization** selected at the top. If you can’t select **Google Cloud Storage**, contact your Anthropic account team before you start part 1.
11811181* **An Organization Admin** in the Claude Console, who gets the setup file and connects your bucket. <Where cloud="gcp" label="Claude Models on Google Cloud (Anthropic managed)">On Claude Models on Google Cloud (Anthropic managed), that’s someone with [`roles/claude.admin`](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#using-the-claude-console) on the Google Cloud project whose organization will use this bucket.</Where>
11821182* **A Google Cloud project** where no automation removes custom roles, grants, or buckets.
11831183* **Tools:** [Terraform 1.9 or later](https://developer.hashicorp.com/terraform/install) and the [Google Cloud CLI](https://docs.cloud.google.com/sdk/docs/install-sdk).
from line 1338
13381338
13391339<Where method="console" label="Claude Console">
13401340
13411. On the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console, select **Organization** at the top and click **Connect storage**. Make sure that you’re in the Anthropic organization whose workspaces will use this bucket.
13411. On the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console, select **Organization** at the top and click **Connect storage**. Make sure that you’re in the Anthropic organization whose workspaces will use this bucket.
13421342
13431343 * **On Claude Models on Google Cloud (Anthropic managed):** The dialog doesn’t ask for a provider, and it fills in the number of the project whose organization will use this bucket. If it does otherwise, you’re in the wrong organization. Open the Claude Console from that project.
13441344 * **On Claude Platform:** Select **Google Cloud Storage**.
from line 1561
15611561
15621562### Get the Terraform file
15631563
15641. On the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console, select **Organization** at the top. Make sure that you’re in the Anthropic organization that registered your bucket.
15641. On the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console, select **Organization** at the top. Make sure that you’re in the Anthropic organization that registered your bucket.
156515652. Click **Finish setup** beside the bucket you registered.
156615663. Select **Terraform**, enter your project’s ID, and download `customer-bucket-setup-gcs.tf` to an empty folder.
156715674. In that folder, run the following commands. The dialog shows the two `terraform` commands with your own values.
from line 1862
18621862
18631863<Where method="api" label="Admin API">
18641864
1865Once your bucket is activated, attach it to each workspace that should use it. In an organization with a Legacy Zero Data Retention (ZDR) arrangement, don’t attach your bucket to a workspace that has data retention off. Create the workspace with your bucket already attached: send `POST /v1/organizations/workspaces` with the `inference_data_privacy` settings from [Attach your bucket to a workspace](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-api-attach). If data retention is off for the new workspace, nothing goes to your bucket until you turn it on. To turn it on, open the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console, click **Finish switching**, and then click **Accept**. The workspace starts to keep Sealed Safety Data at **Accept**, so allow time for the attach to take effect first. Send only test requests until 10 minutes after the first new object arrives. If the create request returns `grant_required`, don’t create the workspace without your bucket. Contact your Anthropic account team.
1865Once your bucket is activated, attach it to each workspace that should use it. In an organization with a Legacy Zero Data Retention (ZDR) arrangement, don’t attach your bucket to a workspace that has data retention off. Create the workspace with your bucket already attached: send `POST /v1/organizations/workspaces` with the `inference_data_privacy` settings from [Attach your bucket to a workspace](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-api-attach). If data retention is off for the new workspace, nothing goes to your bucket until you turn it on. To turn it on, open the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console, click **Finish switching**, and then click **Accept**. The workspace starts to keep Sealed Safety Data at **Accept**, so allow time for the attach to take effect first. Send only test requests until 10 minutes after the first new object arrives. If the create request returns `grant_required`, don’t create the workspace without your bucket. Contact your Anthropic account team.
18661866
18671867</Where>
18681868
from line 1891
18911891
18921892<Where method="console" label="Claude Console">
18931893
1894On the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page, select the **Enterprise Frontier Safeguards** card, then select your bucket under **Sealed Safety Data storage**. **Safety Case and Transcript storage** sets the bucket for Transcripts and Safety Cases, which aren’t sealed, so your team can read them. If the page shows that setting, you can select the same bucket. <Where cloud="gcp" label="Claude Models on Google Cloud (Anthropic managed)">Your save fails if you don’t select a bucket under that setting. If the page doesn’t show the setting, contact your Anthropic account team before you save.</Where> Then, save the workspace. If Anthropic refuses your bucket when you save, contact your Anthropic account team before you connect another bucket. <Where cloud="claude" label="Claude Platform">For the full steps, see [Set up Enterprise Frontier Safeguards on Claude Platform](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#turn-on-efs-for-a-workspace).</Where> <Where cloud="gcp" label="Claude Models on Google Cloud (Anthropic managed)">For the full steps, see [Set up Enterprise Frontier Safeguards on Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-models-on-google-cloud-anthropic-managed#turn-on-efs-for-a-workspace).</Where>
1894On the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page, select the **Enterprise Frontier Safeguards** card, then select your bucket under **Sealed Safety Data storage**. **Safety Case and Transcript storage** sets the bucket for Transcripts and Safety Cases, which aren’t sealed, so your team can read them. If the page shows that setting, you can select the same bucket. <Where cloud="gcp" label="Claude Models on Google Cloud (Anthropic managed)">Your save fails if you don’t select a bucket under that setting. If the page doesn’t show the setting, contact your Anthropic account team before you save.</Where> Then, save the workspace. If Anthropic refuses your bucket when you save, contact your Anthropic account team before you connect another bucket. <Where cloud="claude" label="Claude Platform">For the full steps, see [Set up Enterprise Frontier Safeguards on Claude Platform](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#turn-on-efs-for-a-workspace).</Where> <Where cloud="gcp" label="Claude Models on Google Cloud (Anthropic managed)">For the full steps, see [Set up Enterprise Frontier Safeguards on Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-models-on-google-cloud-anthropic-managed#turn-on-efs-for-a-workspace).</Where>
18951895
18961896</Where>
18971897
from line 2112
21122112
21132113<Where method="console" label="Claude Console">
21142114
2115Saving turns Anthropic Human Review off, which can take up to 2 hours. To check that your save worked, make sure that **Case review by** reads **My organization** in the workspace’s side panel on the [Workspaces](https://platform.claude.com/settings/workspaces) page. If it doesn’t read **My organization**, open the workspace on the [Data retention](https://platform.claude.com/settings/privacy) page and click **Save** again, even if you’ve changed nothing. If you can’t, or **Case review by** still doesn’t read **My organization**, contact your Anthropic account team before you send real traffic.
2115Saving turns Anthropic Human Review off, which can take up to 2 hours. To check that your save worked, make sure that **Case review by** reads **My organization** in the workspace’s side panel on the [Workspaces](https://platform.claude.com/settings/workspaces) page. If it doesn’t read **My organization**, open the workspace on the [Data retention](https://platform.claude.com/data-controls/retention) page and click **Save** again, even if you’ve changed nothing. If you can’t, or **Case review by** still doesn’t read **My organization**, contact your Anthropic account team before you send real traffic.
21162116
21172117</Where>
21182118
from line 2270
22702270
22712271<Where method="console" label="Claude Console">
22722272
22731. Take every workspace off the bucket. On each workspace’s [Data retention](https://platform.claude.com/settings/privacy) page, select another bucket under **Sealed Safety Data storage**. Or, select the **Anthropic managed** card or, if listed, the **Legacy ZDR** card. Talk to your Anthropic account team before you select another bucket. If **Safety Case and Transcript storage** still shows this bucket, change that setting too. Then, save.
22731. Take every workspace off the bucket. On each workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page, select another bucket under **Sealed Safety Data storage**. Or, select the **Anthropic managed** card or, if listed, the **Legacy ZDR** card. Talk to your Anthropic account team before you select another bucket. If **Safety Case and Transcript storage** still shows this bucket, change that setting too. Then, save.
22742274
22752275 * **If you can’t select the Anthropic managed card,** first change your organization’s [policy for new workspaces](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#set-organization-defaults).
22762276 * Either card takes the workspace off EFS, and the **Anthropic managed** card can [turn Anthropic Human Review back on](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review). To use EFS again after **Legacy ZDR**, create a new workspace on the **Enterprise Frontier Safeguards** card.
manage-claude/enterprise-frontier-safeguards/external-storage-manage Changed · +3 / -3 lines
from line 12
1212
1313## Bucket statuses
1414
15Find each bucket’s status under **Storage destinations** on the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console, with **Organization** selected at the top:
15Find each bucket’s status under **Storage destinations** on the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console, with **Organization** selected at the top:
1616
1717| Status | Meaning |
1818| ----- | ----- |
from line 228
228228
229229<Steps>
230230 <Step title="Take your bucket off each workspace">
231 On the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page, select a card other than **Enterprise Frontier Safeguards**, and save. By default, the **Anthropic managed** card turns [Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) back on. The [Glossary](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/faq#glossary) describes each card.
231 On the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page, select a card other than **Enterprise Frontier Safeguards**, and save. By default, the **Anthropic managed** card turns [Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) back on. The [Glossary](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/faq#glossary) describes each card.
232232
233233 To stop only Transcripts and Safety Cases, select **Not copied to your storage** under **Safety Case and Transcript storage** instead. If the bucket still receives Sealed Safety Data, don’t follow the rest of these steps.
234234 </Step>
from line 611
611611
612612<Where method="console" label="Claude Console">
613613
614Under **Storage destinations** on the [Data retention](https://platform.claude.com/settings/privacy) page, select **Delete** in the row’s menu. If the Claude Console refuses the delete, its message says why. If the row is still listed after a few minutes, select **Finish deleting** in its menu. If it’s still listed after an hour, contact your Anthropic account team. Once the row has gone, follow the last step of [Stop using your bucket](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage-manage#stop-using-your-bucket) to remove Anthropic’s access. You can then delete your bucket.
614Under **Storage destinations** on the [Data retention](https://platform.claude.com/data-controls/retention) page, select **Delete** in the row’s menu. If the Claude Console refuses the delete, its message says why. If the row is still listed after a few minutes, select **Finish deleting** in its menu. If it’s still listed after an hour, contact your Anthropic account team. Once the row has gone, follow the last step of [Stop using your bucket](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage-manage#stop-using-your-bucket) to remove Anthropic’s access. You can then delete your bucket.
615615
616616</Where>
617617
manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency Changed · +3 / -3 lines
from line 31
3131
3232Anthropic’s Claude Managed Agents service doesn’t run sessions or [dreams](https://platform.claude.com/docs/en/managed-agents/dreams) in a workspace with Anthropic Human Review off. That workspace’s existing sessions stop accepting new messages. The [Batch API](https://platform.claude.com/docs/en/build-with-claude/batch-processing) refuses new batches in that workspace too. To run sessions, dreams, or batches, create them in a workspace that has Anthropic Human Review on.
3333
34To configure Anthropic Human Review for a workspace, go to the [Data retention](https://platform.claude.com/settings/privacy) page as an Organization Admin. A change can take up to 2 hours to apply. Workspaces that use Enterprise Frontier Safeguards always have Anthropic Human Review off. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, using Enterprise Frontier Safeguards is the only way to turn it off.
34To configure Anthropic Human Review for a workspace, go to the [Data retention](https://platform.claude.com/data-controls/retention) page as an Organization Admin. A change can take up to 2 hours to apply. Workspaces that use Enterprise Frontier Safeguards always have Anthropic Human Review off. On Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS, using Enterprise Frontier Safeguards is the only way to turn it off.
3535
36You can enforce Anthropic Human Review settings across your new workspaces by [setting a workspace policy](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#set-organization-defaults) on your organization’s [Data retention](https://platform.claude.com/settings/privacy) page.
36You can enforce Anthropic Human Review settings across your new workspaces by [setting a workspace policy](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#set-organization-defaults) on your organization’s [Data retention](https://platform.claude.com/data-controls/retention) page.
3737
3838For more, see [Set up Enterprise Frontier Safeguards on Claude Platform](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console), [Turn on EFS on Claude Platform on AWS](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#turn-on-efs-for-a-workspace), or [Turn on EFS on Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-models-on-google-cloud-anthropic-managed#turn-on-efs-for-a-workspace).
3939
from line 85
8585* **An `anthropic_access` event:** Someone at Anthropic viewed your data. The [reason codes](https://platform.claude.com/docs/en/manage-claude/access-transparency#reason-codes) explain why.
8686* **A 400 error, `Compliance API is not enabled for this organization`:** The Compliance API is off. Turn it on with the **Compliance API** toggle, wait about 1 minute, then send the Activity Feed request again.
8787
88To turn on the Compliance API, use the **Compliance API** toggle on the [Compliance](https://platform.claude.com/settings/security) page in the Claude Console. Your IAM principal needs the `aws-external-anthropic:UpdateComplianceSettings` action on `Resource: "*"`. The `AnthropicFullAccess` policy includes this action.
88To turn on the Compliance API, use the **Compliance API** toggle on the [Compliance](https://platform.claude.com/data-controls/compliance) page in the Claude Console. Your IAM principal needs the `aws-external-anthropic:UpdateComplianceSettings` action on `Resource: "*"`. The `AnthropicFullAccess` policy includes this action.
8989
9090## Next steps
9191
manage-claude/enterprise-frontier-safeguards/setup-claude-models-on-google-cloud-anthropic-managed Changed · +3 / -3 lines
from line 95
9595
9696## 1. Add cloud resources
9797
98To use Enterprise Frontier Safeguards, you need your own bucket. Your own encryption key is optional. Without one, a workspace uses an Anthropic-managed key. To add your bucket and key, go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console and select **Organization** at the top of the page.
98To use Enterprise Frontier Safeguards, you need your own bucket. Your own encryption key is optional. Without one, a workspace uses an Anthropic-managed key. To add your bucket and key, go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console and select **Organization** at the top of the page.
9999
100100To use your own key, create a [customer-managed key](https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms) in Google Cloud KMS, then register it with Anthropic under **Encryption keys**. Follow the **Claude Platform** tab and stop before **Attach the key to a workspace**. Use a different key from your bucket’s own key, which you create with the bucket.
101101
from line 119
119119 </Step>
120120
121121 <Step title="Select Enterprise Frontier Safeguards">
122 Go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console. At the top of the page, switch from **Organization** to the workspace that you created for EFS. Then, select the **Enterprise Frontier Safeguards** card. Stay on this page for the remaining steps, and don’t save until the last one.
122 Go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console. At the top of the page, switch from **Organization** to the workspace that you created for EFS. Then, select the **Enterprise Frontier Safeguards** card. Stay on this page for the remaining steps, and don’t save until the last one.
123123
124124 If you can’t select the card, check that your bucket passed **Test setup**. If it did, contact your Anthropic account team.
125125 </Step>
from line 138
138138 If the Claude Console doesn’t show **Safety Case and Transcript storage**, contact your Anthropic account team before you save. If it refuses your bucket, contact them before you connect another bucket. After you save a bucket under **Safety Case and Transcript storage**, you can’t clear that setting while the workspace is on EFS.
139139
140140 <Warning>
141 Check that the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) is on before you send requests, and keep it on. Requests that you send while it’s off might not have a Transcript, even after you turn it on. In another tab, find the **Compliance API** toggle on the [Compliance](https://platform.claude.com/settings/security) page.
141 Check that the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) is on before you send requests, and keep it on. Requests that you send while it’s off might not have a Transcript, even after you turn it on. In another tab, find the **Compliance API** toggle on the [Compliance](https://platform.claude.com/data-controls/compliance) page.
142142 </Warning>
143143 </Step>
144144
manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws Changed · +5 / -5 lines
from line 71
71711. [Add your bucket](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#add-cloud-resources), check that it passes **Test setup**, and then come back to this list.
72722. Read [Turn on EFS for a workspace](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#turn-on-efs-for-a-workspace).
73733. Create the workspace on the [Workspaces](https://platform.claude.com/settings/workspaces) page. As you create it, select the **Enterprise Frontier Safeguards** card and your bucket under both storage settings. If you can’t select the card or your bucket, or the Claude Console doesn’t finish creating the workspace, contact your Anthropic account team.
744. To use your own key, [create and register it](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#add-cloud-resources), and attach it on the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page.
744. To use your own key, [create and register it](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#add-cloud-resources), and attach it on the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page.
75755. Go to [Check your setup](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#check-your-setup).
7676
7777Otherwise, before you start, create the workspace on the [Workspaces](https://platform.claude.com/settings/workspaces) page, and don’t select the **Enterprise Frontier Safeguards** card. That card needs your bucket, which you add after you create the workspace. Don’t send requests to the workspace until you [turn on EFS for it](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-claude-platform-on-aws#turn-on-efs-for-a-workspace).
from line 115
115115
116116## 1. Add cloud resources
117117
118To use Enterprise Frontier Safeguards, you need your own bucket. Your own encryption key is optional. Without one, a workspace uses an Anthropic-managed key. To add your bucket and key, go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console and select **Organization** at the top of the page.
118To use Enterprise Frontier Safeguards, you need your own bucket. Your own encryption key is optional. Without one, a workspace uses an Anthropic-managed key. To add your bucket and key, go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console and select **Organization** at the top of the page.
119119
120120To use your own key, create a [customer-managed key](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws) in AWS KMS, in the workspace’s region, then register it with Anthropic under **Encryption keys**. The linked guide’s sample key policy needs the workspace’s compartment ID, so create the workspace first.
121121
from line 123
123123
124124## 2. Turn on EFS for a workspace
125125
126To turn on Enterprise Frontier Safeguards for a workspace, go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console. For the workspace, select **Enterprise Frontier Safeguards** and your storage, add your own key if you want one, and save once.
126To turn on Enterprise Frontier Safeguards for a workspace, go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console. For the workspace, select **Enterprise Frontier Safeguards** and your storage, add your own key if you want one, and save once.
127127
128128<Steps>
129129 <Step title="Select Enterprise Frontier Safeguards">
from line 157
157157 Once a workspace uses your bucket, the bucket is tied to this organization, and you can’t delete its storage destination. Treat the tie as permanent.
158158
159159 <Warning>
160 Check that the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) is on before you send requests, and keep it on. Requests that you send while it’s off might not have a Transcript, even after you turn it on. In another tab, find the **Compliance API** toggle on the [Compliance](https://platform.claude.com/settings/security) page.
160 Check that the [Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api) is on before you send requests, and keep it on. Requests that you send while it’s off might not have a Transcript, even after you turn it on. In another tab, find the **Compliance API** toggle on the [Compliance](https://platform.claude.com/data-controls/compliance) page.
161161 </Warning>
162162 </Step>
163163
from line 176
176176
177177Send test requests with no sensitive data to the workspace. New objects appear under `slab/` or `safeguards-data/slab/` in the bucket that you selected under **Sealed Safety Data storage**, once [your bucket selection takes effect](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage?cloud=aws#how-long-changes-take). Wait 10 minutes after the first new object before you send real traffic. If another workspace already sends data to this bucket, new objects don’t show that this change took effect, so ask your Anthropic account team before you send real traffic.
178178
179On the [Workspaces](https://platform.claude.com/settings/workspaces) page, select the workspace and check that **Cases, transcripts** under **Data retention** shows the bucket that you selected under **Safety Case and Transcript storage**. If it’s missing or shows another bucket, contact your Anthropic account team before you send real traffic. If it reads **Not copied to your storage**, select your bucket under **Safety Case and Transcript storage** on the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page, and click **Save**.
179On the [Workspaces](https://platform.claude.com/settings/workspaces) page, select the workspace and check that **Cases, transcripts** under **Data retention** shows the bucket that you selected under **Safety Case and Transcript storage**. If it’s missing or shows another bucket, contact your Anthropic account team before you send real traffic. If it reads **Not copied to your storage**, select your bucket under **Safety Case and Transcript storage** on the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page, and click **Save**.
180180
181181## Check who reaches your bucket and key
182182
manage-claude/enterprise-frontier-safeguards/setup-console Changed · +4 / -4 lines
from line 106
106106
107107## 2. Add cloud resources
108108
109To use Enterprise Frontier Safeguards, you need your own bucket. Your own encryption key is optional. Without one, a workspace uses an Anthropic-managed key. To add your bucket and key, go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console and select **Organization** at the top of the page.
109To use Enterprise Frontier Safeguards, you need your own bucket. Your own encryption key is optional. Without one, a workspace uses an Anthropic-managed key. To add your bucket and key, go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console and select **Organization** at the top of the page.
110110
111111To use your own key, create a [customer-managed key](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/customer-managed-keys) in your own key management service, then register it with Anthropic under **Encryption keys**.
112112
from line 119
119119
120120## 3. Turn on EFS for a workspace
121121
122To turn on Enterprise Frontier Safeguards for a workspace, go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console. Select **Enterprise Frontier Safeguards** for the workspace first, then your storage, then your own key if you want one, and save.
122To turn on Enterprise Frontier Safeguards for a workspace, go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console. Select **Enterprise Frontier Safeguards** for the workspace first, then your storage, then your own key if you want one, and save.
123123
124124With EFS, Anthropic Human Review is always off, so your organization is responsible for reviewing any [Safety Cases](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/flagged-cases) that Anthropic sends you. When you save, the Claude Console turns [Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review) off for the workspace.
125125
from line 131
131131
132132 If you can’t select your bucket as you create the workspace, check that it passed **Test setup**. If that doesn’t help, or the Claude Console doesn’t finish creating the workspace, contact your Anthropic account team.
133133
134 To select the card for a workspace that you already have, switch from **Organization** to the workspace at the top of the [Data retention](https://platform.claude.com/settings/privacy) page. You can’t select **Enterprise Frontier Safeguards** for the Default Workspace, which always follows your organization’s data retention setting.
134 To select the card for a workspace that you already have, switch from **Organization** to the workspace at the top of the [Data retention](https://platform.claude.com/data-controls/retention) page. You can’t select **Enterprise Frontier Safeguards** for the Default Workspace, which always follows your organization’s data retention setting.
135135
136136 Then, select the **Enterprise Frontier Safeguards** card. If the Claude Console marks the card **Ineligible**, the badge’s tooltip says why and what to do.
137137 </Step>
from line 172
172172
173173[Register a key](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#add-cloud-resources) or [add a bucket](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage) before you require them, or no one can create a workspace that keeps Sealed Safety Data.
174174
175To set or change the policy, select **Organization** at the top of the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console and find **Policy for new workspaces**.
175To set or change the policy, select **Organization** at the top of the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console and find **Policy for new workspaces**.
176176
177177The policy applies to new workspaces and doesn’t change workspaces that already exist. To change an existing workspace, see [Turn on EFS for a workspace](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/setup-console#turn-on-efs-for-a-workspace). If a request to create or change a workspace breaks the policy, Anthropic refuses it.
178178
manage-claude/oauth-apps/linked-billing/errors Changed · +7 / -7 lines
from line 67
6767
6868Each customer’s organization can have only one connection to your app at a time, and so can each of your profiles. `error_description` says which of these two causes applies:
6969
701. **The organization already has a connection**, through another of your profiles. This is the usual cause, and `error_description` starts `This organization already has an active connection`. On your [User profiles page](https://platform.claude.com/user-profiles), look for another profile of this customer that shows as **Linked**. Anthropic doesn’t show which organization a profile is linked to, so confirm with the customer that it’s theirs.
701. **The organization already has a connection**, through another of your profiles. This is the usual cause, and `error_description` starts `This organization already has an active connection`. On your [User profiles page](https://platform.claude.com/customers/user-profiles), look for another profile of this customer that shows as **Linked**. Anthropic doesn’t show which organization a profile is linked to, so confirm with the customer that it’s theirs.
7171
7272 * **You find it:** Bill the customer through that profile, or [unlink that profile](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#unlink-a-customer) and send the customer to approve again with the profile that was refused.
7373 * **None of this customer’s profiles is linked:** The person might have selected an organization that belongs to another of your customers. Send them to approve again, and ask them to check which organization they select.
from line 160
160160
1611612. **The customer hasn’t linked through this app.** The [connection status](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#check-a-links-status) reads `not_connected`. A profile linked only through another of your apps, such as a [separate test app](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/set-up-your-app#if-you-run-several-apps), isn’t linked to this one. Until the customer [links through this app](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/link-and-bill-a-customer#send-them-to-approve), a request can bill only you, with `bill_to: "self"`.
162162
1633. **The connection has ended.** The connection status reads `disconnected`, and the profile shows as **Unlinked** on your [User profiles page](https://platform.claude.com/user-profiles). The status’s `last_revoked_reason.type` says why. Until the customer [links again](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#link-a-customer-again), a request can bill only you, with `bill_to: "self"`.
1633. **The connection has ended.** The connection status reads `disconnected`, and the profile shows as **Unlinked** on your [User profiles page](https://platform.claude.com/customers/user-profiles). The status’s `last_revoked_reason.type` says why. Until the customer [links again](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#link-a-customer-again), a request can bill only you, with `bill_to: "self"`.
164164
1651654. **The connection status reads `connected`, and the request is still refused.**
166166
from line 184
1841843. **The customer’s organization.** You can’t see its status from your side, so ask the customer how their organization pays for its Claude API usage.
185185
186186 * **It isn’t eligible:** It must [pay Anthropic directly](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing#eligible-customers). Some organizations billed through a cloud marketplace can link, and then every request that you bill to them gets this error.
187 * **It has no billing set up:** A new organization can link before it has billing set up. Until then, it gets this error, not the out-of-credit `402`. Ask the customer to buy credits on their [Billing page](https://platform.claude.com/settings/billing) and then send the request again. A purchase can take some time to apply, so if you still get this error or [`linked_organization_spend_limit_reached`](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/errors#linked-organization-spend-limit-reached), try again later.
187 * **It has no billing set up:** A new organization can link before it has billing set up. Until then, it gets this error, not the out-of-credit `402`. Ask the customer to buy credits on their [Billing page](https://platform.claude.com/spending/billing) and then send the request again. A purchase can take some time to apply, so if you still get this error or [`linked_organization_spend_limit_reached`](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/errors#linked-organization-spend-limit-reached), try again later.
188188
1891894. **Something only Anthropic can see.** The customer shows as **Linked**, and your request is correct. Send a refused request’s ID to [Anthropic support](https://support.claude.com/en/articles/9015913-how-to-get-support) or to your Anthropic account team if you have one.
190190
from line 192
192192
193193Ask a person with the Admin or Billing role at the customer to check these in the Claude Console. The response doesn’t say which one applies:
194194
195* **Their spend cap for your app:** On the page for your app under [Linked platforms](https://platform.claude.com/linked-platforms), they can set or raise it. A cap set there replaces the default cap that they set for all linked platforms.
196* **Their organization’s monthly spend limit:** Under [Spend limits](https://platform.claude.com/settings/billing#spend-limits), they can raise it.
197* **Their credit balance:** On their [Billing page](https://platform.claude.com/settings/billing), they can buy credits. A purchase can take some time to apply, so a request soon after it can still get this error. If so, try again later. Some credits can’t pay for these requests: see [Which credits can pay](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing#which-credits-can-pay). A balance above $0 USD can therefore still get this error.
195* **Their spend cap for your app:** On the page for your app under [Linked platforms](https://platform.claude.com/keys/linked-platforms), they can set or raise it. A cap set there replaces the default cap that they set for all linked platforms.
196* **Their organization’s monthly spend limit:** Under [Spend limits](https://platform.claude.com/spending/billing#spend-limits), they can raise it.
197* **Their credit balance:** On their [Billing page](https://platform.claude.com/spending/billing), they can buy credits. A purchase can take some time to apply, so a request soon after it can still get this error. If so, try again later. Some credits can’t pay for these requests: see [Which credits can pay](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing#which-credits-can-pay). A balance above $0 USD can therefore still get this error.
198198
199199While your app isn’t live, a cap can’t go above $50 USD. A refusal at $50 USD then lasts until the next month begins (UTC): see [Caps while testing](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/test-and-publish#caps-while-testing).
200200
from line 205
205205What to do depends on when the error arrives:
206206
207207* **Before a reply starts:** Anthropic can’t bill the customer’s organization, for example because it’s suspended. The response doesn’t say why. Ask the customer to check their Claude account and their billing status with Anthropic.
208* **After Claude has started a reply:** Usually, the organization’s credit ran out, though a suspension can also cut a reply. Ask the customer to buy credits on their [Billing page](https://platform.claude.com/settings/billing) or to check their account.
208* **After Claude has started a reply:** Usually, the organization’s credit ran out, though a suspension can also cut a reply. Ask the customer to buy credits on their [Billing page](https://platform.claude.com/spending/billing) or to check their account.
209209
210210A request that isn’t streamed gets an HTTP `402` in both cases, so follow both. A customer who has no credit when the request arrives gets [`linked_organization_spend_limit_reached`](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/errors#linked-organization-spend-limit-reached) instead.
211211
manage-claude/oauth-apps/linked-billing/link-and-bill-a-customer Changed · +3 / -3 lines
from line 1542
15421542* Your User profiles page displays the customer’s profile as **Linked**. Only members with the Admin role see this status.
15431543* Your app’s **Overview** tab lists the customer under **Linked customers**, with the connection ID that you stored.
15441544
1545Then, check the bill in the Console, because a billed request that succeeds returns a normal response that doesn’t say who paid. The test customer’s [Linked platforms](https://platform.claude.com/linked-platforms) page is open to members of that organization with the Admin or Billing role.
1545Then, check the bill in the Console, because a billed request that succeeds returns a normal response that doesn’t say who paid. The test customer’s [Linked platforms](https://platform.claude.com/keys/linked-platforms) page is open to members of that organization with the Admin or Billing role.
15461546
15471547| Where | What it displays | How soon |
15481548| ----- | ----- | ----- |
1549| The test customer’s [Linked platforms](https://platform.claude.com/linked-platforms) page | Your app’s spend this month, against the cap | Within about a minute |
1549| The test customer’s [Linked platforms](https://platform.claude.com/keys/linked-platforms) page | Your app’s spend this month, against the cap | Within about a minute |
15501550| The test customer’s Linked platforms page | Your app’s cost and usage this month | Every few hours |
1551| Your [User profiles](https://platform.claude.com/user-profiles) page | **Requests** and **Tokens** count the request. **Your spend** doesn’t. | About once an hour, though a request can take a few hours to appear |
1551| Your [User profiles](https://platform.claude.com/customers/user-profiles) page | **Requests** and **Tokens** count the request. **Your spend** doesn’t. | About once an hour, though a request can take a few hours to appear |
15521552
15531553When the test works, [publish your app](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/test-and-publish#publish-the-app) so that your customers can link it.
15541554
manage-claude/oauth-apps/linked-billing/manage-customers Changed · +4 / -4 lines
from line 19
1919
2020## View customers and usage
2121
22Open the [User profiles](https://platform.claude.com/user-profiles) page in the Console. Your app’s **Overview** tab also lists its linked customers. For each user profile, the User profiles page lists **Requests**, **Tokens**, and **Your spend** over the last 28 days. Click a profile to see its usage over the last 7, 28, or 90 days.
22Open the [User profiles](https://platform.claude.com/customers/user-profiles) page in the Console. Your app’s **Overview** tab also lists its linked customers. For each user profile, the User profiles page lists **Requests**, **Tokens**, and **Your spend** over the last 28 days. Click a profile to see its usage over the last 7, 28, or 90 days.
2323
2424* A profile with an active connection reads **Linked**, one whose connection has ended reads **Unlinked**, and one never linked reads **Not linked**. Only members with the Admin role see these statuses and **Unlink**.
2525* **Your spend** is your own cost for the profile’s requests, before Anthropic applies any credits.
from line 366
366366
367367Start when a person with the Admin or Billing role in the other organization is ready to approve. Then:
368368
3691. Unless the customer has already unlinked your app on their [Linked platforms](https://platform.claude.com/linked-platforms) page, [unlink the customer](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#unlink-a-customer).
3691. Unless the customer has already unlinked your app on their [Linked platforms](https://platform.claude.com/keys/linked-platforms) page, [unlink the customer](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#unlink-a-customer).
3703702. [Send them to approve](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/link-and-bill-a-customer#send-them-to-approve) again with the same user profile and scope, and have the person approve for the other organization.
3713713. Store the new `connection_id` in place of the earlier one, and store the new OAuth tokens if you use them. The profile then shows as **Linked** again, through the other organization.
372372
from line 385
3853852. Instead of their key, bill their requests as your operator service account, and set `bill_to: "user_profile"` in [`billing_policy`](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/link-and-bill-a-customer#bill-a-request).
3863863. Delete the stored API key, and tell the customer that you did.
387387
388Their requests then add to their profile’s **Requests** on your [User profiles](https://platform.claude.com/user-profiles) page. They add nothing to **Your spend**.
388Their requests then add to their profile’s **Requests** on your [User profiles](https://platform.claude.com/customers/user-profiles) page. They add nothing to **Your spend**.
389389
390390## Decide how often to check whether customers are linked
391391
392A customer can unlink your app at any time on their [Linked platforms](https://platform.claude.com/linked-platforms) page, and Anthropic doesn’t tell you. Decide when your product finds out:
392A customer can unlink your app at any time on their [Linked platforms](https://platform.claude.com/keys/linked-platforms) page, and Anthropic doesn’t tell you. Decide when your product finds out:
393393
394394* **When a request is refused:** Find [the cause of the refusal](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/errors#while-billing), and [check whether the customer is still linked](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/manage-customers#check-a-links-status).
395395* **Before you bill:** Check when the customer starts something in your product that bills them.
manage-claude/oauth-apps/linked-billing/test-and-publish Changed · +3 / -3 lines
from line 36
3636
3737A new [Linked billing](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing) app starts in testing, where only the [test users](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/test-and-publish#manage-test-users) you name can link their organizations to it. To open it to your customers, you prove your domain and [publish the app](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/test-and-publish#publish-the-app), and Anthropic reviews it. This page also covers how the [spend cap works while you test](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/test-and-publish#caps-while-testing) and how to change or delete the app.
3838
39The [OAuth apps](https://platform.claude.com/settings/oauth-apps) page in the Claude Console displays each app’s status:
39The [OAuth apps](https://platform.claude.com/customers/oauth-apps) page in the Claude Console displays each app’s status:
4040
4141| Status | What it means |
4242| ----- | ----- |
from line 59
5959
6060Testing uses real money: Anthropic charges each test user’s organization for the requests that you bill to it, as for any customer. A test user [links an organization](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/link-and-bill-a-customer) where they have the Admin or Billing role. That organization can’t be the one that owns the app. To test the app yourself, add your own address and link a second Claude organization of yours.
6161
621. Open the app from the [OAuth apps](https://platform.claude.com/settings/oauth-apps) page in the Console.
621. Open the app from the [OAuth apps](https://platform.claude.com/customers/oauth-apps) page in the Console.
63632. On the **Settings** tab, find the **Test users** list under **Who can link**.
64643. Enter the email address of a test user’s Claude account and click **Add**. Repeat for each test user.
65654. Click **Save changes**.
from line 148
148148Requests that bill a customer are refused, every OAuth token is revoked, and the client ID stops working. Anthropic doesn’t email your customers, so tell them first. To delete the app:
149149
1501501. On the app’s **Settings** tab, save or discard any unsaved changes.
1512. Under **Danger zone**, click **Delete app** and confirm with **Delete app**. The app’s row menu on the [OAuth apps](https://platform.claude.com/settings/oauth-apps) page also has **Delete**.
1512. Under **Danger zone**, click **Delete app** and confirm with **Delete app**. The app’s row menu on the [OAuth apps](https://platform.claude.com/customers/oauth-apps) page also has **Delete**.
152152
153153To offer Linked billing again, create a new app, and have each customer link it. The new app starts in testing with a new client ID, and customers’ spend caps don’t carry over.
154154
manage-claude/oauth-apps/linked-billing/what-your-customers-see Changed · +3 / -3 lines
from line 38
3838
3939## How it works
4040
41For example, an Admin at Acme approves your app on Claude’s approval page and sets a monthly spend cap of $200 USD for it. Later, Acme can change the cap or unlink your app on its [Linked platforms](https://platform.claude.com/linked-platforms) page. Anthropic emails Acme’s Admin and Billing members when the connection is made and when Acme unlinks your app. It also emails them when spend reaches 80 percent of the cap.
41For example, an Admin at Acme approves your app on Claude’s approval page and sets a monthly spend cap of $200 USD for it. Later, Acme can change the cap or unlink your app on its [Linked platforms](https://platform.claude.com/keys/linked-platforms) page. Anthropic emails Acme’s Admin and Billing members when the connection is made and when Acme unlinks your app. It also emails them when spend reaches 80 percent of the cap.
4242
4343### Approving your app
4444
from line 64
6464
6565### After linking
6666
67The connection belongs to the customer’s whole Claude organization, not to the person who approved it, so it stays if that person leaves. The customer manages it on the [Linked platforms](https://platform.claude.com/linked-platforms) page in their Claude Console. There, a member with the Admin or Billing role can see what your app has cost this month. They can also set a spend cap for it. To unlink it, they click your app, then **Unlink**, and confirm in the dialog box.
67The connection belongs to the customer’s whole Claude organization, not to the person who approved it, so it stays if that person leaves. The customer manages it on the [Linked platforms](https://platform.claude.com/keys/linked-platforms) page in their Claude Console. There, a member with the Admin or Billing role can see what your app has cost this month. They can also set a spend cap for it. To unlink it, they click your app, then **Unlink**, and confirm in the dialog box.
6868
6969A connection ends in these ways, and some of them email the customer’s Admin and Billing members:
7070
from line 84
8484
8585Your app’s spend cap is an amount in US dollars that limits what your app can bill a customer each month. The approval page labels it a monthly spend limit. Two other settings are easy to confuse with it:
8686
87* **The organization’s Monthly spend limit:** It limits all of the organization’s usage and is set under [Spend limits](https://platform.claude.com/settings/billing#spend-limits). Your app’s cap can be higher than it.
87* **The organization’s Monthly spend limit:** It limits all of the organization’s usage and is set under [Spend limits](https://platform.claude.com/spending/billing#spend-limits). Your app’s cap can be higher than it.
8888* **The customer’s default cap:** It applies in full to each linked app that has no cap of its own.
8989
9090Your app’s cap or the organization’s limit can refuse the requests that you bill to the customer, with the [`linked_organization_spend_limit_reached`](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing/errors#linked-organization-spend-limit-reached) error. So can a lack of [credit that can pay](https://platform.claude.com/docs/en/manage-claude/oauth-apps/linked-billing#which-credits-can-pay). The error doesn’t say which. Your app’s cap works this way:
manage-claude/opentelemetry/api Changed · +4 / -4 lines
from line 50
5050 When you add a telemetry destination, Anthropic will send traces of Claude Platform activity in your organization to the third-party provider’s OTLP/HTTP endpoint that you specify, in accordance with your provider terms and access controls. After delivery, the data is held by the service that you chose, outside Anthropic, under that service’s retention and access controls.
5151</Info>
5252
531. In the Console, open your organization’s [OpenTelemetry settings page](https://platform.claude.com/settings/telemetry-destinations) and click **Add destination**.
531. In the Console, open your organization’s [OpenTelemetry settings page](https://platform.claude.com/settings/opentelemetry) and click **Add destination**.
5454
55552. Configure the destination:
5656
from line 235
235235* **Selected:** Only the workspaces that you select.
236236* **All except:** Like **All**, but without the workspaces that you select.
237237
238For **Selected** or **All except**, select the workspaces in the search box that appears under the options. To change a destination’s workspaces later, open its **More actions** menu on the [OpenTelemetry settings page](https://platform.claude.com/settings/telemetry-destinations) in the Console while the **Workspace** filter shows **All**. Click **Edit**, then select another **Workspaces** option or change the workspaces in the search box.
238For **Selected** or **All except**, select the workspaces in the search box that appears under the options. To change a destination’s workspaces later, open its **More actions** menu on the [OpenTelemetry settings page](https://platform.claude.com/settings/opentelemetry) in the Console while the **Workspace** filter shows **All**. Click **Edit**, then select another **Workspaces** option or change the workspaces in the search box.
239239
240240If you have the developer role in the organization and the Workspace Admin role in a workspace, you can add that workspace to a **Selected** destination or remove it. Set the **Workspace** filter to that workspace, then open the destination’s **More actions** menu. On Claude Platform on AWS, the Console has no Workspace Admin role. There, your [IAM policy](https://platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions) determines who can add a workspace to a destination or remove it.
241241
from line 244
244244## 3. Check that spans arrive
245245
2462461. In the Console, select a workspace that the destination covers and send a Messages API request in [playground](https://platform.claude.com/playground). You can also send a Messages API request from your application or start a Managed Agents session in that workspace. To start a session, you can follow the steps in [Get started with Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/quickstart).
2472. In the Console, on the [OpenTelemetry settings page](https://platform.claude.com/settings/telemetry-destinations), check that the **Delivery** column shows **Healthy** for the destination. This can take about a minute.
2472. In the Console, on the [OpenTelemetry settings page](https://platform.claude.com/settings/opentelemetry), check that the **Delivery** column shows **Healthy** for the destination. This can take about a minute.
2482483. In your observability platform, filter on `service.name` = `claude-platform` to find the request’s spans.
249249
250250If the column shows **Failing**, hover over it to see the last error. To find the likely cause, see [Delivery errors](https://platform.claude.com/docs/en/manage-claude/opentelemetry/api#delivery-errors).
from line 673
673673* The endpoint sends a `3xx` redirect.
674674* All deliveries fail for 24 hours.
675675
676While a destination is disabled, the API drops the spans for it, and they aren’t sent after you enable it again. To resume export, fix the cause and check the fix with **Test** in the destination’s **More actions** menu. Then, on the [OpenTelemetry settings page](https://platform.claude.com/settings/telemetry-destinations) in the Console, click **Enable** in the same menu while the **Workspace** filter shows **All**. Export starts again within about a minute. Until the next delivery, the **Delivery** column can still show **Failing** with the old error.
676While a destination is disabled, the API drops the spans for it, and they aren’t sent after you enable it again. To resume export, fix the cause and check the fix with **Test** in the destination’s **More actions** menu. Then, on the [OpenTelemetry settings page](https://platform.claude.com/settings/opentelemetry) in the Console, click **Enable** in the same menu while the **Workspace** filter shows **All**. Export starts again within about a minute. Until the next delivery, the **Delivery** column can still show **Failing** with the old error.
677677
678678To change a destination, open its **More actions** menu while the **Workspace** filter shows **All**. Then click **Edit**, **Disable**, **Enable**, or **Delete**. Deliveries stop within about a minute after you disable or delete a destination. If you change the host of the **OTLP endpoint URL**, enter the header values again. If the destination has an **OTLP traces endpoint URL**, give it the same new host, or clear it.
679679
manage-claude/wif-providers/aws Changed · +4 / -4 lines
from line 60
6060
6161### Configure Anthropic
6262
63In the Claude Console, go to the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page (`platform.claude.com/settings/workload-identity-federation`), click **Connect workload**, and select the **AWS** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
63In the Claude Console, go to the [Workload identity](https://platform.claude.com/keys/workload-identity) page (`platform.claude.com/keys/workload-identity`), click **Connect workload**, and select the **AWS** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
6464
6565The wizard creates these resources for you. Use the following values whether you enter them in the wizard or send them to the [Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api):
6666
from line 482
482482JSON
483483```
484484
485A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console for the deny reason. Then see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange). The most common AWS-side cause is an `iss` mismatch. Your account’s STS issuer URL must match the registered `issuer_url` exactly.
485A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console for the deny reason. Then see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange). The most common AWS-side cause is an `iss` mismatch. Your account’s STS issuer URL must match the registered `issuer_url` exactly.
486486
487487## Use EKS projected service-account tokens
488488
from line 579
579579
580580### Configure Anthropic
581581
582In the Claude Console, go to the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page (`platform.claude.com/settings/workload-identity-federation`), click **Connect workload**, and select the **AWS** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
582In the Claude Console, go to the [Workload identity](https://platform.claude.com/keys/workload-identity) page (`platform.claude.com/keys/workload-identity`), click **Connect workload**, and select the **AWS** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
583583
584584The wizard creates these resources for you. Use the following values whether you enter them in the wizard or send them to the [Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api):
585585
from line 839
839839JSON
840840```
841841
842A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console for the deny reason. Then see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange). The most common EKS-side cause is the projected token’s `aud` not matching the rule. Project a token with `audience: https://api.anthropic.com`, not the IRSA default `sts.amazonaws.com`.
842A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console for the deny reason. Then see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange). The most common EKS-side cause is the projected token’s `aud` not matching the rule. Project a token with `audience: https://api.anthropic.com`, not the IRSA default `sts.amazonaws.com`.
843843
844844## Scope your rule
845845
manage-claude/wif-providers/azure Changed · +6 / -6 lines
from line 93
9393
9494### Configure Anthropic
9595
96In the Claude Console, go to the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page (`platform.claude.com/settings/workload-identity-federation`), click **Connect workload**, and select the **Microsoft Entra** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
96In the Claude Console, go to the [Workload identity](https://platform.claude.com/keys/workload-identity) page (`platform.claude.com/keys/workload-identity`), click **Connect workload**, and select the **Microsoft Entra** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
9797
9898The wizard creates these resources for you. Use the following values whether you enter them in the wizard or send them to the [Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api):
9999
from line 109
109109```
110110
111111<Warning>
112 Managed identity workloads need `max_jwt_lifetime_seconds: 86400`. Azure issues managed identity tokens with up to 24 hours between `iat` and `exp`. It caches each resource’s token for that window and offers no way to force an early refresh. The issuer’s 1-hour default rejects those tokens, so the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`). The **Connect workload** wizard’s **Microsoft Entra** tile creates the issuer with `max_jwt_lifetime_seconds` set to `7500` and provides no field to change it during creation. Complete the wizard, then open the **Issuers** tab on the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page in the Claude Console, edit the issuer, and raise the value to `86400`. You can also update the issuer through the Admin API.
112 Managed identity workloads need `max_jwt_lifetime_seconds: 86400`. Azure issues managed identity tokens with up to 24 hours between `iat` and `exp`. It caches each resource’s token for that window and offers no way to force an early refresh. The issuer’s 1-hour default rejects those tokens, so the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`). The **Connect workload** wizard’s **Microsoft Entra** tile creates the issuer with `max_jwt_lifetime_seconds` set to `7500` and provides no field to change it during creation. Complete the wizard, then open the **Issuers** tab on the [Workload identity](https://platform.claude.com/keys/workload-identity) page in the Claude Console, edit the issuer, and raise the value to `86400`. You can also update the issuer through the Admin API.
113113</Warning>
114114
115115A longer accepted lifetime means a leaked Entra token stays exchangeable for longer. If a token leaks, disable the federation rule. A tight `oid` match limits which identities can exchange a token, as described in [Scope your rule](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#scope-your-rule).
from line 616
616616
617617### Verify the setup
618618
619From your Azure resource, run the sample in [Acquire and use the token](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#acquire-and-use-the-token). A successful exchange returns a `200` with an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console for the deny reason. Then decode the Entra token (see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange) for the command) and check the most common Azure-side causes:
619From your Azure resource, run the sample in [Acquire and use the token](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#acquire-and-use-the-token). A successful exchange returns a `200` with an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console for the deny reason. Then decode the Entra token (see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange) for the command) and check the most common Azure-side causes:
620620
621621* **Issuer mismatch:** The registered `issuer_url` must match the token’s `iss` claim exactly. A v2.0 token carries `https://login.microsoftonline.com/<TENANT_ID>/v2.0`. If the decoded `ver` claim is `1.0`, see [If your tokens are v1.0](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#if-your-tokens-are-v1-0).
622622* **Token lifetime:** Managed identity tokens carry up to 24 hours between `iat` and `exp`. If the issuer has the wizard’s `7500` (or the 1-hour default), raise `max_jwt_lifetime_seconds` to `86400` as described in [Configure Anthropic](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#configure-anthropic).
from line 743
743743
744744### Configure Anthropic
745745
746In the Claude Console, go to the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page (`platform.claude.com/settings/workload-identity-federation`), click **Connect workload**, and select the **Microsoft Entra** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
746In the Claude Console, go to the [Workload identity](https://platform.claude.com/keys/workload-identity) page (`platform.claude.com/keys/workload-identity`), click **Connect workload**, and select the **Microsoft Entra** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
747747
748748The wizard creates these resources for you. Use the following values whether you enter them in the wizard or send them to the [Admin API](https://platform.claude.com/docs/en/manage-claude/wif-admin-api):
749749
from line 759
759759```
760760
761761<Warning>
762 The **Connect workload** wizard’s **Microsoft Entra** tile creates the issuer with `max_jwt_lifetime_seconds` set to `7500` (a little over 2 hours). That value covers the default 60- to 90-minute lifetime of `client_credentials` tokens. A tenant token-lifetime policy or Continuous Access Evaluation (CAE) can extend that lifetime. If your decoded token’s `exp` minus `iat` exceeds 7,500 seconds, edit the issuer on the **Issuers** tab of the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page in the Claude Console and raise `max_jwt_lifetime_seconds` to match. Until you do, exchanges fail with the opaque `401` `authentication_error` response (message `Authentication failed`). If your tenant also runs managed identity workloads from [Use a managed identity](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#use-a-managed-identity), use that section’s `86400` value, which covers both paths.
762 The **Connect workload** wizard’s **Microsoft Entra** tile creates the issuer with `max_jwt_lifetime_seconds` set to `7500` (a little over 2 hours). That value covers the default 60- to 90-minute lifetime of `client_credentials` tokens. A tenant token-lifetime policy or Continuous Access Evaluation (CAE) can extend that lifetime. If your decoded token’s `exp` minus `iat` exceeds 7,500 seconds, edit the issuer on the **Issuers** tab of the [Workload identity](https://platform.claude.com/keys/workload-identity) page in the Claude Console and raise `max_jwt_lifetime_seconds` to match. Until you do, exchanges fail with the opaque `401` `authentication_error` response (message `Authentication failed`). If your tenant also runs managed identity workloads from [Use a managed identity](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#use-a-managed-identity), use that section’s `86400` value, which covers both paths.
763763</Warning>
764764
765765A longer accepted lifetime means a leaked Entra token stays exchangeable for longer. If a token leaks, disable the federation rule. A tight `oid` match limits which identities can exchange a token, as described in [Scope your rule](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#scope-your-rule).
from line 1245
12451245
12461246### Verify the setup
12471247
1248From inside a labeled pod, run the sample in [Acquire and use the token on AKS](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#acquire-and-use-the-token-2). A successful exchange returns a `200` with an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console for the deny reason. Then decode the Entra-issued token (see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange) for the command) and check the most common Azure-side causes:
1248From inside a labeled pod, run the sample in [Acquire and use the token on AKS](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#acquire-and-use-the-token-2). A successful exchange returns a `200` with an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_error` response (message `Authentication failed`), check the [authentication history page](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console for the deny reason. Then decode the Entra-issued token (see [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange) for the command) and check the most common Azure-side causes:
12491249
12501250* **Issuer mismatch:** The registered `issuer_url` must match the token’s `iss` claim exactly. A v2.0 token carries `https://login.microsoftonline.com/<TENANT_ID>/v2.0`. If the decoded `ver` claim is `1.0`, see [If your tokens are v1.0](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#if-your-tokens-are-v1-0).
12511251* **Token lifetime:** If a tenant token-lifetime policy or CAE extends the `client_credentials` token past 7,500 seconds, raise the issuer’s `max_jwt_lifetime_seconds` as described in [Configure Anthropic for Entra Workload Identity on AKS](https://platform.claude.com/docs/en/manage-claude/wif-providers/azure#configure-anthropic-2).