1,171 pages for default.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
API usage primer for Claude
Claude Developer Platform · in the page
claude_api_primer
…ing, thinking, and nothing else. ## Models ```text wrap Recommended default for most work, including complex agentic coding: Claude Opus 5.5: claude-opus-5-5 Step up for the hardest long-running age…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…plan only`. Set up CI as follows: * Run `ant apply --yes .` on your default branch after merge, naming the project directory. A bare `ant apply --yes` reconciles only files the lockfile already trac…
On a remote host without a browser:
Claude Developer Platform · in the page
cli-sdks-libraries/cli/authentication
…age-claude/wif-reference#configuration-directory) for the OS-specific default). On a remote host or in any environment without a local browser, pass `--no-browser` to print the authorize URL and paste…
scripting
Claude Developer Platform · in the page
cli-sdks-libraries/cli/scripting
…t auto` overrides the interactive explorer that list commands open by default in a terminal: ```bash ant beta:sessions:events list \ --session-id session_01JZCh78XvmxJjiXVy3oSi7K \…
using
Claude Developer Platform · in the page
cli-sdks-libraries/cli/using
…need to pass it yourself. Use `--beta <header>` only to override the default (for example, to opt into a different schema version). ```bash ant models list ant messages create --model claude-opus-5-…
apple-foundation-models
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/apple-foundation-models
…print(response.content) ``` The initializer also accepts `baseURL` (default `https://api.anthropic.com`), `timeout`, and `serverTools` (see [Server-side tools](https://platform.claude.com/docs/en/cl…
openai-sdk
Claude Developer Platform · in the page
cli-sdks-libraries/libraries/openai-sdk
…d the `anthropic-workspace-id` header on every request (for example, `default_headers` in the Python SDK or `defaultHeaders` in TypeScript); see [Select a workspace](https://platform.claude.com/docs/e…
middleware
Claude Developer Platform · in the page
cli-sdks-libraries/middleware
…one HTTP client is used for each SDK client; setting it replaces the default. The custom HTTP client receives requests after all middleware has run. ## Built-in middleware The SDK ships a refusal-f…
overview
Claude Developer Platform · in the page
cli-sdks-libraries/overview
…[API version](https://platform.claude.com/docs/en/api/versioning) by default, and a new major version comes with each new API version. To move to `2026-10-21`, see [Switch to 2026-10-21](https://plat…
csharp
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/csharp
…ailable options: | Property | Environment variable | Required | Default value | | ----------- | ---------------------- | -------- | ----------------------------- | | `ApiKey`…
go
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/go
…anthropic.NewClient( option.WithAPIKey("my-anthropic-api-key"), // defaults to os.LookupEnv("ANTHROPIC_API_KEY") ) message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{…
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…er | System property | Environment variable | Required | Default value | | ----------- | --------------------- | ---------------------- | -------- | ----------------------…
php
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/php
…ses named parameters to specify optional arguments. Parameters with a default value must be set by name. ```php $client = new Client(); $message = $client->messages->create( maxTokens: 1024,…
For Amazon Bedrock support
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/python
…rom anthropic import Anthropic client = Anthropic( # This is the default and can be omitted api_key=os.environ.get("ANTHROPIC_API_KEY"), ) message = client.messages.create( max_tokens=10…
Automatically handles tool execution loop
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/ruby
…hropic::Client.new( api_key: ENV["ANTHROPIC_API_KEY"] # This is the default and can be omitted ) message = anthropic.messages.create( max_tokens: 1024, messages: [{role: "user", content: "Hello…
typescript
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/typescript
…d at this time). * Nitro v2.6 or greater. * Web browsers: disabled by default to avoid exposing your secret API credentials (see [API key best practices](https://support.claude.com/en/articles/9767949…
admin-api
Claude Developer Platform · in the page
manage-claude/admin-api
…`ant` CLI under `ant organization`. The examples on this page use the default client, which reads an Admin API key from `ANTHROPIC_API_KEY` or an OAuth bearer token from `ANTHROPIC_AUTH_TOKEN`. SDK li…
admin-api-keys
Claude Developer Platform · in the page
manage-claude/admin-api-keys
…al plugins; set and remove installation settings; set a marketplace's default installation setting; validate a marketplace before you connect it (to read plugins, also select `read:plugins`)…
analytics-api
Claude Developer Platform · in the page
manage-claude/analytics-api
…ude a `data_refreshed_at` timestamp. When `ending_at` is omitted (the default is the current time), the response includes a tail of data after `data_refreshed_at` that is incomplete. For stable result…
api-and-data-retention
Claude Developer Platform · in the page
manage-claude/api-and-data-retention
…sation content (your prompts and Claude's outputs) is not retained by default; the exception is [Covered Models](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#model-specific…
app-attest
Claude Developer Platform · in the page
manage-claude/app-attest
…he [App integrations](https://platform.claude.com/settings/workspaces/default/app-integrations) page (`platform.claude.com/settings/workspaces/default/app-integrations`). Each app integration belongs…
authentication
Claude Developer Platform · in the page
manage-claude/authentication
…, chosen when the key is created. A service account has access to the Default Workspace and to workspaces it has been added to | The service account is archived. A single-workspace key also stops work…
First request
Claude Developer Platform · in the page
manage-claude/claude-code-analytics-api
…| | `limit` | integer | No | Number of records per page (default: 20, max: 1000) | | `page` | string | No | Opaque cursor token from previous response's…
cmek
Claude Developer Platform · in the page
manage-claude/cmek
…can **opt in** to use customer-managed encryption keys instead of the default encryption that Anthropic provides. To activate CMEK, contact your Anthropic account team. <Warning> **Enabling CMEK is…
cmek-azure-key-vault
Claude Developer Platform · in the page
manage-claude/cmek-azure-key-vault
…ction, pub:properties.publicNetworkAccess, net:properties.networkAcls.defaultAction, ipRules:properties.networkAcls.ipRules, uri:properties.vaultUri, tenantId:properties.tenantId}" ``` | Field | Mu…
cmek-coverage-claude-platform
Claude Developer Platform · in the page
manage-claude/cmek-coverage-claude-platform
…zation-webhooks#errors) (beta) | Turned off for an organization whose default workspace uses a key. Requests return a 400 error.…
cmek-data-retention
Claude Developer Platform · in the page
manage-claude/cmek-data-retention
…rms, and attach your key to it. The workspace you switch can't be the default workspace, whose retention follows the organization's. Your other workspaces keep ZDR. [Choose your setup page](https://p…
cmek-google-cloud-kms
Claude Developer Platform · in the page
manage-claude/cmek-google-cloud-kms
…so Cloud Logging records Anthropic's use of your key. They're off by default. * If your Google Cloud organization enforces domain restricted sharing (`constraints/iam.allowedPolicyMemberDomains`), it…
cmek-troubleshooting
Claude Developer Platform · in the page
manage-claude/cmek-troubleshooting
…policy \ --region <REGION> \ --key-id <KEY_ARN> \ --policy-name default ``` ### A key that already protects data If you're [replacing the policy on a key](https://platform.claude.com/docs/en/m…
Fetch the first page (newest activities first).
Claude Developer Platform · in the page
manage-claude/compliance-activity-feed
…roken by activity ID, and capped at `limit` results in each response (default 100, max 5,000). See the [API reference](https://platform.claude.com/docs/en/api/compliance/activities/list) for the full…
WARNING: This operation PERMANENTLY deletes the chat, all of its messages,
Claude Developer Platform · in the page
manage-claude/compliance-content-data
…use_id`). Coverage of these chats is in beta. The chat list endpoint defaults to organization-wide scope: leave off `user_ids[]` to include every chat under your parent organization. Add `order_by=up…
compliance-faq
Claude Developer Platform · in the page
manage-claude/compliance-faq
…s the retention rules configured for your organization (indefinite by default), unless a user deletes it sooner. </Accordion> <Accordion title="Does the Activity Feed include prompt or message co…
before_id is the first_id from a previous response
Claude Developer Platform · in the page
manage-claude/compliance-integration-patterns
…Local session transcripts (sessions on users' machines) | 6 years by default, or your organization's custom conversation retention period when a finite one is set; 30 days in organizations with HIPAA…
compliance-org-data
Claude Developer Platform · in the page
manage-claude/compliance-org-data
…tions/list) in the API reference for the `limit` and `page` parameter defaults and ranges. ```bash cURL curl --fail-with-body -sS \ "https://api.anthropic.com/v1/compliance/organizations" \ -H "x…
compliance-sessions
Claude Developer Platform · in the page
manage-claude/compliance-sessions
…etention | 6 years by default, or your organization's custom conversation retention period when a finite one is set; 30 days in organizations with HIPAA…
data-residency
Claude Developer Platform · in the page
manage-claude/data-residency
…asis. Set through the `inference_geo` API parameter or as a workspace default. * **Workspace geo:** Controls where data is stored at rest and where endpoint processing (such as image transcoding and c…
inference-hooks
Claude Developer Platform · in the page
manage-claude/inference-hooks
…within the verdict timeout your organization configures (5 seconds by default). 4. On `allow`, inference proceeds normally. On `deny`, the request is rejected and the user sees a blocked-by-policy mes…
inference-hooks-configuration
Claude Developer Platform · in the page
manage-claude/inference-hooks-configuration
…a deny verdict for the test prompt, which surfaces a deny-everything default before you start enforcing. It also shows the round-trip time Anthropic measured for that one test request, on a new conne…
inference-hooks-endpoint
Claude Developer Platform · in the page
manage-claude/inference-hooks-endpoint
…der about 10 MB, but the protocol allows up to 64 MiB. Several common defaults are much smaller, including nginx `client_max_body_size` at 1 MB and Express `express.json()` at 100 kB, and a rejected b…
opentelemetry
Claude Developer Platform · in the page
manage-claude/opentelemetry
…gure-the-sdk). * **Metadata only** (`metadata_only` in the SDK): The default. Spans include identifiers, timing, status, token counts, and text that you choose, such as the names and descriptions of…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…y.io/docs/collector/), its OTLP/HTTP receiver listens on port 4318 by default. Configure the receiver to accept HTTPS on port 443, or put a load balancer or reverse proxy in front of the Collector. *…
sdk
Claude Developer Platform · in the page
manage-claude/opentelemetry/sdk
…provider) // OpenTelemetry for Go doesn't register a propagator by default, so // register the W3C trace context propagator. otel.SetTextMapPropagator(propagation.TraceContext{}) client :…
organization-webhooks
Claude Developer Platform · in the page
manage-claude/organization-webhooks
…: [], "has_more": false } ``` A list returns up to 20 endpoints by default. Set `limit` to get up to 100. If `has_more` is `true`, pass the response's `last_id` as `after_id` to get the next page.…
plugins-api
Claude Developer Platform · in the page
manage-claude/plugins-api
…*Plugin marketplaces:** find a marketplace's ID, look one up, set the default installation setting for its plugins, check marketplace content before connecting it | `GET /v1/organizations/plugin_marke…
rate-limits-api
Claude Developer Platform · in the page
manage-claude/rate-limits-api
…etails. </Check> The SDK and CLI examples on this page construct the default client, which reads the Admin API key from the `ANTHROPIC_API_KEY` environment variable. The SDKs expose these endpoints a…
spend-limits-api
Claude Developer Platform · in the page
manage-claude/spend-limits-api
…n uses group-based limits), their seat tier, or the organization-wide default. A group spend limit is a per-member default: each member inheriting it is gated against their own spend, not a pooled gro…
First request
Claude Developer Platform · in the page
manage-claude/usage-cost-api
…NTHROPIC_ADMIN_KEY" ``` ### Time granularity limits | Granularity | Default limit | Maximum limit | Use case | | ----------- | ------------- | ------------- | ---------------------- |…
user-management
Claude Developer Platform · in the page
manage-claude/user-management
…ation Member and invite lists use ID-based pagination: pass `limit` (default 20, max 1000) plus at most one of `before_id` or `after_id`, and page using the `first_id` and `last_id` fields of each re…
user-profiles
Claude Developer Platform · in the page
manage-claude/user-profiles
…| `application` (the default, set when you leave `access_type` out) | | A company you resell API access to, for example as a gateway | One for each com…
wif-admin-api
Claude Developer Platform · in the page
manage-claude/wif-admin-api
…when you are done, and switch the CLI back with `ant profile activate default`: ```bash CLI ant auth login --profile admin --scope "org:admin" export ANTHROPIC_AUTH_TOKEN=$(ant auth print-credentials…