Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,167 pages for source.

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

thinking-steering-and-cost Claude Developer Platform · in the page build-with-claude/thinking-steering-and-cost …ration, without rewriting its history. * History assembled from mixed sources doesn’t need thinking blocks reinserted at the start of each assistant turn to pass validation. This only means a turn ca… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …/mcp-connector) * `image` or `document` blocks with a `url` or `file` source Send images and PDFs as base64 to count them. For requests that use server tools or MCP servers, the Messages API response… vision Claude Developer Platform · in the page build-with-claude/vision …zon Bedrock: availability: stable note: Only base64 image sources; per-image limit 5 MB (base64-encoded) and a lower total request size. Base64 sources only. Amazon Bedrock (bedrock-ru… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …ates while your pipeline keeps producing the right sizes. A new image source or a switch to a model on a different resolution tier can quietly reintroduce server-side resizing. To turn that silent dri… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …requests. You can supply images using the `base64`, `url`, or `file` source types. The `file` source type references an image uploaded through the [Files API](https://platform.claude.com/docs/en/buil… claude_api_primer Claude Developer Platform · in the page claude_api_primer …de can read both text and images in requests. Both `base64` and `url` source types are supported for images, along with the `image/jpeg`, `image/png`, `image/gif`, and `image/webp` media types. <Code… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply --- title: Manage resources as code with ant apply url: https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply description: Declare agents, environments, skills, memory stores, deployments,… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …d Identity Federation. --- The `ant` CLI supports several credential sources. The [CLI quickstart](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#authentication) covers the one… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …CLI provides access to the Claude API from your terminal. Every API resource is exposed as a subcommand, with output formatting, response filtering, and YAML or JSON file input. <Frame caption="The a… scripting Claude Developer Platform · in the page cli-sdks-libraries/cli/scripting …n/cli-sdks-libraries/cli/scripting description: Version-control API resources as files with ant apply, chain ant CLI commands in scripts, operate on resources from Claude Code, and authenticate curl c… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …ks-libraries/cli/quickstart). To chain commands and version-control resources, see [CLI scripting and automation](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/scripting). ## Command str… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …ocessing * Files API * Token counting * Beta headers ## Additional resources | Reference | Covers | | ----- | ----- | | [Apple Foundation Models documentation](https://developer.apple.com/documentat… overview Claude Developer Platform · in the page cli-sdks-libraries/overview …/en/cli-sdks-libraries/sdks/terraform) for managing Claude Platform resources, such as workspaces and agents, as code. * **Libraries and integrations:** Packages and compatibility layers that expose C… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …``` ### OpenTelemetry tracing When your application adds the SDK’s sources to its OpenTelemetry tracer provider with `AddSource("com.anthropic.sdk.csharp*")`, the SDK emits a span for each request… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …ries(5), ) ``` ### Retries for create methods To avoid duplicate resources, the SDK retries some create methods, such as `client.Beta.Agents.New()`, in only two cases: * The API returns a 429 Too… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …r. Code examples in this documentation are written as [JDK 25 compact source files](https://openjdk.org/jeps/512), using a bare `void main()` entry point and `IO.println()` for output. The API calls t… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …initialize value objects is the static `with` constructor `Base64ImageSource::with(data: 'U3RhaW5sZXNzIHJvY2tz', ...)` with named parameters. However, builders are also provided, for example `(new Ba… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …ic-api-key"` to your `.env` file so that your API key isn’t stored in source control. </Tip> For authentication options, including Workload Identity Federation, see [Authentication](https://platform.… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …he main `anthropic` gem. Provides `Anthropic::FoundryClient`. Pass `resource:` and `api_key:` (or `azure_ad_token_provider:` for Microsoft Entra ID) to the constructor, or set the `ANTHROPIC_FOUNDRY_R… Pins this configuration to one organization. Every plan verifies Claude Developer Platform · in the page cli-sdks-libraries/sdks/terraform …tion. --- The Anthropic Terraform provider manages Claude Platform resources as code. Changes to them go through the same review, plan, and apply workflow as your other infrastructure. <Note> The… GitHub's OIDC issuer. Its signing keys come from OIDC discovery. Claude Developer Platform · in the page cli-sdks-libraries/sdks/terraform/authentication …y. --- Before you set up a credential, check [Credentials for each resource](https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/terraform/behavior#credentials-for-each-resource) for the scop… behavior Claude Developer Platform · in the page cli-sdks-libraries/sdks/terraform/behavior …ble’s first row says how a federation token gets its workspace. ## Resources and what `terraform destroy` does For each resource’s arguments and attributes, see its reference page on the [Terraform… operations Claude Developer Platform · in the page cli-sdks-libraries/sdks/terraform/operations …ions description: "Tasks for after the first apply: import existing resources, keep state and plans safe, and turn on logs." --- ## Pin the provider’s release `terraform init` selects the newest rel… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …sdk/helpers/beta/zod"; import { ToolError } from "@anthropic-ai/sdk/resources/beta/messages"; import { z } from "zod"; const screenshotTool = betaZodTool({ name: "take_screenshot", inputSchema: z… get-started Claude Developer Platform · in the page get-started …<Tab title="go install"> You can also install the CLI from source with `go install`, which requires Go 1.26.10 or later. ```bash go install github.com/anthropics/anthropic-… home Claude Developer Platform · in the page home …d the Terraform provider in beta, so you can manage Claude Platform resources as code. * December 1, 2026: [Claude Managed Agents for Amazon Bedrock](https://platform.claude.com/docs/en/release-note… access-transparency Claude Developer Platform · in the page manage-claude/access-transparency …de.com/docs/en/manage-claude/access-transparency#reason-codes) | | `resource_details.type` | enum | A resource type, currently only `message`. Extensible for future resource types | | `resource_detail… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …outside the API. This lets you check a key you hold locally against a source the serving path cannot alter. The key you hold might come from an earlier `GET /keys` response or from tooling that pins t… List your profiles. An asterisk marks the active one. Claude Developer Platform · in the page manage-claude/admin-api …/manage-claude/admin-api#authentication), then manage the following resources: * Organization members and their roles * Organization invites * Workspaces and their members * API keys * Service accoun… List your profiles. An asterisk marks the active one. Claude Developer Platform · in the page manage-claude/admin-api-keys …ab> <Tab title="go install"> You can also install the CLI from source with `go install`, which requires Go 1.26.10 or later. ```bash go install github.com/anthropics/anthropic-cli/v2/c… analytics-api Claude Developer Platform · in the page manage-claude/analytics-api …e `null`. **Connector names.** Connector names are normalized across sources. For example, `Atlassian MCP server`, `mcp-atlassian`, and `atlassian_MCP` all appear as `atlassian` in the connector usag… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …d. * **Claude Managed Agents:** Claude Managed Agents is a stateful resource; session transcripts persist until you delete them. The exception is self-hosted Claude Managed Agents, where you store the… api-keys Claude Developer Platform · in the page manage-claude/api-keys …sion: 2026-10-21 content-type: application/json ``` Keep keys out of source control, client-side code, and prompts. To set `ANTHROPIC_API_KEY` in your shell, including on Windows, see [API key](https… authentication Claude Developer Platform · in the page manage-claude/authentication …<Tab title="go install"> You can also install the CLI from source with `go install`, which requires Go 1.26.10 or later. ```bash go install github.com/anthropics/anthropic-… claude-tag-api Claude Developer Platform · in the page manage-claude/claude-tag-api …not exist. ## Endpoints The API exposes 14 endpoints across four resources: | Resource | Endpoints | | ----- | ----- | | **Slack channels:** set a channel up, list the channels of a workspace or f… cmek-admin-api Claude Developer Platform · in the page manage-claude/cmek-admin-api …e. Replace the value that starts with `projects/` with the full key resource name. <CodeGroup> ```bash cURL curl -sS "https://api.anthropic.com/v1/organizations/external_k… cmek-aws-kms Claude Developer Platform · in the page manage-claude/cmek-aws-kms …am::<AWS_ACCOUNT_ID>:root" }, "Action": "kms:*", "Resource": "*" }, { "Sid": "AllowAnthropicCMEKCrypto", "Effect": "Allow", "Principal": { "AWS": "a… cmek-aws-kms-workspaces Claude Developer Platform · in the page manage-claude/cmek-aws-kms-workspaces …cmek-client-us" }, "Action": ["kms:Encrypt", "kms:Decrypt"], "Resource": "*", "Condition": { "StringEquals": { "kms:EncryptionContext:anthropic:org_uuid": ["<ORGANIZATION_UUID>"]… cmek-claude-platform-on-aws Claude Developer Platform · in the page manage-claude/cmek-claude-platform-on-aws …am::<AWS_ACCOUNT_ID>:root" }, "Action": "kms:*", "Resource": "*" }, { "Sid": "AllowClaudePlatformOnAWSCrypto", "Effect": "Allow", "Principal": { "Se… cmek-google-cloud-kms Claude Developer Platform · in the page manage-claude/cmek-google-cloud-kms …nthropic’s service account access to the key"> Check that **Resource** shows the key, not the key ring or project. Enter these values: * **New principals:** `anthropic-cmek-client-us@… cmek-how-it-works Claude Developer Platform · in the page manage-claude/cmek-how-it-works …e CMEK whitepaper in the [Trust Center](https://trust.anthropic.com/resources). Next, read [what each key action does](https://platform.claude.com/docs/en/manage-claude/cmek-key-lifecycle#what-each-a… cmek-troubleshooting Claude Developer Platform · in the page manage-claude/cmek-troubleshooting …0:role/anthropic-cmek-client-us" }, "Action": "kms:Decrypt", "Resource": "*", "Condition": { "StringEquals": { "kms:EncryptionContext:anthropic:compartment_uuid": ["<COMPARTMENT_UUID… compliance-api-access Claude Developer Platform · in the page manage-claude/compliance-api-access …ction database credentials: store them in a secrets manager, never in source control or SIEM forwarder configuration. Treat Admin API keys the same way: one that you create while the [Safety Cases API… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …ata#list-organization-users). The other endpoints on this page take resource IDs directly. </Check> The endpoints on this page expose Claude Enterprise chat content, file uploads, projects, and proje… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …pliance-errors#404-not-found) | Usually no | A message that names a resource means it was deleted or never existed; remove it from your queue. The bare message `Not found` means the request did not au… compliance-faq Claude Developer Platform · in the page manage-claude/compliance-faq …file uploads, project changes, administrative actions, and similar resource events), but it does not capture the prompt text or model responses inside chats or messages. To retrieve message bodi… before_id is the first_id from a previous response Claude Developer Platform · in the page manage-claude/compliance-integration-patterns …ade the request | | `created_at` | Time-window correlation across any source | `actor.user_id` and `actor.email_address` are present when `actor.type` is `user_actor`. `actor.ip_address` and `actor.u… compliance-org-data Claude Developer Platform · in the page manage-claude/compliance-org-data …}, "conversation_preferences": "Keep answers brief and cite sources.", "cowork_global_instructions": null } ], "has_more": false, "next_page": null } ``` ## List roles The… check-events-against-results Claude Developer Platform · in the page manage-claude/compliance-security-posture/check-events-against-results …deliver an activity late, and the endpoint keeps no history. So each source can show a change that the other does not. A daily comparison finds what your security information and event management (SI… ocsf-mapping Claude Developer Platform · in the page manage-claude/compliance-security-posture/ocsf-mapping …self, and `metadata.original_event_uid` holds the identifier from the source. OCSF 1.9.0 deprecates `actor.app_name` in favor of `actor.application`. ## Attributes for every Security posture activity…
Feedback