Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261124T153717Z

47 pages moved out of 958 read.

Pages moved 47 significant first
Pages read 958 in this capture
Captured 15:37 UTC
Corpus hash c83881861206 corpus-hash

What this read moved

26-47 of 47, page 2 of 2

This capture is too large to show at once. Changes 26-47 of 47 are below, significant first; the rest are on the following screens.

build-with-claude/overview Changed · +1 / -1 lines

from line 84
8484| [Bash tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool) | Lets Claude request shell commands, which run in a bash session that keeps its state between commands. |
8585| [Code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) | Lets Claude run Python and Bash code in a sandboxed container. |
8686| [Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) | Clears selected content, such as old tool results or old thinking blocks, from the conversation history as it grows. |
87| [Enterprise Frontier Safeguards](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview) | Zero Data Retention (ZDR) for eligible organizations that use Claude’s most capable models. Sealed safety data, the encrypted copies of your requests and responses, goes to storage that you own. Anthropic Human Review is always off, so your own team reviews flagged cases that automated Safety Review finds. |
87| [Enterprise Frontier Safeguards](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/overview) | Zero Data Retention (ZDR) for eligible organizations that use Claude’s most capable models. Sealed Safety Data, the encrypted copies of your prompts and responses, is written to storage that you own. Anthropic Human Review is always off, so your own team reviews flagged cases that automated safety monitoring finds. |
8888| [Forced tool use](https://platform.claude.com/docs/en/agents-and-tools/tool-use/define-tools#forcing-tool-use) | Makes Claude call a tool, or one specific tool, instead of answering directly. |
8989| [Memory tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) | Lets Claude store and read information across conversations in a directory of memory files. |
9090| ↳ [Memory tool helpers](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool#implement-the-memory-handler) | SDK helpers that handle the memory tool’s interface and tool-use loop, so your code supplies only the storage. |

build-with-claude/token-counting Changed · +3 / -1 lines

from line 1437
14371437 
14381438## Pricing and rate limits
14391439 
1440Token counting is **free to use** but subject to requests per minute rate limits based on your [usage tier](https://platform.claude.com/docs/en/api/rate-limits#rate-limits). If you need higher limits, use **Request tier increase** on the [Rate limits](https://platform.claude.com/usage/limits) page in the Claude Console.
1440Token counting is **free to use** but subject to requests per minute rate limits based on your [usage tier](https://platform.claude.com/docs/en/api/rate-limits#rate-limits).
14411441 
14421442| Usage tier | Requests per minute (RPM) |
14431443| ----- | ----- |
from line 1444
14441444| Start | 5,000 |
14451445| Build | 10,000 |
14461446| Scale | 20,000 |
1447 
1448If you need higher limits, see [Requesting higher limits](https://platform.claude.com/docs/en/api/rate-limits#requesting-higher-limits).
14471449 
14481450<Note>
14491451 Token counting and message creation have separate and independent rate limits. Usage of one does not count against the limits of the other.

cli-sdks-libraries/cli/quickstart Changed · +1 / -3 lines

from line 74
7474ant auth login
7575```
7676 
77<Note>
78 For other ways to authenticate (API key environment variable, headless hosts, multiple workspaces, named profiles, and Workload Identity Federation), see [CLI authentication options](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/authentication).
79</Note>
77To sign in on a host without a browser or to authenticate another way, see [CLI authentication options](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/authentication). The options include Workload Identity Federation, an API key, and Google Cloud credentials for [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed).
8078 
8179## Send your first request
8280 

cli-sdks-libraries/cli/using Changed · +1 / -0 lines

from line 39
3939| `--workspace-id` | Optional. Workspace ID (`wrkspc_...`) to send as the `anthropic-workspace-id` header, for API keys that aren’t scoped to a workspace (equivalent to setting `ANTHROPIC_WORKSPACE_ID`). See [Select a workspace](https://platform.claude.com/docs/en/manage-claude/authentication#select-a-workspace). [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) commands take their own `--workspace-id`, which names the workspace they manage instead. |
4040| `--debug` | Print full HTTP request and response to stderr |
4141| `--format-error`, `--transform-error` | Same as `--format` and `--transform` but applied to [error responses](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/scripting#inspect-errors) |
42| `--google-cloud-*` | Settings for [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed). Use them instead of `--workspace-id` and `--base-url`. The flags are `--google-cloud-project`, `--google-cloud-workspace-id`, `--google-cloud-location`, and `--google-cloud-base-url`. For defaults and environment variables, see that page’s [Project, location, and workspace resolution](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#project-location-and-workspace-resolution) section. |
4243 
4344## Output formats
4445 

cli-sdks-libraries/libraries/apple-foundation-models Changed · +1 / -1 lines

from line 131
131131 
132132Each installation of your app uses Apple’s [App Attest](https://developer.apple.com/documentation/devicecheck/establishing-your-app-s-integrity) service to prove that it is a genuine, unmodified build of the app you registered. Anthropic then issues the device a short-lived access token that bills usage to your workspace. The app ships no API key, and there is no proxy for you to operate.
133133 
134App Attest authentication is available only when your app calls the Claude API directly. It is not available through Amazon Bedrock, Google Cloud, or Microsoft Foundry.
134App Attest authentication is available only when your app sends its requests to the Claude API at `api.anthropic.com`.
135135 
136136To ship without running a back end, use `.appAttest`:
137137 

get-api-key Changed · +2 / -0 lines

from line 34
3434 
3535If the **Create key** button on the API keys page is disabled, your role might not allow you to create keys there. Ask an organization admin to change your role, or to create a service account key for your workload.
3636 
37These steps are for the Claude API. If you use Claude through a [cloud platform](https://platform.claude.com/docs/en/api/overview#claude-api-vs-cloud-platforms), follow that platform’s authentication steps instead.
38 
3739## Use your API key
3840 
3941Set the key as an environment variable:

manage-claude/admin-api-keys Changed · +2 / -0 lines

from line 19
1919| **Scopes** | None to select: every key has full access to the endpoints that accept it | [Choose scopes](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#choose-scopes-for-a-claude-enterprise-key) when you create the key. The key works only with the APIs your scopes cover |
2020| **Works with** | [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api)<br />[Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)<br />[Compliance API Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed)<br />[Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access), for keys created while it’s available<br />[Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy)<br />[Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api)<br />[Claude Code Analytics API](https://platform.claude.com/docs/en/manage-claude/claude-code-analytics-api) | Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management)<br />[Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)<br />[Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api)<br />[Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy)<br />[Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api)<br />[Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api)<br />[Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api)<br />[Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api) |
2121 
22On Claude Models on Google Cloud (Anthropic managed) or Claude Platform on AWS, use that platform’s credentials instead of an Admin API key. For the Admin API endpoints you can call on those platforms, see [Cloud platforms](https://platform.claude.com/docs/en/manage-claude/admin-api#cloud-platforms) on the Admin API page. For the Activity Feed on those platforms, see [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api).
23 
2224Most keys reach only the organization you created them in. Some keys, such as those with Compliance API, group, or audit scopes, can reach further if your company links its organizations under a [parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#which-key-do-you-need). If your company uses both Claude Console and Claude Enterprise, create one key in each.
2325 
2426## Create a key for a Claude Console organization

manage-claude/analytics-api Changed · +1 / -1 lines

from line 35
3535 
3636## Get access to the Claude Code Analytics API
3737 
38The Claude Code Analytics API is available to every organization with access to the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api), and is free to use.
38The Claude Code Analytics API is free for Claude Console organizations on the Claude API. Your organization needs [access to the Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api#availability), and an organization admin creates the key.
3939 
4040<Steps>
4141 <Step title="Create an Admin API key">

manage-claude/app-attest Changed · +1 / -1 lines

from line 12
1212 
1313Each installation of your app uses Apple’s [App Attest](https://developer.apple.com/documentation/devicecheck/establishing-your-app-s-integrity) service to prove that it is a genuine, unmodified build of the app you registered. Anthropic then issues the device a short-lived access token that bills usage to your workspace. The app ships no API key, and there is no proxy for you to operate.
1414 
15App Attest authentication is available only when your app calls the Claude API directly. It is not available through Amazon Bedrock, Google Cloud, or Microsoft Foundry.
15App Attest authentication is available only when your app sends its requests to the Claude API at `api.anthropic.com`.
1616 
1717The first time your app uses Claude on a device, the app requests a challenge from Anthropic, attests the device with Apple’s `DCAppAttestService`, and exchanges the verified attestation for an access token. The Claude for Foundation Models package runs this flow automatically and requests new tokens as they expire; there is no attestation code for you to write.
1818 

manage-claude/claude-code-analytics-api Changed · +1 / -1 lines

from line 270
270270 
271271### What does it cost to use this API?
272272 
273The Claude Code Analytics API is free to use for all organizations with access to the Admin API.
273Calls to the Claude Code Analytics API are free.
274274 
275275### How do you calculate tool acceptance rates?
276276 

manage-claude/cmek-admin-api Changed · +2 / -2 lines

from line 4
44description: Create, validate, and attach a customer-managed encryption key with three Admin API calls.
55---
66 
7These calls work on Claude Platform. On Claude Enterprise or Claude Platform on AWS, follow [your setup page](https://platform.claude.com/docs/en/manage-claude/cmek#set-it-up).
7Use the Admin API to create, validate, and attach a customer-managed encryption key (CMEK) on Claude Platform. On Claude Enterprise, Claude Platform on AWS, or [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), [choose your setup page](https://platform.claude.com/docs/en/manage-claude/cmek#set-it-up) and follow its steps.
88 
99Creating an external key is what **Add key** does in the Claude Console, and validating it is what **Verify** does.
1010 
1111## Before you start
1212 
13* Customer-managed encryption keys (CMEK) are [turned on for your organization](https://platform.claude.com/docs/en/manage-claude/cmek#availability).
13* CMEK is [turned on for your organization](https://platform.claude.com/docs/en/manage-claude/cmek#availability).
1414* You have an [Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys). The samples read it from `ANTHROPIC_API_KEY`.
1515* You’ve created your key in [AWS KMS](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms#encryption-key-setup), [Google Cloud KMS](https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms#encryption-key-setup), or [Azure Key Vault](https://platform.claude.com/docs/en/manage-claude/cmek-azure-key-vault#encryption-key-setup), and kept the values the setup steps tell you to copy.
1616* You have a workspace that [retains data](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#data-retention), ideally a new one, because [existing data stays under Anthropic’s key](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect).

manage-claude/compliance-activity-feed Changed · +2 / -0 lines

from line 49
4949}
5050```
5151 
52On [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) and [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), use the platform’s base URL and credentials instead of a key. See [How the Compliance API works](https://platform.claude.com/docs/en/manage-claude/compliance-api#how-the-compliance-api-works).
53 
5254## Filter activities
5355 
5456Filter by organization, actor, activity type, or a `created_at` time window using the dotted sub-parameters `created_at.gte`, `.gt`, `.lte`, and `.lt`. See the [API reference](https://platform.claude.com/docs/en/api/compliance/activities/list) for each parameter’s type and accepted values.

manage-claude/compliance-faq Changed · +3 / -1 lines

from line 37
3737 </Accordion>
3838 
3939 <Accordion title="Can I use my regular Claude API key with the Compliance API?">
40 No. A Claude API key (`sk-ant-api03-...`) authenticates calls to Claude models on the Claude API; it does not authenticate calls to `/v1/compliance/*`. The Compliance API accepts only Compliance Access Keys (`sk-ant-api01-...`) and Admin API keys (`sk-ant-admin01-...`). See [Which key do you need?](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#which-key-do-you-need) for the full mapping.
40 No. A Claude API key (`sk-ant-api03-...`) authenticates calls to Claude models on the Claude API, not calls to `/v1/compliance/*`. Instead, use a Compliance Access Key (`sk-ant-api01-...`) or an Admin API key (`sk-ant-admin01-...`). See [Which key do you need?](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#which-key-do-you-need) for the full mapping.
41 
42 On [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) and [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), use the platform’s credentials instead of a key. See [How the Compliance API works](https://platform.claude.com/docs/en/manage-claude/compliance-api#how-the-compliance-api-works).
4143 </Accordion>
4244 
4345 <Accordion title="Why does my Admin API key return 403 on chat or file endpoints?">

manage-claude/compliance-integration-patterns Changed · +2 / -0 lines

from line 20
2020* [Retrieve and delete chats, files, and projects](https://platform.claude.com/docs/en/manage-claude/compliance-content-data), which defines the chat, file, and project endpoints and the `deleted_at` semantics referenced in [Plan content retention](https://platform.claude.com/docs/en/manage-claude/compliance-integration-patterns#plan-content-retention).
2121* [Retrieve session transcripts](https://platform.claude.com/docs/en/manage-claude/compliance-sessions), which defines the local and remote session endpoints.
2222 
23For the base URL and credentials on [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed) and [Claude Platform on AWS](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws), see [How the Compliance API works](https://platform.claude.com/docs/en/manage-claude/compliance-api#how-the-compliance-api-works).
24 
2325## Choose a feed-consumption pattern
2426 
2527The Activity Feed supports two consumption patterns: periodic window polling bounded by `created_at.gte` and `created_at.lt`, and cursor-driven incremental reads that persist a cursor from one response and pass it on the next request. Both return identical `Activity` objects; the difference is the state your client persists between calls.

manage-claude/enterprise-frontier-safeguards/customer-owned-storage Changed · +1 / -1 lines

from line 106
106106 
107107| Data category | Who can read it | If Anthropic can’t write to your bucket |
108108| ----- | ----- | ----- |
109| Sealed Safety Data: prompts, responses, and model reasoning, encrypted in Anthropic’s format. | Your team can’t read it, even in storage you own. It’s for automated safety monitoring. For the detail, see [When does automated safety monitoring access your data?](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#who-at-anthropic-can-access-your-data) | <Where bucket="s3" label="Amazon S3">Requests to the workspace keep working during a [grace period of up to 24 hours](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage-manage#if-your-bucket-stops-working). After that, Anthropic might refuse them. Anthropic retries writes for a limited time and doesn’t send that data to Anthropic-managed storage instead. Tell your Anthropic account team as soon as you notice a failure, because Anthropic deletes data that hasn’t reached your bucket. On Claude Platform, it deletes that data about 72 hours after the request. On any other platform, it can do so as early as about a day after the request.</Where> <Where bucket="gcs" label="Google Cloud Storage">Requests to the workspace keep working during a grace period of up to 24 hours. After that, Anthropic might refuse them. Anthropic retries a failed write, then deletes the data about a day after the request. Nobody can recover that data, and it doesn’t go to Anthropic-managed storage. Tell your Anthropic account team as soon as you notice a failure. See [If your bucket stops working](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-if-your-bucket-stops-working).</Where> |
109| Sealed Safety Data: prompts, responses, and model reasoning, encrypted in Anthropic’s format. | Your team can’t read it, even in storage you own. It’s for automated safety monitoring. For the detail, see [When does automated safety monitoring access your data?](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/human-review-and-access-transparency#who-at-anthropic-can-access-your-data) | <Where bucket="s3" label="Amazon S3">Requests to the workspace keep working during a [grace period of up to 24 hours](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage-manage#if-your-bucket-stops-working). After that, Anthropic might refuse them. Anthropic retries writes for a limited time and doesn’t send that data to Anthropic-managed storage instead. Tell your Anthropic account team as soon as you notice a failure, because Anthropic deletes data that hasn’t reached your bucket. On Claude Platform, it deletes that data about 72 hours after the request. On any other platform, it can do so as early as about a day after the request.</Where> <Where bucket="gcs" label="Google Cloud Storage">Requests to the workspace keep working during a grace period of up to 24 hours. After that, Anthropic might refuse them. Anthropic retries a failed write. Restore your bucket within about 46 hours of the request and keep each workspace on it, or you can lose that data. Anthropic stops retrying by about 72 hours after the request, then deletes the data. Nobody can recover that data, and it doesn’t go to Anthropic-managed storage. Tell your Anthropic account team as soon as you notice a failure. See [If your bucket stops working](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/external-storage#gcs-if-your-bucket-stops-working).</Where> |
110110| Transcripts of your prompts and responses. The Transcripts might include requests that never lead to a Safety Case, so plan who can read your bucket. | Your team. Anthropic writes them in a form your team can read. | <Where cloud="claude aws" label="Claude Platform or Claude Platform on AWS">A failure of this storage alone doesn’t block requests.</Where> You don’t receive Transcripts or Safety Cases there while Anthropic can’t write to it. |
111111| Safety Correspondence: Safety Cases, Safety Notices, and your Safety Case Responses. | Your team, and Anthropic (see the paragraph after this table). | The same as for Transcripts. |
112112 

manage-claude/enterprise-frontier-safeguards/external-storage Changed · +1 / -1 lines

from line 1354
13541354 
13551355### If your bucket stops working
13561356 
1357To avoid losing data, restore a bucket that stops working as soon as you can. If a write to your bucket fails, Anthropic retries it, then deletes the data about a day after the request. Nobody can recover that data, and it doesn’t go to Anthropic-managed storage.
1357To avoid losing data, restore a bucket that stops working as soon as you can. If a write to your bucket fails, Anthropic retries it. Restore your bucket within about 46 hours of the request and keep each workspace on it, or you can lose that data. Anthropic stops retrying by about 72 hours after the request, then deletes the data. Nobody can recover that data, and it doesn’t go to Anthropic-managed storage.
13581358 
13591359To notice a failure, watch for new objects under `slab/`. Don’t rely on an email or on the bucket’s status to warn you. If you notice a failure, tell your Anthropic account team as soon as you can.
13601360 

manage-claude/inference-hooks-configuration Changed · +1 / -1 lines

from line 81
8181 
8282 Then set **Prompt verdict timeout (ms)**: 1 to 10,000ms, with a default of 5,000ms. The budget covers the entire exchange, and a slower verdict counts as an unreachable server, so set the lowest value your server can reliably meet.
8383 
84 Changes in this section save as you make them. On first save, the defaults are **Allow the request** and 5,000ms.
84 **Mode** saves when you select an option. To save a new timeout, click **Save changes**. When you first save the endpoint, the defaults are **Allow the request** and 5,000ms.
8585 </Step>
8686 
8787 <Step title="Choose a rollout percentage">

manage-claude/rate-limits-api Changed · +2 / -0 lines

from line 155
155155 ```
156156</CodeGroup>
157157 
158On [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), you can call the endpoints that read limits. Use the platform’s base URL and credentials instead of `https://api.anthropic.com` and an Admin API key. See the Admin API page’s [Cloud platforms](https://platform.claude.com/docs/en/manage-claude/admin-api#cloud-platforms) section.
159 
158160## Organization rate limits
159161 
160162The `/v1/organizations/rate_limits` endpoint returns the rate limits applied at the organization level for the Messages API and its supporting resources. Limits for other products, such as [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview), are not included.

manage-claude/wif-providers/gcp Changed · +2 / -0 lines

from line 8
88 
99This guide shows how to register the Google issuer with Anthropic and bind a Google service account to an Anthropic service account. It then shows how to have your workload exchange its identity token for a short-lived Claude API access token.
1010 
11If you use Claude Models on Google Cloud (Anthropic managed), you don’t need this setup. Authenticate with [Google Cloud credentials](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#authentication) instead.
12 
1113## Prerequisites
1214 
1315* Familiarity with [Workload Identity Federation (WIF) concepts](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#concepts): service accounts, federation issuers, and federation rules.

manage-claude/workload-identity-federation Changed · +2 / -0 lines

from line 53
5353 
5454## Set up federation
5555 
56These steps are for workloads that call the Claude API directly. To call Claude through a cloud platform’s own endpoint, use that platform’s credentials instead. For example, Claude Models on Google Cloud (Anthropic managed) uses [Google Cloud credentials](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#authentication).
57 
5658You need the admin role in your Anthropic organization. You also need an OIDC-capable identity provider with a reachable JWKS endpoint, or a JWKS document you can paste for air-gapped clusters. Your workload must be able to obtain an identity token from that provider.
5759 
5860The **Connect workload** wizard creates all three resources (the issuer, the service account, and the federation rule) in one guided flow, then verifies the connection end to end.

managed-agents/scheduled-deployments Changed · +4 / -0 lines

from line 57
5757 * **Caller permissions:** The IAM principal that sets the role on the agent needs `iam:PassRole` on that role. The role must be in the same AWS account. No [managed policy](https://platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions#managed-policies) grants `iam:PassRole`.
5858</Note>
5959 
60The following example creates a deployment:
61 
6062<CodeGroup defaultLanguage="CLI">
6163 ```bash cURL
6264 curl --fail-with-body -sS "https://api.anthropic.com/v1/deployments?beta=true" \
from line 756
754756 client.beta.deployments.archive(deployment.id)
755757 ```
756758</CodeGroup>
759 
760On [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed#claude-managed-agents), a deployment keeps running after you revoke its creator’s Google Cloud access. To stop it, pause or archive it.
757761 
758762### Failure behavior
759763 

managed-agents/self-hosted-sandboxes-workers Changed · +2 / -0 lines

from line 66
6666 
6767For more control, call the [Environments Work endpoints](https://platform.claude.com/docs/en/api/beta/environments/work) directly and implement your own worker. Your worker then does what the SDK workers do. Among other things, it acknowledges each work item, sends heartbeats, and downloads the agent’s skills. It runs only the tool calls that the session’s [permission policy](https://platform.claude.com/docs/en/managed-agents/permission-policies#see-how-each-call-was-evaluated) allows. It returns each result as a `user.tool_result` or `user.custom_tool_result` event. At the end, it stops the item. Use the worker’s source in the [Python SDK](https://github.com/anthropics/anthropic-sdk-python/tree/main/src/anthropic/lib/environments), the [TypeScript SDK](https://github.com/anthropics/anthropic-sdk-typescript/tree/main/src/lib/environments), or the [Go SDK](https://github.com/anthropics/anthropic-sdk-go/tree/main/lib/environments) as a reference.
6868 
69If you use [Claude Models on Google Cloud (Anthropic managed)](https://platform.claude.com/docs/en/build-with-claude/claude-models-on-google-cloud/anthropic-managed), implement your own worker instead of using the CLI or SDK worker. For credentials, see [Worker authentication on cloud platforms](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes#worker-authentication-on-cloud-platforms).
70 
6971## Run an always-on worker
7072 
7173These samples use `/workspace` as the worker’s working directory. The directory must exist before the worker starts. On a new host, create it and give the worker’s user write access, as in the “Start the worker” step of [Run your first session](https://platform.claude.com/docs/en/managed-agents/self-hosted-sandboxes#run-your-first-session).
Feedback