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

992 pages for start.

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

openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …https://platform.claude.com/docs/en/api/overview). </Tip> ## Getting started with the OpenAI SDK To use the OpenAI SDK compatibility feature, you need to: 1. Use an official OpenAI SDK. 2. Change… middleware Claude Developer Platform · in the page cli-sdks-libraries/middleware …ddlewareNext) (*http.Response, error) { // Before the request start := time.Now() slog.Info("sending request", "method", req.Method, "url", req.URL) // Forward the request to the rest… overview Claude Developer Platform · in the page cli-sdks-libraries/overview …href="https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart"> Shell scripting, typed flags, response transforms </Card> </CardGroup> ## Client SDKs <CardGroup cols={3}> <Card… go Claude Developer Platform · in the page cli-sdks-libraries/sdks/go …/en/cli-sdks-libraries/sdks/go#retries), the context timeout does not start over. To set a per-retry timeout, use `option.WithRequestTimeout()`. ```go // This sets the timeout for the request, includ… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …ic static void main(String[] args)` within a class. </Note> ## Quick start ```java import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.a… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …requests by default. To use them, call `httpx2.alias_httpx()` once at startup, before anything imports `httpx`. This makes `import httpx` resolve to `httpx2` for the whole process. ### Managing HTTP… get-api-key Claude Developer Platform · in the page get-api-key …e="Copy and store the key"> The Console shows the full key, which starts with `sk-ant-`, only once, at creation. Copy it and store it somewhere safe, such as a secrets manager. If you lose a key,… home Claude Developer Platform · in the page home …--- <HomePage> <HomeHero eyebrow="Claude Platform" title="Start building with Claude" subtitle="Everything you need to integrate Claude into your applications. From first API call to p… intro Claude Developer Platform · in the page intro …est generation of Claude models If you're unsure which model to use, start with [Claude Opus 5.5](https://platform.claude.com/docs/en/models/opus-5-5/overview) for most workloads. Use [Claude Fable 5… access-transparency Claude Developer Platform · in the page manage-claude/access-transparency …on#zero-data-retention-zdr-scope) for additional details. ## Getting started To enable Access Transparency: <Steps> <Step title="Request Access Transparency"> Contact your Anthropic account r… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …n a planned key rotation, the new key is added to that list before it starts signing, and earlier keys stay listed. Checkpoints you already hold therefore keep verifying. ### What the transparency lo… admin-api Claude Developer Platform · in the page manage-claude/admin-api …API accepts any of these three credentials: * An **Admin API key** (starting with `sk-ant-admin...`) sent in the `x-api-key` header. Only organization members with the admin role can provision one.… admin-api-keys Claude Developer Platform · in the page manage-claude/admin-api-keys …tep title="Copy and store the secret"> Copy the displayed secret (starting with `sk-ant-admin01-`) and store it in your secrets manager. The full secret is shown only once. </Step> </Steps> ##… analytics-api Claude Developer Platform · in the page manage-claude/analytics-api …"https://api.anthropic.com/v1/organizations/usage_report/claude_code?starting_at=2025-09-08" \ -H "anthropic-version: 2023-06-01" \ -H "x-api-key: $ANTHROPIC_ADMIN_KEY" ``` </Step>… api-and-data-retention Claude Developer Platform · in the page manage-claude/api-and-data-retention …blocked are accepted but remain outside HIPAA readiness. ### Getting started with HIPAA readiness There are two ways to set up HIPAA-ready API access. Most organizations can enable it directly in th… authentication Claude Developer Platform · in the page manage-claude/authentication …grant the same access to Claude API endpoints. Choose API keys to get started quickly: a personal key for your own development, or a service account key for anything shared. Move to Workload Identity… First request Claude Developer Platform · in the page manage-claude/claude-code-analytics-api …ind which API and key type your organization needs. </Note> ## Quick start Get your organization's Claude Code analytics for a specific day: ```bash cURL curl "https://api.anthropic.com/v1/organiza… cmek Claude Developer Platform · in the page manage-claude/cmek …n the web and Claude in Slack are unavailable: new sessions cannot be started and Claude in Slack declines requests, even if an admin turns these products on. Claude Code Desktop remains available for… cmek-admin-api Claude Developer Platform · in the page manage-claude/cmek-admin-api …de Console, and validating it is what **Verify** does. ## Before you start * Customer-managed encryption keys (CMEK) are [turned on for your organization](https://platform.claude.com/docs/en/manage-… cmek-aws-kms Claude Developer Platform · in the page manage-claude/cmek-aws-kms …en/manage-claude/cmek-claude-platform-on-aws) instead. ## Before you start In Claude: * Customer-managed encryption keys (CMEK) are [turned on for your organization](https://platform.claude.com/doc… cmek-azure-key-vault Claude Developer Platform · in the page manage-claude/cmek-azure-key-vault …stomer-managed encryption key with Azure Key Vault ``` ## Before you start In Claude: * Customer-managed encryption keys (CMEK) are [turned on for your organization](https://platform.claude.com/doc… cmek-claude-platform-on-aws Claude Developer Platform · in the page manage-claude/cmek-claude-platform-on-aws …laude.com/docs/en/manage-claude/cmek-aws-kms) instead. ## Before you start * Customer-managed encryption keys (CMEK) are [turned on for your organization](https://platform.claude.com/docs/en/manage-… cmek-coverage-claude-enterprise Claude Developer Platform · in the page manage-claude/cmek-coverage-claude-enterprise …| Off. New sessions can't be started, even if an admin turns the product on.… cmek-google-cloud-kms Claude Developer Platform · in the page manage-claude/cmek-google-cloud-kms …tomer-managed encryption key with Google Cloud KMS ``` ## Before you start In Claude: * Customer-managed encryption keys (CMEK) are [turned on for your organization](https://platform.claude.com/doc… cmek-how-it-works Claude Developer Platform · in the page manage-claude/cmek-how-it-works …hropic gives each workspace for encryption, not the workspace ID that starts with `wrkspc_`. ## Where your key lives Your key lives in AWS KMS, Google Cloud KMS, or Azure Key Vault. Your provider mi… Fetch the first page (newest activities first). Claude Developer Platform · in the page manage-claude/compliance-activity-feed …pass through the pages), so finish or resume within that window, or restart without the `page` parameter. On the [local session list](https://platform.claude.com/docs/en/manage-claude/compliance-sessi… compliance-api Claude Developer Platform · in the page manage-claude/compliance-api …and Claude in Chrome. They also return transcripts of Cowork sessions started on claude.ai web or mobile, which run in the cloud in Anthropic-managed environments (remote sessions). A standalone Claud… compliance-api-access Claude Developer Platform · in the page manage-claude/compliance-api-access …sions#retrieve-local-sessions) (sessions on users' machines): capture starts when the Compliance API is enabled and stops while it is off, and transcript content from sessions that run while it is off… WARNING: This operation PERMANENTLY deletes the chat, all of its messages, Claude Developer Platform · in the page manage-claude/compliance-content-data …project_file` are file uploads (PDFs, images, spreadsheets) whose IDs start with `claude_file_`; download them with [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chat… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …sion still in `pending` status 404s on its messages endpoint until it starts; see [Remote session not found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#remote-session-not-foun… compliance-faq Claude Developer Platform · in the page manage-claude/compliance-faq …-claude/compliance-sessions#retrieve-local-sessions). Cowork sessions started on claude.ai web or mobile, which run in the cloud in Anthropic-managed environments, are available through the [remote se… before_id is the first_id from a previous response Claude Developer Platform · in the page manage-claude/compliance-integration-patterns …or a checksum. To attest that an export run is complete, log: * The starting cursor and the terminal `last_id`. * The number of records exported. * The run timestamp and the `request-id` of the fina… compliance-org-data Claude Developer Platform · in the page manage-claude/compliance-org-data …session objects (agent-owned remote sessions carry the human's ID in `started_by_user.id` instead). To get a member's full name, look it up through the organization users list. ## Get effective organ… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …| | Cowork sessions started on claude.ai web or mobile, running in the cloud in Anthropic-managed environments | Remote… inference-hooks Claude Developer Platform · in the page manage-claude/inference-hooks …mpt` fires once for each governed inference request, before inference starts. `tool_call` fires when Claude's response contains tool calls, before any of them runs, in organizations that have **Valida… inference-hooks-configuration Claude Developer Platform · in the page manage-claude/inference-hooks-configuration …e.com/docs/en/manage-claude/inference-hooks-endpoint). ## Before you start You need: * The `organization:manage` permission in claude.ai, which only the **Owner** and **Primary owner** roles hold.… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …etExecutor(Executors.newVirtualThreadPerTaskExecutor()); server.start(); } ``` ```php PHP <?php // Run with: php -S 0.0.0.0:8000 server.php // Drain the body; transcripts can be me… opentelemetry Claude Developer Platform · in the page manage-claude/opentelemetry …the conventions can recognize the spans without extra setup. ## Get started You can set up SDK tracing, API tracing, or both. Set up both to see a request's SDK and API spans in one trace, as in th… api Claude Developer Platform · in the page manage-claude/opentelemetry/api …d). You can also send a Messages API request from your application or start a Managed Agents session in that workspace. To start a session, you can follow the steps in [Get started with Claude Managed… sdk Claude Developer Platform · in the page manage-claude/opentelemetry/sdk …copy of the client. # with_options() replaces the whole option, so start from client.open_telemetry. message = client.with_options( open_telemetry={**client.open_telemetry, "conversation_id… organization-webhooks Claude Developer Platform · in the page manage-claude/organization-webhooks …ange, or delete them, or replace their signing secret. ## Before you start You need the following: * An organization on the Claude API that has organization webhooks turned on and doesn't have [HIP… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …CLI](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart) under `ant beta:organization`; they send the `anthropic-version` and `anthropic-beta` headers for you. The examples on this… rate-limits-api Claude Developer Platform · in the page manage-claude/rate-limits-api …* **Keep gateways and proxies in sync:** Read your current limits at startup and on a schedule instead of hardcoding values that drift when Anthropic adjusts them. * **Power internal alerting:** Comp… spend-limits-api Claude Developer Platform · in the page manage-claude/spend-limits-api …de.com/docs/en/manage-claude/spend-limits-api#pagination)). ## Quick start List every member's effective monthly spend limit and period-to-date spend: <CodeGroup> ```bash cURL curl "https://api… First request Claude Developer Platform · in the page manage-claude/usage-cost-api …m for LLM cost & usage observability </Card> </CardGroup> ## Quick start Get your organization's daily usage for the last 7 days: ```bash cURL curl "https://api.anthropic.com/v1/organizations/usa… user-management Claude Developer Platform · in the page manage-claude/user-management …admin-settings); the API reads them but cannot change them. ## Quick start Set the `ANTHROPIC_API_KEY` environment variable to your Admin API key. The examples on this page read the key from it. The… user-profiles Claude Developer Platform · in the page manage-claude/user-profiles …vacy Policy](https://www.anthropic.com/legal/privacy). ## Before you start You create and manage profiles in one of the following: * An organization on the Claude API. * An organization on [Claude… user-profiles-verification-portal Claude Developer Platform · in the page manage-claude/user-profiles-verification-portal …r user profile to their own Anthropic organization in the portal. You start the process: create an enrollment link for the profile and give it to the end customer. A user profile tells Anthropic whic… wif-admin-api Claude Developer Platform · in the page manage-claude/wif-admin-api …CLI](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/quickstart) under a dedicated profile, requesting the `org:admin` scope (see [Admin access](https://platform.claude.com/docs/en/cli-sdk… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …kspc_..." } JSON ``` A successful exchange returns an `access_token` starting with `sk-ant-oat01-` and an `expires_in` value in seconds. If the exchange fails with the opaque `401` `authentication_er…
Feedback