Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.288 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,005 pages for path.

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

Create Skill Version Claude Developer Platform · in the page api/skills/versions/create …**POST** `/v1/skills/{skill_id}/versions` Create Skill Version ## Path parameters - `skill_id: string` Unique identifier for the skill. The format and length of IDs may change over time. #… Delete Skill Version Claude Developer Platform · in the page api/skills/versions/delete …`/v1/skills/{skill_id}/versions/{version}` Delete Skill Version ## Path parameters - `skill_id: string` Unique identifier for the skill. The format and length of IDs may change over time. -… List Skill Versions Claude Developer Platform · in the page api/skills/versions/list …ns **GET** `/v1/skills/{skill_id}/versions` List Skill Versions ## Path parameters - `skill_id: string` Unique identifier for the skill. The format and length of IDs may change over time. #… Get Skill Version Claude Developer Platform · in the page api/skills/versions/retrieve …T** `/v1/skills/{skill_id}/versions/{version}` Get Skill Version ## Path parameters - `skill_id: string` Unique identifier for the skill. The format and length of IDs may change over time. -… citations Claude Developer Platform · in the page build-with-claude/citations …ase64"> <CodeGroup> ```bash cURL PDF_BASE64=$(base64 /path/to/document.pdf | tr -d '\n') curl https://api.anthropic.com/v1/messages \ -H "content-type: application/json"… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …uthentication Claude in Amazon Bedrock supports three authentication paths. Choose the one that best fits your security requirements. ### Bedrock service role (recommended) Use a Bedrock service ro… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …est format. ### SigV4 authentication SigV4 is the enterprise-native path and integrates with your existing AWS IAM policies, roles, and auditing. Configure AWS credentials using any method supported… compaction-background Claude Developer Platform · in the page build-with-claude/compaction-background …t-in-a-loop) with the compaction request taken off the conversation's path. The highlighted lines show where it differs from the loop, and the following list takes them in the order the program runs t… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …o a different conversation means one did. The message starts with the path of the first block that failed, and [What the API does with an invalid block](https://platform.claude.com/docs/en/build-with-… context-editing Claude Developer Platform · in the page build-with-claude/context-editing …as been completed so far Files created, modified, or analyzed (with paths if relevant) Key outputs or artifacts produced 3. Important Discoveries Technical constraints or requirements uncover… files Claude Developer Platform · in the page build-with-claude/files …IC_API_KEY" \ -H "anthropic-version: 2023-06-01" \ -F "file=@/path/to/document.pdf" | jq -r '.id') echo "$FILE_ID" ``` ```bash CLI FILE_ID=$(ant files upload \ --file /path/to/doc… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …1 if DOC_TEST_MODE else 30 TURNS_BETWEEN_REFRESHERS = 10 JOURNAL_PATH = os.environ.get("ORCH_JOURNAL") or "orchestration_journal.json" ``` ```typescript TypeScript import { exec } from "no… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …id": "toolu_01", "name": "read_file", "input": { "path": "test_auth.py" } } ] }, { "role": "user", "content": [{ "type": "tool_result", "tool_use_… overview Claude Developer Platform · in the page build-with-claude/overview …| Feature is still functional but no longer recommended. A migration path and removal timeline are provided.… pdf-support Claude Developer Platform · in the page build-with-claude/pdf-support …2: Load from a local file // byte[] fileBytes = Files.readAllBytes(Path.of("document.pdf")); // String pdfBase64 = Base64.getEncoder().encodeToString(fileBytes); // Create document block with… preserved-thinking Claude Developer Platform · in the page build-with-claude/preserved-thinking …ut_transformations": [ { "type": "thinking_dropped", "path": "messages.3.content.0", "reason": "model_binding_mismatch" } ] } ``` Without the header, the drop is silent. T… Delivering work Claude Developer Platform · in the page build-with-claude/prompt-engineering/prompting-claude-fable-5-1 …ema": { "type": "object", "properties": {"path": {"type": "string"}}, "required": ["path"], }, } ] messages: list[BetaMessageParam] = [… refusals-and-fallback Claude Developer Platform · in the page build-with-claude/refusals-and-fallback …an agent plus its sub-agents. * **Configure fallback on every request path.** Retry handlers, error-recovery branches, and background workers all need it. A handler that re-issues a request without fa… skills-guide Claude Developer Platform · in the page build-with-claude/skills-guide …# Step 2: Extract file_id from the response with --transform (GJSON path) FILE_ID=$(ant messages create \ --transform 'content.#.content.content.#.file_id|@flatten|0' \ --raw-output <<'YAM… structured-outputs Claude Developer Platform · in the page build-with-claude/structured-outputs …To print only some properties of the JSON output, pass a [GJSON path](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/using#transform-output-with-gjson) to `--transform`. The exa… 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 …ield.<InputStream>builder() .value(Files.newInputStream(Path.of("vision-example.jpg"))) .filename("vision-example.jpg") .contentType("image/jpeg")… 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 …libraries/cli/quickstart#authentication) covers the one-command happy path (`ant auth login`). This page covers every option in full. ## Interactive login `ant auth login` lets you call the API with… 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 …| Filter or reshape the response with a [GJSON path](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/using#transform-output-with-gjson)… 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 …nt type. ```go // A file from the file system 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 …ltipartField.<InputStream>builder() .value(Files.newInputStream(Paths.get("/path/to/file.pdf"))) .contentType("application/pdf") .build() ) .build(); FileMetadata fileMetadata =… php Claude Developer Platform · in the page cli-sdks-libraries/sdks/php …nt = new Client(); $response = $client->request( method: "post", path: '/undocumented/endpoint', query: ['dog' => 'woof'], headers: ['useful-header' => 'interesting-value'], body: ['hello'… 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 …/install/) or [Maven](https://maven.apache.org/install.html) on your `PATH`. Create a directory for your project with a Java source directory inside it: ```bash mkdir -p claude-quicks… 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 go from zero to a working Claude integration. <Steps> <Step title="Make your fir… 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 may come from an earlier `GET /keys` response or from tooling that pins the key. | Key hash… analytics-api Claude Developer Platform · in the page manage-claude/analytics-api …e.com/docs/en/manage-claude/usage-cost-api), which explains the right path for both Claude Console and Claude Enterprise organizations. </Note> <Note> If you want to view engagement and adoption da… 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… 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 …ave the upload, so 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, and 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 …------------------------------------------ | | `{org_uuid}` | Path parameter on per-organization endpoints on this page… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …| File paths; Claude Code can also capture contents with an optional, size-capped setting | | Host and device metad… 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… 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…
Feedback