Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

582 pages for environment.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

prompting-claude-opus-5 Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-opus-5 …_MAX_SUBAGENT_SPAWN_DEPTH` and `CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS` environment variables and the SDK’s `max_budget_usd` (typescript: `maxBudgetUsd`) option. Older versions of Claude Code don’t have… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …`, `type`, and optional `version`, and they run in the code execution environment. You can use Skills from two sources: | Aspect | Anthropic Skills | Custom Ski… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …Give Claude screenshot, mouse, and keyboard control of a desktop environment with the computer use tool. </Card> <Card title="PDF support" icon="file" href="https://platform.claude.com/docs/… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …s-and-tools/tool-use/computer-use-tool"> Control desktop computer environments with the Messages API. </Card> <Card title="Browser use tool" icon="browser" href="https://platform.claude.com/d… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …com/docs/en/cli-sdks-libraries/cli/apply description: Declare agents, environments, skills, memory stores, deployments, and vaults as files in your repository and keep the API's resources in sync with… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …n-directory) for the OS-specific default). On a remote host or in any environment without a local browser, pass `--no-browser` to print the authorize URL and paste the returned code back into the term… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …/ant ``` </Tab> <Tab title="curl (Linux/WSL)"> For Linux environments, download the release binary directly. ```bash VERSION=2.7.1 OS=$(uname -s | tr '[:upper:]' '[:lower:]')… scripting Claude Developer Platform · in the page cli-sdks-libraries/cli/scripting …es/cli/using). ## Version-controlling API resources To keep agents, environments, and other Claude Managed Agents resources as files in your repository, see [Manage resources as code with ant apply]… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …ags. Resources in beta (including agents, sessions, deployments, and environments) live under the `beta:` prefix. Commands in this namespace automatically send the appropriate `anthropic-beta` header… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …guageModel( name: .sonnet5, auth: .apiKey(ProcessInfo.processInfo.environment["ANTHROPIC_API_KEY"] ?? "") ) let session = LanguageModelSession(model: model) let response = try await session.respo… openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …/ Claude model name credential: new ApiKeyCredential( Environment.GetEnvironmentVariable("ANTHROPIC_API_KEY")), // Your Claude API key options: new OpenAIClientOptions() {… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …on for this SDK. ## Client configuration Configure the client using environment variables: ```csharp using Anthropic; // Configured using the ANTHROPIC_API_KEY, ANTHROPIC_AUTH_TOKEN, and ANTHROPIC… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …; set `WorkspaceID` on the config or the `ANTHROPIC_AWS_WORKSPACE_ID` environment variable. The `anthropicaws` import alias avoids a name collision with `github.com/aws/aws-sdk-go-v2/aws` when both ar… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …`ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN`, and `ANTHROPIC_BASE_URL` environment variables AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …oogle Cloud (Google managed):** `Anthropic\Vertex\Client`. Use `::fromEnvironment()`. * **Bedrock:** `Anthropic\Bedrock\MantleClient`. Use `new MantleClient(awsRegion: ...)`. * **Bedrock (legacy):** `… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …dard library `logging` module. You can enable logging by setting the environment variable `ANTHROPIC_LOG` to `debug` or `info`: ```bash export ANTHROPIC_LOG=debug ``` ### OpenTelemetry tracing Whe… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …space_id:` to the constructor or set the `ANTHROPIC_AWS_WORKSPACE_ID` environment variable (see [Workspaces](https://platform.claude.com/docs/en/build-with-claude/claude-platform-on-aws#workspaces)).… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …gure the Anthropic TypeScript SDK for Node.js, Deno, Bun, and browser environments --- This library provides convenient access to the Claude API from TypeScript or JavaScript. <Info> For API featu… get-api-key Claude Developer Platform · in the page get-api-key …ccount key for your workload. ## Use your API key Set the key as an environment variable: ```bash export ANTHROPIC_API_KEY="sk-ant-api03-..." ``` The [client SDK](https://platform.claude.com/docs/… get-started Claude Developer Platform · in the page get-started …</Tab> <Tab title="curl (Linux/WSL)"> For Linux environments, download the release binary directly. ```bash VERSION=2.7.1 OS=$(uname -s | tr '[:upper:]'… intro Claude Developer Platform · in the page intro …n. <Steps> <Step title="Make your first API call"> Set up your environment, install an SDK, and send your first message to Claude. [Go to the quickstart](https://platform.claude.com/docs/e… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …your Compliance Access Key from the `ANTHROPIC_COMPLIANCE_ACCESS_KEY` environment variable, never from a flag or a file. The `run` command is the one to schedule: ```bash go install github.com/anthro… admin-api Claude Developer Platform · in the page manage-claude/admin-api …n, and the SDK and CLI perform the token exchange from the federation environment variables. See [Bootstrap a workload to manage WIF](https://platform.claude.com/docs/en/manage-claude/wif-admin-api#bo… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …ud’s Agent Platform, retained data stays within your cloud provider’s environment; review each platform’s documentation for enablement steps. ### Enable 30-day retention for a workspace Organization… authentication Claude Developer Platform · in the page manage-claude/authentication …Bearer <key>` on direct HTTP requests, or set the `ANTHROPIC_API_KEY` environment variable and the [client SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview) picks it up automatical… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …Claude Console organization * **terminal\_type:** Type of terminal or environment where Claude Code was used (for example, `vscode`, `iTerm.app`, `tmux`) * **subscription\_type:** Subscription type re… claude-tag-api Claude Developer Platform · in the page manage-claude/claude-tag-api …ples on this page read the Admin API key from the `ANTHROPIC_API_KEY` environment variable. Where an SDK or the CLI fetches more pages for you, `limit` sets the page size, not the total (see [Paginati… cmek Claude Developer Platform · in the page manage-claude/cmek …managed-agents/overview) (beta) data, including agent configurations, environments, webhooks, sessions and their events, [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) (bet… cmek-coverage-claude-enterprise Claude Developer Platform · in the page manage-claude/cmek-coverage-claude-enterprise …al telemetry. To turn this telemetry off, set the `DISABLE_TELEMETRY` environment variable to `1`, as described under [Telemetry services](https://code.claude.com/docs/en/data-usage#telemetry-services… cmek-coverage-claude-platform Claude Developer Platform · in the page manage-claude/cmek-coverage-claude-platform …managed-agents/overview) (beta) data, including agent configurations, environments, webhooks, sessions and their events, [memory stores](https://platform.claude.com/docs/en/managed-agents/memory) (bet… compliance-api Claude Developer Platform · in the page manage-claude/compliance-api …essions started in Slack, which run in the cloud in Anthropic-managed environments or, for Claude Tag, on a self-hosted runner pool (remote sessions). A standalone Claude Console organization (one wit… compliance-api-access Claude Developer Platform · in the page manage-claude/compliance-api-access …Export the key for the examples in this guide"> Set the key as an environment variable so the shell samples in this guide can read it: ```bash export ANTHROPIC_COMPLIANCE_ACCESS_KEY=sk-an… compliance-faq Claude Developer Platform · in the page manage-claude/compliance-faq …essions started in Slack, which run in the cloud in Anthropic-managed environments or, for Claude Tag, on a self-hosted runner pool, are available through the [remote session endpoints](https://platfo… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …ion endpoints for sessions that run in the cloud in Anthropic-managed environments or, for Claude Tag, on a self-hosted runner pool. Both families are read-only, and neither is available to Admin API… ip-allowlist Claude Developer Platform · in the page manage-claude/ip-allowlist …sions](https://platform.claude.com/docs/en/managed-agents/sessions), [Environments](https://platform.claude.com/docs/en/managed-agents/environments), [Vaults](https://platform.claude.com/docs/en/manag… api Claude Developer Platform · in the page manage-claude/opentelemetry/api …AA organizations can export metadata. SDK spans go directly from your environment to your exporter. After delivery, the data is held by the service that you chose, outside Anthropic, under that servic… sdk Claude Developer Platform · in the page manage-claude/opentelemetry/sdk …version of the SDK can rename a span, an attribute, an option, or an environment variable. Pin the SDK version in your dependencies to choose when you adopt the changes. </Note> ## 1. Install the SD… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …ples on this page read the Admin API key from the `ANTHROPIC_API_KEY` environment variable. Where an SDK or the CLI fetches more pages for you, `limit` sets the page size, not the total (see [Paginati… rate-limits-api Claude Developer Platform · in the page manage-claude/rate-limits-api …lient and the CLI read the Admin API key from the `ANTHROPIC_API_KEY` environment variable. The SDK exposes these endpoints as `client.organization.rate_limits` (typescript: `client.organization.rateL… spend-limits-api Claude Developer Platform · in the page manage-claude/spend-limits-api …you. The examples read the Admin API key from the `ANTHROPIC_API_KEY` environment variable. The SDK and the CLI fetch more pages for you as you go through the results, so `limit` sets the page size, n… usage-cost-analytics-api Claude Developer Platform · in the page manage-claude/usage-cost-analytics-api …The examples on this page read a key from the `ANTHROPIC_API_KEY` environment variable, so set it to your key before you run them. If you call these endpoints with an Admin API key, give the se… user-management Claude Developer Platform · in the page manage-claude/user-management …but cannot change them. ## Quick start Set the `ANTHROPIC_API_KEY` environment variable to your Admin API key. The examples on this page read the key from it. The SDK and the `ant` CLI send the `Au… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …nstruct-the-sdk-client), and point it at the rule with the federation environment variables: ```bash export ANTHROPIC_FEDERATION_RULE_ID=fdrl_... # the org:admin rule from step 1 e… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …GANIZATION_ID, and # ANTHROPIC_SERVICE_ACCOUNT_ID are read from the environment. # For a rule enabled for all workspaces or more than one, set ANTHROPIC_PROFILE # to a federation profile that se… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …, Functions, and Container Apps:** The URL in the `IDENTITY_ENDPOINT` environment variable with the header `X-IDENTITY-HEADER` set to the value of `IDENTITY_HEADER`, and `api-version=2019-08-01`. IMDS… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …tity tokens instead of static API keys. --- Any Google Cloud compute environment with access to the instance metadata server (Cloud Run, Cloud Functions, App Engine, Compute Engine (GCE), and GKE wit… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …anch>`. Pull-request runs use `repo:<owner>/<repo>:pull_request`, and environment-gated deployments use `repo:<owner>/<repo>:environment:<name>`. Your federation rule matches against this claim (and o… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …the rule’s `fdrl_...` ID to your pod’s `ANTHROPIC_FEDERATION_RULE_ID` environment variable. ## Acquire and use the token The pod spec in [Configure Kubernetes](https://platform.claude.com/docs/en/ma… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …our workload’s public JWK. Alternatively, use a client secret if your environment can store one securely. For the following example you might need to disable the DPoP requirement on the application; e… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …rule’s `fdrl_...` ID to the workload’s `ANTHROPIC_FEDERATION_RULE_ID` environment variable. ## Acquire and use the token The Claude SDK can read the JWT-SVID from the file that spiffe-helper maintai…
Feedback