Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

679 pages for env.

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

List Workspaces Claude Developer Platform · in the page api/organization/workspaces/list …Wc1phhtcfK", "name": "Workspace Name", "tags": { "env": "prod", "team": "platform" }, "type": "workspace" } ], "first_id": "first_id", "has_more": tru… Get Workspace Claude Developer Platform · in the page api/organization/workspaces/retrieve …SDCCSbTxrXDpWc1phhtcfK", "name": "Workspace Name", "tags": { "env": "prod", "team": "platform" }, "type": "workspace" } ``` Update Workspace Claude Developer Platform · in the page api/organization/workspaces/update …d": "ekey_01SDCCSbTxrXDpWc1phhtcfK", "tags": { "env": "prod", "team": "platform" } }' ``` ### Response (200) ```json { "id": "wrkspc_01JwQvzr7rX… overview Claude Developer Platform · in the page api/overview …xes (`POST /v1/sessions`, `GET /v1/sessions/{id}/events/stream`) * **[Environments API](https://platform.claude.com/docs/en/managed-agents/environments):** Configure sandbox templates for agent sessio… rate-limits Claude Developer Platform · in the page api/rate-limits …------------ | | Create endpoints (for example, agents, sessions, and environments) | 300 requests per minute | | Read endpoints (for example, retrieve, list, and stream) | 1,200 requests… service-tiers Claude Developer Platform · in the page api/service-tiers …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_4_8) .maxTokens(1024L)… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); BatchCreateParams params = BatchCreateParams.builder() .addRequest( BatchCreateParams.Request.builder()… cache-diagnostics Claude Developer Platform · in the page build-with-claude/cache-diagnostics …e) } ``` ```java Java var client = AnthropicOkHttpClient.fromEnv(); var system = "You are an AI assistant analyzing a large document. <document>...</document>"; var r1 = client.beta().m… citations Claude Developer Platform · in the page build-with-claude/citations …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); PlainTextSource source = PlainTextSource.builder() .data("The grass is green. The sky is blue.") .build();… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …region using the standard AWS precedence: constructor arguments, then environment variables (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_SESSION_TOKEN`, `AWS_REGION`), then the AWS config file… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …rce name or base URL, and automatically reads them from the following environment variables if they are defined: * `ANTHROPIC_FOUNDRY_API_KEY` - Your API key * `ANTHROPIC_FOUNDRY_RESOURCE` - Your res… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …who can open it to send you the ID. Set the project and workspace as environment variables so that the SDK client and the [`ant` CLI](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quicks… google-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/google-managed …es\TextBlock; use Anthropic\Vertex; $client = Vertex\Client::fromEnvironment( region: 'global', projectId: 'MY_PROJECT_ID', ); $message = $client->messages->create( maxToke… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …cOkHttpClient.builder() .backend(BedrockBackend.fromEnv()) .build(); MessageCreateParams params = MessageCreateParams.builder() .mo… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …service page. Set the `ANTHROPIC_AWS_WORKSPACE_ID` and `AWS_REGION` environment variables so the SDK clients read them automatically: ```bash CLI export ANTHROPIC_AWS_WORKSPACE_ID='wrkspc_01AbCdEf2… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction …// ... AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .addBeta("compact-2026-01-12")… compaction-background Claude Developer Platform · in the page build-with-claude/compaction-background …)); } void main() { var client = AnthropicOkHttpClient.fromEnv(); var questions = List.of( "What are the main entities in the data model?", "Which fields should R… compaction-keep-recent-turns Claude Developer Platform · in the page build-with-claude/compaction-keep-recent-turns …NS = 2; void main() { var client = AnthropicOkHttpClient.fromEnv(); var questions = List.of( "What are the main entities in the data model?", "Which fields should R… compaction-on-demand Claude Developer Platform · in the page build-with-claude/compaction-on-demand …Params; void main() { var client = AnthropicOkHttpClient.fromEnv(); var params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) // max_tokens caps the… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …uild(); void main() { var client = AnthropicOkHttpClient.fromEnv(); // 1. Have a short conversation with thinking on. var history = new ArrayList<BetaMessageParam>(); histo… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …// ... AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .addBeta("compact-2026-01-12")… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …pt TypeScript const anthropic = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY }); const response = await anthropic.beta.messages.create({ model: "claude-opus-5-5", max_token… effort Claude Developer Platform · in the page build-with-claude/effort …oid main() { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) .maxTok… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking ….Model; void main() { var client = AnthropicOkHttpClient.fromEnv(); var params = MessageCreateParams.builder() .model(Model.CLAUDE_SONNET_4_6) .maxTokens(16_000)… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams.Builder request() { return MessageCreateParams.builder() .maxTokens(1024L)… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); Message response = client.messages().create( MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5)… files Claude Developer Platform · in the page build-with-claude/files …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); // Read the text file String textContent = Files.readString(Path.of("document.txt")); MessageCreateParams params =… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); Message response = client.messages().create( MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5)… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …. The `DOC_TEST_MODE` check caps the loops to a single turn when that environment variable is set, so the automated docs harness can validate that the file compiles and completes quickly without runni… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …ms; // ... AnthropicClient client = AnthropicOkHttpClient.fromEnv(); // The full tool set is declared up front and never changes, so the // cached prefix stays intact. BetaT… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) .maxTokens(1024)… overview Claude Developer Platform · in the page build-with-claude/overview …responses. * **Tools:** Let Claude take actions on the web or in your environment. * **Tool infrastructure:** Handle discovery and orchestration at scale. * **Context management:** Keep long-running s… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); // Create document block with URL DocumentBlockParam documentParam = DocumentBlockParam.builder() .source(… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …oid main() { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_FABLE_5_1) .maxTo… Request 2 caches its request content (not the response) Claude Developer Platform · in the page build-with-claude/prompt-caching …args) { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5)… claude-prompting-best-practices Claude Developer Platform · in the page build-with-claude/prompt-engineering/claude-prompting-best-practices …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) .maxTokens(1024)… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …oid main() { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); BetaTool readFileTool = BetaTool.builder() .name("read_file") .description("Read a UTF-8 text fi… 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… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); BetaMessage response = client.beta().messages().create(MessageCreateParams.builder() .model(Model.CLAUDE_FABLE_5)… search-results Claude Developer Platform · in the page build-with-claude/search-results …oid main() { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); Tool knowledgeBaseTool = Tool.builder() .name("search_knowledge_base") .description("Search the… 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… streaming Claude Developer Platform · in the page build-with-claude/streaming …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) .maxTokens(1024L)… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …xception { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); StructuredMessageCreateParams<ContactInfo> params = MessageCreateParams.builder() .model(Model.CLAUDE_… task-budgets Claude Developer Platform · in the page build-with-claude/task-budgets …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) .maxTokens(128000L)… thinking Claude Developer Platform · in the page build-with-claude/thinking …oid main() { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5) .maxTok… thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …xception { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); String bookUrl = "https://www.gutenberg.org/cache/epub/1342/pg1342.txt"; String bookContent = fetchArticle… thinking-tool-workflows Claude Developer Platform · in the page build-with-claude/thinking-tool-workflows …// ... AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCreateParams params = MessageCreateParams.builder() .model(Model.CLAUDE_OPUS_5_5)… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …args) { AnthropicClient client = AnthropicOkHttpClient.fromEnv(); MessageCountTokensParams params = MessageCountTokensParams.builder() .model(Model.CLAUDE_OPUS_5_5)… vision Claude Developer Platform · in the page build-with-claude/vision …```java Java AnthropicClient client = AnthropicOkHttpClient.fromEnv(); String imageData = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAADElEQVR4nGP4z8AAAAMBAQDJ/pLvAAAAAElFTkSuQmCC";… 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/…
Feedback