1,258 pages for port.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
working-with-messages
Claude Developer Platform · in the page
build-with-claude/working-with-messages
…he `temperature`, `top_p`, and `top_k` sampling parameters are not supported on Claude 4.7 and later models and Claude Mythos Preview, or on any model starting with [API version `2026-10-21`](https://…
API usage primer for Claude
Claude Developer Platform · in the page
claude_api_primer
…": "user", "content": "Hello, Claude"}' ``` ```python Python import anthropic message = anthropic.Anthropic().messages.create( model="claude-opus-5-5", max_tokens=1024, mes…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…a second one. If you downloaded your agent from the Console with **Export as code**, the download includes its own `claude-lock.json`, so applying it updates the resources you built there. ## Run an…
On a remote host without a browser:
Claude Developer Platform · in the page
cli-sdks-libraries/cli/authentication
…med profiles, and Workload Identity Federation. --- The `ant` CLI supports several credential sources. The [Quickstart](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart#authentic…
quickstart
Claude Developer Platform · in the page
cli-sdks-libraries/cli/quickstart
…)/bin`. Add it to your `PATH` if it isn't already: ```bash export PATH="$PATH:$(go env GOPATH)/bin" ``` </Tab> </Tabs> Check the installation: ```bash ant --version ``` ## Authentica…
scripting
Claude Developer Platform · in the page
cli-sdks-libraries/cli/scripting
…me, reducing bugs, improving code clarity, enabling better tooling support, and making codebases easier to maintain and refactor with confidence. ``` <Tip> To watch a session as it runs…
using
Claude Developer Platform · in the page
cli-sdks-libraries/cli/using
…oad command, accept a bare path: ```bash ant files upload --file ./report.pdf ``` To inline a file's contents into a string-valued field, prefix the path with `@`: ```bash ant beta:agents create \…
apple-foundation-models
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/apple-foundation-models
…7 (all in beta): the OS releases whose Foundation Models framework supports server-side language models * Xcode 27 (beta) * A Claude API key from the [Claude Console](https://platform.claude.com/) for…
openai-sdk
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/openai-sdk
…). For more information on known compatibility limitations, see [Important OpenAI compatibility limitations](https://platform.claude.com/docs/en/cli-sdks-libraries/libraries/openai-sdk#important-op…
middleware
Claude Developer Platform · in the page
cli-sdks-libraries/middleware
…iddleware=[logging_middleware]) ``` ```typescript TypeScript import type { Middleware } from "@anthropic-ai/sdk"; const loggingMiddleware: Middleware = async (request, next, ctx) => { //…
overview
Claude Developer Platform · in the page
cli-sdks-libraries/overview
…Each SDK provides idiomatic interfaces, type safety, and built-in support for streaming, retries, and error handling. * **Libraries and integrations:** Packages and compatibility layers that expose C…
csharp
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/csharp
…learningServer = await McpClient.CreateAsync( new HttpClientTransport(new() { Endpoint = new("https://learn.microsoft.com/api/mcp") })); ChatOptions options = new() { Tools = [.. await learningS…
go
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/go
…fic SDK features and configuration. </Info> ## Installation ```go import ( "github.com/anthropics/anthropic-sdk-go/v2" // imported as anthropic ) ``` Install with `go get`: ```bash go get github.…
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…d configure the Anthropic Java SDK with builder patterns and async support --- The Anthropic Java SDK provides convenient access to the Claude API from applications written in Java. It uses the build…
php
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/php
…withData('U3RhaW5sZXNzIHJvY2tz')`. ## Streaming The SDK provides support for streaming responses using Server-Sent Events (SSE). ```php $client = new Client(); $stream = $client->messages->createS…
Automatically handles tool execution loop
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/ruby
…, and RBI. The standard library's `net/http` is used as the HTTP transport, with connection pooling through the `connection_pool` gem. <Info> For API feature documentation with code examples, see t…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…stall @anthropic-ai/sdk ``` ## Requirements TypeScript >= 5.0 is supported. The following runtimes are supported: * Node.js 20 LTS or later ([non-EOL](https://endoflife.date/nodejs)) versions. * D…
get-api-key
Claude Developer Platform · in the page
get-api-key
…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/en/cli-sdks-libraries/overview) r…
get-started
Claude Developer Platform · in the page
get-started
…e="cURL"> <Steps> <Step title="Set your API key"> Export your API key as an environment variable. The cURL command in the following step reads it from `$ANTHROPIC_API_KEY`.…
home
Claude Developer Platform · in the page
home
…API reference </HomeQuickChip> ```python Python import anthropic client = anthropic.Anthropic() message = client.messages.create( model="claude-opus-5-5",…
intro
Claude Developer Platform · in the page
intro
…ude Opus 5.5 at higher effort still fall short. All current models support text and image input, text output, multilingual capabilities, vision, and tool use. Each model's page lists the platforms it'…
access-transparency
Claude Developer Platform · in the page
manage-claude/access-transparency
…nage-claude/compliance-activity-feed). Existing credentials, audit, export, and SIEM integrations for the Compliance API still apply. * **Events are tamper-evident.** Each event recorded after your or…
access-transparency-log
Claude Developer Platform · in the page
manage-claude/access-transparency-log
…gin>+<key_hash>+<base64 key>`, accepted by tlog-tiles tooling that supports ECDSA note keys (for example, the Go `github.com/transparency-dev/formats` module). The base64 part decodes to the algorithm…
admin-api
Claude Developer Platform · in the page
manage-claude/admin-api
…ace members, invites, API keys, and the usage, cost, and rate limit reports aren't available on Claude Platform on AWS. ## Authentication The Admin API accepts any of these three credentials: * An…
admin-api-keys
Claude Developer Platform · in the page
manage-claude/admin-api-keys
…manage-claude/analytics-api): engagement, adoption, cost, and usage reports…
analytics-api
Claude Developer Platform · in the page
manage-claude/analytics-api
…uct your organization manages: * The **Claude Code Analytics API** reports daily Claude Code productivity metrics for organizations that use the Claude Platform. It is part of the [Admin API](https:/…
api-and-data-retention
Claude Developer Platform · in the page
manage-claude/api-and-data-retention
…practices. * **Cross-Origin Resource Sharing (CORS):** CORS is not supported for organizations with ZDR arrangements. To make API calls from browser-based applications, route requests through a backen…
authentication
Claude Developer Platform · in the page
manage-claude/authentication
…, Workload Identity Federation, or App Attest. --- The Claude API supports three ways to authenticate requests: | Method…
First request
Claude Developer Platform · in the page
manage-claude/claude-code-analytics-api
…imated costs and token usage broken down by Claude model * **Custom reporting:** Export data to build executive dashboards and reports for management teams * **Usage justification:** Provide metrics t…
cmek
Claude Developer Platform · in the page
manage-claude/cmek
…de cannot search them either. * [Project knowledge search](https://support.claude.com/en/articles/11473015-retrieval-augmented-generation-rag-for-projects) (retrieval-augmented generation, or RAG) is…
cmek-aws-kms
Claude Developer Platform · in the page
manage-claude/cmek-aws-kms
…ayName) ``` ```java Java import com.anthropic.models.organization.externalkeys.AwsExternalKeyConfig; import com.anthropic.models.organization.e…
cmek-azure-key-vault
Claude Developer Platform · in the page
manage-claude/cmek-azure-key-vault
…). * Public network access is allowed. Private endpoints are not supported. * Purge protection is enabled (`enablePurgeProtection: true`). You can't turn off purge protection after you enable it.…
cmek-google-cloud-kms
Claude Developer Platform · in the page
manage-claude/cmek-google-cloud-kms
…us-east5`. Multi-region locations such as `us` and `global` aren't supported. See [Availability and regions](https://platform.claude.com/docs/en/manage-claude/cmek#availability-and-regions). * **Type:…
Fetch the first page (newest activities first).
Claude Developer Platform · in the page
manage-claude/compliance-activity-feed
…sponse schema for `GET /v1/compliance/activities`, including every supported `activity_types[]` value. </Card> <Card title="Retrieve and delete chats, files, and projects" href="https://platform.…
compliance-api
Claude Developer Platform · in the page
manage-claude/compliance-api
…atures overlap with the Compliance API; here is how to choose. ### Export audit logs The audit log export is a separate feature in [claude.ai > Organization settings > Data and privacy](https://clau…
compliance-api-access
Claude Developer Platform · in the page
manage-claude/compliance-api-access
…r self-service enablement; contact your account team or [Anthropic support](https://support.claude.com) if you are not sure which applies. * **Claude Console organizations linked to a parent organ…
WARNING: This operation PERMANENTLY deletes the chat, all of its messages,
Claude Developer Platform · in the page
manage-claude/compliance-content-data
…s, projects, and project attachments to compliance reviewers. They support eDiscovery (electronic discovery) exports, data loss prevention (DLP) enforcement, and account-deletion responses. Chat, file…
compliance-errors
Claude Developer Platform · in the page
manage-claude/compliance-errors
…ssage`. Include the `request-id` header value when you escalate to support. ```text { "error": { "type": "permission_error", "message": "Missing required scopes. Got: ['read:compliance_acti…
compliance-faq
Claude Developer Platform · in the page
manage-claude/compliance-faq
…rk and Claude Code?"> [Cowork's OpenTelemetry logging](https://support.claude.com/en/articles/14477985-monitor-claude-cowork-activity-with-opentelemetry) and [Claude Code monitoring](https://code.…
before_id is the first_id from a previous response
Claude Developer Platform · in the page
manage-claude/compliance-integration-patterns
…ndpoints. ## Choose a feed-consumption pattern The Activity Feed supports two consumption patterns: periodic window polling bounded by `created_at.gte` and `created_at.lt`, and cursor-driven increme…
compliance-org-data
Claude Developer Platform · in the page
manage-claude/compliance-org-data
…ps and their members. Use them to seed eDiscovery user lists, build reporting dashboards, and reconcile group membership against an external system of record. A Compliance Access Key that covers the p…
compliance-sessions
Claude Developer Platform · in the page
manage-claude/compliance-sessions
…es, and tool calls and results in that conversation. The endpoints support eDiscovery (electronic discovery) exports and data loss prevention (DLP) enforcement. The Compliance API groups sessions int…
data-residency
Claude Developer Platform · in the page
manage-claude/data-residency
…ents](https://platform.claude.com/docs/en/managed-agents/overview) supports geographic pinning at the agent level: `inference_geo` on an [agent's model configuration](https://platform.claude.com/docs/…
inference-hooks
Claude Developer Platform · in the page
manage-claude/inference-hooks
…Verdicts are allow or deny. Rewriting or redacting a prompt is not supported. * Claude Platform organizations (API access through the Platform) are out of scope. *** ## Availability Inference hooks…
inference-hooks-configuration
Claude Developer Platform · in the page
manage-claude/inference-hooks-configuration
…er HTTPS endpoint that accepts verdict requests: an `https://` URL on port 443, on a publicly routable host, reachable without redirects. Reverse-tunnel hosts (ngrok and similar tunnel services) are n…
inference-hooks-endpoint
Claude Developer Platform · in the page
manage-claude/inference-hooks-endpoint
…aude/inference-hooks-configuration): the **Test connection** result reports the allow verdict your server returned. <CodeGroup exclude="shell"> ```python Python # Run with: python server.py fro…
opentelemetry
Claude Developer Platform · in the page
manage-claude/opentelemetry
…age-claude/opentelemetry status: beta --- <Note> OpenTelemetry export is in beta. It's provided under your agreement with Anthropic, including the Beta Services section of the [Service Specific T…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…h as the Messages API. Claude Managed Agents isn't ZDR eligible. supportedPlatforms: Claude API: beta Claude Platform on AWS: beta rows: - label: Works with value: Messages API,…
sdk
Claude Developer Platform · in the page
manage-claude/opentelemetry/sdk
…rm.claude.com/docs/en/manage-claude/opentelemetry status: beta supportedPlatforms: Claude API: beta Claude Platform on AWS: beta Amazon Bedrock: beta Claude Models on Google Cloud…
organization-webhooks
Claude Developer Platform · in the page
manage-claude/organization-webhooks
…eatureMetadata: status: beta betaHeader: webhooks-2026-10-07 supportedPlatforms: Claude API: beta --- An organization webhook endpoint receives an event when Anthropic restricts or bans one…