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
51-73 of 73, page 3 of 3This capture is too large to show at once. Changes 51-73 of 73 are below, significant first; the rest are on the following screens.
manage-claude/cmek-google-cloud-kms Changed · +1 / -1 lines
from line 200
200200 <Tab title="Claude Platform">
201201 <Steps>
202202 <Step title="Open the encryption key settings">
203 In the Claude Console, open [Encryption keys](https://platform.claude.com/settings/privacy#encryption-keys) on the Data retention page. If the section isn’t there, select **Organization** from the dropdown menu at the top.
203 In the Claude Console, open [Encryption keys](https://platform.claude.com/data-controls/retention#encryption-keys) on the Data retention page. If the section isn’t there, select **Organization** from the dropdown menu at the top.
204204 </Step>
205205
206206 <Step title="Add the key">
manage-claude/data-residency Changed · +1 / -1 lines
from line 266
266266
267267To change these settings in the Claude Console:
268268
2691. Go to the [Data residency](https://platform.claude.com/settings/data-residency) page (`platform.claude.com/settings/data-residency`). If the **Data controls** page opens instead, find its **Data residency** section.
2691. Go to the [Data residency](https://platform.claude.com/data-controls/residency) page (`platform.claude.com/data-controls/residency`). If the **Data controls** page opens instead, find its **Data residency** section.
2702702. Select the workspace from the dropdown menu beside the **Data residency** heading.
2712713. Under **Inference geo**, select the allowed geos from the **Allowed** dropdown menu and the fallback geo from the **Default** dropdown menu.
2722724. Click **Save**, then click **Confirm**.
manage-claude/enterprise-frontier-safeguards/customer-managed-keys Changed · +1 / -1 lines
from line 62
6262
6363 To attach your key, follow these steps for each workspace that will use it:
6464
65 1. Go to the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console and select the workspace at the top.
65 1. Go to the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console and select the workspace at the top.
6666 2. Select your key under **Encryption key** and save.
6767
6868 If the workspace uses Anthropic-managed storage, there’s nothing more to do.
manage-claude/enterprise-frontier-safeguards/faq Changed · +2 / -2 lines
from line 159
159159| Sealed Safety Data | Prompts, responses, and model reasoning, encrypted in Anthropic’s format. Your team can’t read it, even in your own bucket. See [What’s stored, and where](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/customer-owned-storage#what-is-stored). |
160160| Transcript | A readable copy of a prompt and response, for your team to read. |
161161| Safety Correspondence | Safety Cases, Safety Notices, and your Safety Case Responses. Never prompts and responses. |
162| Safety data bucket | The bucket in your own cloud account that a workspace uses for Sealed Safety Data. You select it under **Sealed Safety Data storage** on the workspace’s [Data retention](https://platform.claude.com/settings/privacy) page. EFS requires one. |
162| Safety data bucket | The bucket in your own cloud account that a workspace uses for Sealed Safety Data. You select it under **Sealed Safety Data storage** on the workspace’s [Data retention](https://platform.claude.com/data-controls/retention) page. EFS requires one. |
163163| Case bucket | The bucket where Anthropic sends a workspace’s Transcripts and Safety Cases, in a form that your team can read. You select it under [**Safety Case and Transcript storage**](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/customer-owned-storage#the-two-storage-settings). EFS requires one on Claude Models on Google Cloud (Anthropic managed) and Claude Platform on AWS. One bucket can be both the Safety data bucket and the Case bucket, so plan to use one for both. |
164164| Legacy ZDR | [ZDR](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention) with real-time safeguards but without automated safety monitoring. Anthropic doesn’t store prompts or responses after the API response is returned, except where needed to comply with law or combat misuse. |
165165| Anthropic-managed storage | Storage that Anthropic runs, used by workspaces on the **Anthropic managed** card. |
from line 170
170170| Human Review | Also called Anthropic Human Review. On Claude Platform with Anthropic-managed storage, if the Claude Console shows **Who reviews flagged cases?**, **Anthropic** turns it on and **My organization** turns it off. With it on, a small, specialized team at Anthropic can review what automated safety monitoring finds. With EFS, it’s always off. See [where you can turn off Anthropic Human Review](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#turn-off-anthropic-human-review). |
171171| Access Transparency | A record, through the Compliance API, of access to your data by Anthropic personnel, for everything [Access Transparency covers](https://platform.claude.com/docs/en/manage-claude/access-transparency#what-access-transparency-covers). |
172172| Safety Case | A record that Anthropic may open when automated safety monitoring finds a potential violation of Anthropic’s Usage Policy in a workspace without Anthropic Human Review. It lists the related Transcripts by identifier. [Review Safety Cases](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/flagged-cases) says which workspaces get one. |
173| Storage destination | A bucket that you connect under **Storage destinations** on the [Data retention](https://platform.claude.com/settings/privacy) page in the Claude Console. You select one for a workspace under **Sealed Safety Data storage** or **Safety Case and Transcript storage**. |
173| Storage destination | A bucket that you connect under **Storage destinations** on the [Data retention](https://platform.claude.com/data-controls/retention) page in the Claude Console. You select one for a workspace under **Sealed Safety Data storage** or **Safety Case and Transcript storage**. |
174174| Anthropic-managed key | The key Anthropic uses to encrypt your data when you don’t attach your own. |
175175
176176## Reference
manage-claude/ip-allowlist Changed · +2 / -2 lines
from line 75
7575 <Step title="Turn on the toggle">
7676 Go to your organization’s settings page:
7777
78 * **Claude Platform:** the [Security](https://platform.claude.com/settings/identity) page in the Claude Console
78 * **Claude Platform:** the [Security](https://platform.claude.com/settings/security) page in the Claude Console
7979 * **Claude Enterprise:** the [Organization and access settings](https://claude.ai/admin-settings/organization#ip-allowlist) page in claude.ai (**Organization settings** > **Organization and access**)
8080
8181 Turn on the **IP allowlist** toggle. Nothing changes until you save.
from line 108
108108
1091091. **Reconnect from a listed network:** Connect to your office network or VPN, and then click **Try again**. If there is no **Try again** button, reload the page.
1101102. **Ask another admin or owner:** An admin or owner on a listed network can add your address.
1113. **Fix the list from where you are:** If you are an admin or owner and the checkbox under [Keep a way back in](https://platform.claude.com/docs/en/manage-claude/ip-allowlist#avoid-locking-yourself-out) is selected, you can still reach the settings page. Open the Claude Console or Claude in a browser and click **Open IP allowlist**, or go to the [Security](https://platform.claude.com/settings/identity) page ([Organization and access](https://claude.ai/admin-settings/organization#ip-allowlist) in claude.ai). Click **Add it** to add your current address, or turn off the allowlist, and then click **Save** and confirm. Access can take up to 15 minutes to return.
1113. **Fix the list from where you are:** If you are an admin or owner and the checkbox under [Keep a way back in](https://platform.claude.com/docs/en/manage-claude/ip-allowlist#avoid-locking-yourself-out) is selected, you can still reach the settings page. Open the Claude Console or Claude in a browser and click **Open IP allowlist**, or go to the [Security](https://platform.claude.com/settings/security) page ([Organization and access](https://claude.ai/admin-settings/organization#ip-allowlist) in claude.ai). Click **Add it** to add your current address, or turn off the allowlist, and then click **Save** and confirm. Access can take up to 15 minutes to return.
1121124. **Contact Anthropic:** If no admin or owner can reach the page, ask [Anthropic support](https://support.claude.com) to turn off the allowlist.
113113
manage-claude/oauth-apps/linked-billing/set-up-your-app Changed · +1 / -1 lines
from line 50
5050
5151The app is your product’s registration with Anthropic. It ties your redirect URI, the address in your product that receives the browser after a customer approves, to a client ID.
5252
531. On the [OAuth apps](https://platform.claude.com/settings/oauth-apps) page in the Console, click **Create**.
531. On the [OAuth apps](https://platform.claude.com/customers/oauth-apps) page in the Console, click **Create**.
5454
55552. Enter your app’s name and redirect URI.
5656
manage-claude/rate-limits-api Changed · +2 / -2 lines
from line 10
1010
1111If your company has a Claude Console organization, you can use the Admin API with that organization; see the [Admin API keys and tokens](https://platform.claude.com/docs/en/manage-claude/admin-api-keys) page. An individual Console account must first set up an organization on the [Organization settings](https://platform.claude.com/settings/organization) page (`platform.claude.com/settings/organization`) in the Claude Console.
1212
13The Rate Limits API provides programmatic access to the rate limits configured for your organization and its workspaces. This is the same information shown on the [Rate limits page in the Claude Console](https://platform.claude.com/usage/limits). You can also use it to set and clear a workspace’s rate limits.
13The Rate Limits API provides programmatic access to the rate limits configured for your organization and its workspaces. This is the same information shown on the [Rate limits page in the Claude Console](https://platform.claude.com/spending/rate-limits). You can also use it to set and clear a workspace’s rate limits.
1414
1515Use this API to:
1616
from line 1402
14021402
14031403### Can you update rate limits with this API?
14041404
1405**For a workspace:** Yes. The [Set Workspace Rate Limits](https://platform.claude.com/docs/en/api/organization/workspaces/rate_limits/update) endpoint sets or clears a workspace’s overrides for one rate limit group. Pass the top-level `id` of the matching entry in the [organization endpoint’s response](https://platform.claude.com/docs/en/manage-claude/rate-limits-api#list-all-organization-rate-limits) as `rate_limit_id`, not the `rlg_` `id` inside its `group`. The lower of the workspace override and the organization-level limit applies, and a change takes effect within about an hour. For the request body and an example, see [Set workspace rate limits](https://platform.claude.com/docs/en/manage-claude/rate-limits-api#set-workspace-rate-limits). You can also set workspace rate limits on the [Rate limits page in the Claude Console](https://platform.claude.com/usage/limits): select the workspace from the **Workspace** dropdown menu, and click **Edit** next to a model.
1405**For a workspace:** Yes. The [Set Workspace Rate Limits](https://platform.claude.com/docs/en/api/organization/workspaces/rate_limits/update) endpoint sets or clears a workspace’s overrides for one rate limit group. Pass the top-level `id` of the matching entry in the [organization endpoint’s response](https://platform.claude.com/docs/en/manage-claude/rate-limits-api#list-all-organization-rate-limits) as `rate_limit_id`, not the `rlg_` `id` inside its `group`. The lower of the workspace override and the organization-level limit applies, and a change takes effect within about an hour. For the request body and an example, see [Set workspace rate limits](https://platform.claude.com/docs/en/manage-claude/rate-limits-api#set-workspace-rate-limits). You can also set workspace rate limits on the [Rate limits page in the Claude Console](https://platform.claude.com/spending/rate-limits): select the workspace from the **Workspace** dropdown menu, and click **Edit** next to a model.
14061406
14071407**For an organization:** No. To request higher limits, see [Requesting higher limits](https://platform.claude.com/docs/en/api/rate-limits#requesting-higher-limits).
14081408
manage-claude/usage-cost-analytics-api Changed · +1 / -1 lines
from line 10
1010
1111If your company has a Claude Console organization, you can use the Admin API with that organization; see the [Admin API keys and tokens](https://platform.claude.com/docs/en/manage-claude/admin-api-keys) page. An individual Console account must first set up an organization on the [Organization settings](https://platform.claude.com/settings/organization) page (`platform.claude.com/settings/organization`) in the Claude Console.
1212
13The Usage and Cost Analytics API reports historical token usage and cost for your organization, broken down by the dimensions you choose, such as model, workspace, API key, or the user or service account behind each request. For Claude Console organizations, this data is similar to what the [Usage](https://platform.claude.com/usage) and [Cost](https://platform.claude.com/cost) pages of the Claude Console show.
13The Usage and Cost Analytics API reports historical token usage and cost for your organization, broken down by the dimensions you choose, such as model, workspace, API key, or the user or service account behind each request. For Claude Console organizations, this data is similar to what the [Usage](https://platform.claude.com/spending/api-usage) and [Cost](https://platform.claude.com/spending/cost) pages of the Claude Console show.
1414
1515The API has two endpoints:
1616
manage-claude/usage-cost-api Changed · +1 / -1 lines
from line 14
1414 The Usage and Cost API (`/v1/organizations/usage_report/messages` and `/v1/organizations/cost_report`) is a legacy API and is supported for Claude Console organizations. For new integrations, use the [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api), which reports usage and cost with more grouping and filtering dimensions. To move an existing integration, see [Migrate from the Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api#migrate-from-usage-cost-api).
1515</Note>
1616
17The Usage and Cost API provides programmatic and granular access to historical API usage and cost data for your organization. This data is similar to what the Claude Console shows on the [Usage](https://platform.claude.com/usage) page (`platform.claude.com/usage`) and the [Cost](https://platform.claude.com/cost) page (`platform.claude.com/cost`).
17The Usage and Cost API provides programmatic and granular access to historical API usage and cost data for your organization. This data is similar to what the Claude Console shows on the [Usage](https://platform.claude.com/spending/api-usage) page (`platform.claude.com/spending/api-usage`) and the [Cost](https://platform.claude.com/spending/cost) page (`platform.claude.com/spending/cost`).
1818
1919This API allows you to better monitor, analyze, and optimize your Claude implementations:
2020
manage-claude/wif-admin-api Changed · +1 / -1 lines
from line 35
3535
3636<Steps>
3737 <Step title="Create the org:admin rule in the Console">
38 In the Claude Console, go to the [Workload identity](https://platform.claude.com/settings/workload-identity-federation) page (`platform.claude.com/settings/workload-identity-federation`) and select **Connect workload**. Create one federation rule for your automation workload, for example a GitHub Actions workflow in your infrastructure repository. Under **Advanced rule options**, set the rule’s OAuth scope to `org:admin`. The wizard then creates the new service account with the Admin organization role, or asks you to pick an existing admin service account as the target.
38 In the Claude Console, go to the [Workload identity](https://platform.claude.com/keys/workload-identity) page (`platform.claude.com/keys/workload-identity`) and select **Connect workload**. Create one federation rule for your automation workload, for example a GitHub Actions workflow in your infrastructure repository. Under **Advanced rule options**, set the rule’s OAuth scope to `org:admin`. The wizard then creates the new service account with the Admin organization role, or asks you to pick an existing admin service account as the target.
3939
4040 <Warning>
4141 Match the rule to one exact workload identity, not a broad pattern. `subject_prefix` is an exact match unless it ends in `*`. For GitHub Actions, pin the subject to a protected branch, such as `repo:my-org/my-repo:ref:refs/heads/main`. A trailing wildcard such as `repo:my-org/my-repo:*` also matches `pull_request` runs, including runs triggered from forks. With that pattern, anyone who can open a pull request against the repository can mint an `org:admin` token. See [Restrict which workflows can authenticate](https://platform.claude.com/docs/en/manage-claude/wif-providers/github-actions#restrict-which-workflows-can-authenticate).
manage-claude/wif-providers/gcp Changed · +2 / -2 lines
from line 89
8989
9090## Configure Anthropic
9191
92In 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 **Google Cloud** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
92In 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 **Google Cloud** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
9393
9494The 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):
9595
from line 469
469469 | jq -rR 'split(".")[1] | gsub("-";"+") | gsub("_";"/") | @base64d | fromjson'
470470```
471471
472Check that `iss` is `https://accounts.google.com`, `aud` is `https://api.anthropic.com`, and `email` matches the value in your federation rule. Then run the exchange from the previous section. A 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 Google Cloud-side cause is a missing `email` claim. Request the token with `format=full` so that it includes the claim.
472Check that `iss` is `https://accounts.google.com`, `aud` is `https://api.anthropic.com`, and `email` matches the value in your federation rule. Then run the exchange from the previous section. A 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 Google Cloud-side cause is a missing `email` claim. Request the token with `format=full` so that it includes the claim.
473473
474474## Scope your rule
475475
manage-claude/wif-providers/github-actions Changed · +2 / -2 lines
from line 68
6868
6969## Configure Anthropic
7070
71In 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 **GitHub Actions** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
71In 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 **GitHub Actions** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
7272
7373The 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):
7474
from line 315
315315
316316## Verify the setup
317317
318A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. A denied exchange returns an opaque `401` `authentication_error` with the fixed message `Authentication failed`, whichever check failed. In most cases, the attempt’s entry on the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console shows the deny reason. [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange) walks through the checks in order. The most common GitHub Actions-side cause is a `sub` claim format that doesn’t match, because its trailing segment varies among `ref:...`, `environment:...`, and `pull_request` events. The history entry then shows the reason `match_subject_prefix`.
318A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. A denied exchange returns an opaque `401` `authentication_error` with the fixed message `Authentication failed`, whichever check failed. In most cases, the attempt’s entry on the [authentication history page](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console shows the deny reason. [Troubleshoot a failed exchange](https://platform.claude.com/docs/en/manage-claude/wif-reference#troubleshoot-a-failed-exchange) walks through the checks in order. The most common GitHub Actions-side cause is a `sub` claim format that doesn’t match, because its trailing segment varies among `ref:...`, `environment:...`, and `pull_request` events. The history entry then shows the reason `match_subject_prefix`.
319319
320320## Restrict which workflows can authenticate
321321
manage-claude/wif-providers/kubernetes Changed · +2 / -2 lines
from line 71
7171
7272## Configure Anthropic
7373
74In 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 **Kubernetes** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
74In 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 **Kubernetes** tile. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
7575
7676The 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):
7777
from line 293
293293
294294## Verify the setup
295295
296A 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 Kubernetes-side cause is a JWKS key mismatch (for `inline` mode, refetch with `kubectl get --raw /openid/v1/jwks` and update the issuer).
296A 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 Kubernetes-side cause is a JWKS key mismatch (for `inline` mode, refetch with `kubectl get --raw /openid/v1/jwks` and update the issuer).
297297
298298## Scope your rule
299299
manage-claude/wif-providers/okta Changed · +2 / -2 lines
from line 41
4141
4242## Configure Anthropic
4343
44In 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 **Custom OIDC**. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
44In 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 **Custom OIDC**. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
4545
4646The 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):
4747
from line 498
498498
499499## Verify the setup
500500
501A 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 Okta-side cause is an `issuer_url` mismatch. The `issuer_url` must include the `/oauth2/<auth-server-id>` path, and the Okta org authorization server is not usable.
501A 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 Okta-side cause is an `issuer_url` mismatch. The `issuer_url` must include the `/oauth2/<auth-server-id>` path, and the Okta org authorization server is not usable.
502502
503503## Scope your rule
504504
manage-claude/wif-providers/spiffe Changed · +2 / -2 lines
from line 123
123123
124124## Configure Anthropic
125125
126In 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 **Custom OIDC**. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
126In 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 **Custom OIDC**. The wizard walks you through registering the issuer, creating a service account, and creating a federation rule.
127127
128128The 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):
129129
from line 471
471471 | jq -rR 'split(".")[1] | gsub("-";"+") | gsub("_";"/") | @base64d | fromjson'
472472```
473473
474The `-output json` flag returns the SVID response and bundle response as a two-element JSON array, so `jq -r '.[0].svids[0].svid'` extracts the bare token. If your SPIRE version has no `-output` flag, the command prints a labeled block instead. In that case, pipe the default output through `awk '/^[[:space:]]*eyJ/{print $1; exit}'` to extract the token line. Check that `iss` is the OIDC Discovery Provider URL you registered, `sub` is the workload’s SPIFFE ID, and `aud` contains `https://api.anthropic.com`. Then run the sample in [Acquire and use the token](https://platform.claude.com/docs/en/manage-claude/wif-providers/spiffe#acquire-and-use-the-token). A successful exchange returns an `access_token` starting with `sk-ant-oat01-`. 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 SPIRE-side cause is a mismatch between SPIRE Server’s `jwt_issuer` and the URL you registered as the federation issuer.
474The `-output json` flag returns the SVID response and bundle response as a two-element JSON array, so `jq -r '.[0].svids[0].svid'` extracts the bare token. If your SPIRE version has no `-output` flag, the command prints a labeled block instead. In that case, pipe the default output through `awk '/^[[:space:]]*eyJ/{print $1; exit}'` to extract the token line. Check that `iss` is the OIDC Discovery Provider URL you registered, `sub` is the workload’s SPIFFE ID, and `aud` contains `https://api.anthropic.com`. Then run the sample in [Acquire and use the token](https://platform.claude.com/docs/en/manage-claude/wif-providers/spiffe#acquire-and-use-the-token). A successful exchange returns an `access_token` starting with `sk-ant-oat01-`. 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 SPIRE-side cause is a mismatch between SPIRE Server’s `jwt_issuer` and the URL you registered as the federation issuer.
475475
476476## Scope your rule
477477
manage-claude/wif-reference Changed · +2 / -2 lines
from line 232
232232| 401 | `authentication_error` | The `federation_rule_id` does not exist or is archived, or the JWT is not authorized for it (one error covers these cases to prevent enumeration). | Confirm the rule ID in the Claude Console and that the rule has not been archived. |
233233| 401 | `authentication_error` | The federation rule is enabled for all workspaces or for more than one, and the request omits `workspace_id`. The authentication history entry shows the reason `workspace_id_required`. | Set `ANTHROPIC_WORKSPACE_ID` (or the `workspace_id` body field on a raw request) to the `wrkspc_...` ID you want the token scoped to. With the `ant` CLI, set `workspace_id` in a federation profile and set `ANTHROPIC_PROFILE` to its name. See [Token exchange request](https://platform.claude.com/docs/en/manage-claude/wif-reference#token-exchange-request). |
234234
235Every assertion denial returns the same opaque `401` `authentication_error` with the fixed message `Authentication failed`, regardless of which check failed. A distinguishable error would let a caller probe rule configuration. The [authentication history](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console records the deny reason on the attempt’s entry. For example, it shows `match_subject_prefix` when the `sub` claim fails the rule’s `subject_prefix`, or `workspace_id_required` when the rule spans multiple workspaces and the request names none. Requests rejected before the rule’s organization is confirmed (the `400 invalid_request_error` family in the previous table) leave no history entry. Their response messages name the problem directly. A `401` with no matching history entry usually means that Anthropic did not recognize the `federation_rule_id`.
235Every assertion denial returns the same opaque `401` `authentication_error` with the fixed message `Authentication failed`, regardless of which check failed. A distinguishable error would let a caller probe rule configuration. The [authentication history](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console records the deny reason on the attempt’s entry. For example, it shows `match_subject_prefix` when the `sub` claim fails the rule’s `subject_prefix`, or `workspace_id_required` when the rule spans multiple workspaces and the request names none. Requests rejected before the rule’s organization is confirmed (the `400 invalid_request_error` family in the previous table) leave no history entry. Their response messages name the problem directly. A `401` with no matching history entry usually means that Anthropic did not recognize the `federation_rule_id`.
236236
237237### Common SDK-side failures
238238
from line 249
249249A `401` `authentication_error` response is intentionally opaque, and its message is always `Authentication failed`. The deny reason appears in the authentication history, not in the response.
250250
251251<Tip>
252 Start with the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history) in the Claude Console. Recent exchange attempts show the issuer and rule that Anthropic evaluated, the JWT claims that it inspected, and which validation step failed. This information usually makes the following checks unnecessary.
252 Start with the [authentication history page](https://platform.claude.com/keys/workload-identity?tab=history) in the Claude Console. Recent exchange attempts show the issuer and rule that Anthropic evaluated, the JWT claims that it inspected, and which validation step failed. This information usually makes the following checks unnecessary.
253253</Tip>
254254
255255One common opaque failure is a replayed assertion. An assertion that carries a `jti` claim can be [exchanged only once](https://platform.claude.com/docs/en/manage-claude/wif-reference#jwt-verification). A workload that resends the same JWT (a retry loop, or a refresh that rereads an unrotated token) fails on the second exchange. The authentication history page shows these attempts with the reason `jti_reused`. To fix this, mint a fresh assertion for each exchange.
managed-agents/onboarding Changed · +2 / -2 lines
from line 35
3535 Claude Platform on AWS: beta
3636---
3737
38The [Claude Console](https://platform.claude.com/workspaces/default/agent-quickstart/) provides a visual interface for creating and configuring agents. It lets you iterate on configuration interactively before writing code.
38The [Claude Console](https://platform.claude.com/workspaces/default/agents/create/) provides a visual interface for creating and configuring agents. It lets you iterate on configuration interactively before writing code.
3939
4040## How to build an agent
4141
42The [visual interface](https://platform.claude.com/workspaces/default/agent-quickstart/) in the Claude Console walks you through each field of an agent definition:
42The [visual interface](https://platform.claude.com/workspaces/default/agents/create/) in the Claude Console walks you through each field of an agent definition:
4343
4444* **Model and system prompt:** Pick a model and write the system prompt in a full-width editor.
4545* **MCP servers:** Add remote MCP servers by URL and authenticate your agent to take action on your behalf.
managed-agents/overview Changed · +1 / -1 lines
from line 130
130130
131131To get started, you need:
132132
1331. A [Claude API key](https://platform.claude.com/settings/keys) from the Claude Console.
1331. A [Claude API key](https://platform.claude.com/keys/api-keys) from the Claude Console.
1341342. The `managed-agents-2026-04-01` beta header on all requests.
1351353. Access to Claude Managed Agents (enabled by default for all API accounts).
136136
managed-agents/scheduled-deployments Changed · +1 / -1 lines
from line 276
276276
277277### Cron and timezone semantics
278278
279* **Expression:** Standard POSIX cron (`minute hour day-of-month month day-of-week`). You can generate and validate these cron expressions in the [Claude Console](https://platform.claude.com/workspaces/default/deployments).
279* **Expression:** Standard POSIX cron (`minute hour day-of-month month day-of-week`). You can generate and validate these cron expressions in the [Claude Console](https://platform.claude.com/workspaces/default/agents/deployments).
280280* **Timezone:** IANA timezone identifier (for example, `"America/Los_Angeles"`).
281281* **DST:** Cron schedules use literal wall-clock matching, so `"0 20 * * *"` in `America/New_York` fires at 8:00 PM local time regardless of whether EST or EDT is in effect.
282282
managed-agents/self-hosted-sandboxes-workers Changed · +1 / -1 lines
from line 194
194194
195195<Steps>
196196 <Step title="Subscribe to session webhooks">
197 In the [Claude Console](https://platform.claude.com/settings/workspaces/default/webhooks), define a webhook endpoint that listens for `session.status_run_started` events. See [Subscribe to webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) for details.
197 In the [Claude Console](https://platform.claude.com/settings/webhooks?workspace=default), define a webhook endpoint that listens for `session.status_run_started` events. See [Subscribe to webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) for details.
198198 </Step>
199199
200200 <Step title="Export the webhook signing key">
managed-agents/self-hosted/quickstart Changed · +1 / -1 lines
from line 34
3434## Prerequisites
3535
3636* **The release archive:** To request access to the download, contact your Anthropic account team. If your organization already has access, follow the note at the top of this page.
37* **A Claude API key:** The server uses it for model calls. Create one in the [Claude Console](https://platform.claude.com/settings/keys).
37* **A Claude API key:** The server uses it for model calls. Create one in the [Claude Console](https://platform.claude.com/keys/api-keys).
3838* **Docker:** The [latest version of Docker Engine](https://docs.docker.com/engine/install/) with the Compose plugin (`docker compose`, not the older `docker-compose`).
3939* **A host with at least two CPUs:** x86-64 or Arm. On a smaller host, set `CMA_SANDBOX_CPUS` to its CPU count when you create `.env`.
4040* **Network access on first start:** The first build pulls from Docker Hub, the Alpine package repositories, and GitHub releases.
managed-agents/session-observability Changed · +1 / -1 lines
from line 121
121121
122122### Find session usage across your organization
123123
124Session usage counts toward your organization’s totals on the [Usage](https://platform.claude.com/usage) page (`platform.claude.com/usage`) and the [Cost](https://platform.claude.com/cost) page (`platform.claude.com/cost`) in the Claude Console. To see token usage by agent, set **Group by** to **Agent** on the **Usage** page.
124Session usage counts toward your organization’s totals on the [Usage](https://platform.claude.com/spending/api-usage) page (`platform.claude.com/spending/api-usage`) and the [Cost](https://platform.claude.com/spending/cost) page (`platform.claude.com/spending/cost`) in the Claude Console. To see token usage by agent, set **Group by** to **Agent** on the **Usage** page.
125125
126126To see session usage by agent or by session, use the [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api) and group by `agent_id` or `session_id`. Session usage also appears in the [usage report](https://platform.claude.com/docs/en/api/beta/organization/usage_report/retrieve_messages) from the legacy [Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api). To see which account it’s reported under, group that report by one of these fields:
127127
managed-agents/webhooks Changed · +1 / -1 lines
from line 126
126126
127127## Register an endpoint
128128
129In the Claude Console, go to the [Webhooks](https://platform.claude.com/settings/workspaces/default/webhooks) page (`platform.claude.com/settings/workspaces/default/webhooks`). Each endpoint belongs to one workspace. Select the workspace you want in the workspace picker.
129In the Claude Console, go to the [Webhooks](https://platform.claude.com/settings/webhooks?workspace=default) page (`platform.claude.com/settings/webhooks?workspace=default`). Each endpoint belongs to one workspace. Select the workspace you want in the workspace picker.
130130
131131A webhook endpoint consists of:
132132