Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,090 pages for path.

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

skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …SDK also provides a `files_from_dir` helper that accepts a directory path, and the CLI’s `ant apply` uploads the directory itself. Files are identified by the file name you attach (the `;filename=`… thinking Claude Developer Platform · in the page build-with-claude/thinking …ng asked, tries approaches, checks intermediate results, and abandons paths that do not hold up. That up-front thinking arrives in `thinking` content blocks ahead of the response, and Claude draws on… token-counting Claude Developer Platform · in the page build-with-claude/token-counting …4 import anthropic client = anthropic.Anthropic() with open("/path/to/document.pdf", "rb") as pdf_file: pdf_base64 = base64.standard_b64encode(pdf_file.read()).decode("utf-8") respons… vision Claude Developer Platform · in the page build-with-claude/vision ….io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import java.util.List; void main() throws IOException { AnthropicClient client = AnthropicOkHttpClient.fromEnv();… apply Claude Developer Platform · in the page cli-sdks-libraries/cli/apply …ibraries/cli/apply#kind-inference) that the file is an agent from its path, here the `agents/` directory. In an interactive terminal, `ant apply` prints the plan and waits for your approval: ```text… On a remote host without a browser: Claude Developer Platform · in the page cli-sdks-libraries/cli/authentication …rkspace the active token is bound to, and the configuration directory paths. Use it to diagnose why a workload picked the wrong credential or workspace. ```bash CLI ant auth status ``` ```text Activ… quickstart Claude Developer Platform · in the page cli-sdks-libraries/cli/quickstart …-written JSON, and inlines file contents into string fields with an `@path` reference. It extracts response fields with a built-in `--transform` query, so you don’t need a separate tool such as `jq`,… using Claude Developer Platform · in the page cli-sdks-libraries/cli/using …lore` | | `--transform` | Filter or reshape the response with a GJSON path. See [Transform output with GJSON](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/using#transform-output-with-gjs… apple-foundation-models Claude Developer Platform · in the page cli-sdks-libraries/libraries/apple-foundation-models …directly from your app to the Claude API; Apple is not in the request path and does not see prompts or responses. Usage is billed to your Anthropic account at [standard API pricing](https://platform.c… middleware Claude Developer Platform · in the page cli-sdks-libraries/middleware …IO.println(request.method() + " /" + String.join("/", request.pathSegments())); // Forward the request to the next handler HttpResponse response = nextClient.execute(reque… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …eam = await response.ReadAsStream(); using var fileStream = File.Open(path, FileMode.OpenOrCreate); await contentStream.CopyToAsync(fileStream); // Or any other Stream ``` ### Raw responses The SDK… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …ent type. ```go // A file from the filesystem file, err := os.Open("/path/to/file.json") anthropic.FileUploadParams{ File: anthropic.File(file, "custom-name.json", "application/json"), } // A file… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …tField.<InputStream>builder() .value(Files.newInputStream(Paths.get("/path/to/file.pdf"))) .contentType("application/pdf") .build() ) .build(); FileMetadat… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …new Client(); $response = $client->request( method: 'post', path: '/undocumented/endpoint', query: ['dog' => 'woof'], headers: ['useful-header' => 'interesting-value'], body: ['h… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …rrespond to file uploads can be passed in many different forms: * A `PathLike` object (for example, `pathlib.Path`) * A tuple of `(filename, content, content_type)` * A `BinaryIO` file-like object `… Automatically handles tool execution loop Claude Developer Platform · in the page cli-sdks-libraries/sdks/ruby …rs that correspond to file uploads can be passed as raw contents, a [`Pathname`](https://rubyapi.org/3.2/o/pathname) instance, [`StringIO`](https://rubyapi.org/3.2/o/stringio), or more. ```ruby anthr… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …content const resource = await mcpClient.readResource({ uri: "file:///path/to/doc.txt" }); await anthropic.beta.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [ {… get-started Claude Developer Platform · in the page get-started …st ``` `go install` places the binary in `$(go env GOPATH)/bin`. Add that directory to your `PATH` if it isn’t already there: ```bash export PATH="$PATH:$(go env GOPA… intro Claude Developer Platform · in the page intro …s://platform.claude.com/docs/en/models/overview) *** ## Recommended path for new developers Follow these steps to build a working Claude integration. <Steps> <Step title="Make your first API cal… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …is 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 the key. | Key hash… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …for your organization. #### Build with eligible features Whichever path you use, confirm which features are supported in the [feature eligibility table](https://platform.claude.com/docs/en/manage-c… claude-tag-api Claude Developer Platform · in the page manage-claude/claude-tag-api …d responses | | Bundle | `capp_` | `id` on a Bundle; `{bundle_id}` in paths | | Bundle target | `btgt_` | `id` on a Bundle target; `{target_id}` in paths | | Slack’s own workspace ID | `T`, or `E` for… cmek Claude Developer Platform · in the page manage-claude/cmek …cted data in that workspace permanently inaccessible, with no backout path. * **No retroactive encryption:** CMEK only protects data written after your key takes effect (see [How it works](https://pla… compliance-api Claude Developer Platform · in the page manage-claude/compliance-api …laude.com/docs/en/api/compliance" title="API reference"> Endpoint paths, parameters, and response schemas for every Compliance API call. </Card> <Card href="https://platform.claude.com/docs/e… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …ame*`. Either way, treat it as untrusted before using it as an output path: * Keep only the base name. * Allow only characters that are safe on your filesystem. * Refuse names that begin with `-` or… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …re message `Not found` means the request did not authenticate (or the path does not exist), not that a resource is gone; see [Request not authenticated](https://platform.claude.com/docs/en/manage-clau… compliance-org-data Claude Developer Platform · in the page manage-claude/compliance-org-data …| Relationship to `uuid` | | ----- | ----- | ----- | | `{org_uuid}` | Path parameter on per-organization endpoints on this page | Same value | | `organization_uuid` | Activity Feed, chat, project, and… overview Claude Developer Platform · in the page manage-claude/compliance-security-posture/overview …and the page it opens is headed **Security Center**. ## Choose your path To get changes on the page into your security information and event management (SIEM) system, start with [Send Security post… results-reference Claude Developer Platform · in the page manage-claude/compliance-security-posture/results-reference …a later request can succeed. Every 404 has the same body, as does a path that does not exist. ## Freshness and side effects The endpoint evaluates every control when you call it, and `evaluated_at… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …gh transcript tool calls (text only; other content is omitted) | File paths; Claude Code can also capture contents with an optional, size-capped setting | | Host and device metadata (terminal type, wo… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …n server.cs var app = WebApplication.Create(); app.MapPost("/{**path}", async (HttpRequest request) => { // Drain the body; transcripts can be megabytes. await request.Body.CopyToA… branding-samples Claude Developer Platform · in the page manage-claude/oauth-apps/branding-samples …c(20em / 14); height: calc(20em / 14); } .claude-button path { fill: #D97757; stroke: none; } </style> ``` </Accordion> <Accordion title="Sample HTML for the Link yo… copy from platform.claude.com after you register your OAuth app. Claude Developer Platform · in the page manage-claude/oauth-apps/organization-billing-connections …401 response. ```python def write_credentials_file( config_dir: Path, profile: str, token: str, expires_at: int ) -> None: credentials_dir = config_dir / "credentials" credentials_dir.mk… api Claude Developer Platform · in the page manage-claude/opentelemetry/api …OTLP/HTTP endpoint, with a hostname, not an IP address. It can have a path prefix, for example `https://gateway.example.com/otlp`. Don’t add `/v1/traces`, because the API adds it. If you set an **OTLP… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …ip` files. Packaged MCP servers (`.mcpb`, `.dxt`) are allowed. * File paths must be relative, contain no `..`, and use only letters, digits, spaces, and `_ . - / ( ) ,`. * The request body and the unc… First request Claude Developer Platform · in the page manage-claude/usage-cost-api …arry no Admin API keys, so for them the Analytics API key is the only path to this data. See [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api) for how to create each ke… user-management Claude Developer Platform · in the page manage-claude/user-management …o custom roles (role-based access control, the `rbac` in the endpoint paths and scope names). Groups belong to your parent organization and every organization under it, not to a single organization. S… user-profiles-verification-portal Claude Developer Platform · in the page manage-claude/user-profiles-verification-portal …en/api/user_profiles/action_urls/create) with the profile’s ID in the path. In the request body, set `action.type` to `enroll_end_user`. The call returns a `404` if creating enrollment links isn’t en… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …ugh the Claude Console. These endpoints share the `/v1/organizations` path prefix with the rest of the [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api). ## Prerequisites Ever… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …keys by exchanging an AWS-signed OIDC identity token. The recommended path calls the AWS STS [`GetWebIdentityToken`](https://docs.aws.amazon.com/STS/latest/APIReference/API_GetWebIdentityToken.html) A… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …-oat01-...` Anthropic access token and calls Claude with it. On both paths the token you present to Anthropic carries your tenant-specific Entra issuer and the managed identity’s object ID in the `su… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …lusters/CLUSTER`) with a projected `serviceAccountToken` volume. That path uses a cluster-specific issuer rather than `accounts.google.com`. See [Use WIF with Kubernetes](https://platform.claude.com/d… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …lls `ACTIONS_ID_TOKEN_REQUEST_URL` directly instead of using the file path. ## Verify the setup A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` valu… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …The `serviceAccountToken` projection writes a fresh JWT to the mount path and rotates it before `expirationSeconds` elapses. ```yaml Pod apiVersion: v1 kind: Pod metadata: name: inference-worker… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …oauth2/<auth-server-id>`. If you use the built-in default server, the path is `/oauth2/default`. <Note> You must use an Okta **custom authorization server** (including the `default` one). External… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …workload a stable identity URI of the form `spiffe://<trust-domain>/<path>`, and SPIRE issues that identity as a JWT-SVID on demand through the Workload API. A JWT-SVID is an ordinary signed JSON Web… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …_IDENTITY_TOKEN_FILE` | One of `_TOKEN_FILE` or `_TOKEN` | Filesystem path to the JWT issued by your identity provider (IdP). The SDK rereads this file on every exchange so that projected tokens that… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …uilder() .source("file") .path("/var/run/secrets/anthropic.com/token") .build()) .build()) .build()))… cloud-sandboxes-reference Claude Developer Platform · in the page managed-agents/cloud-sandboxes-reference …m (`/opt/pw-browsers/chromium`) - Browser used by Playwright, not on `PATH` The sandbox sets `PLAYWRIGHT_BROWSERS_PATH` to `/opt/pw-browsers`, so the pre-installed Playwright packages find Chromium t… DCF Model Rubric Claude Developer Platform · in the page managed-agents/define-outcomes …--file /tmp/rubric.md ``` ```python Python import time from pathlib import Path from anthropic import Anthropic client = Anthropic() RUBRIC = """# DCF Model Rubric ## Revenue Pro…
Feedback