771 pages for headers.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
claude-opus-4-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-7
…de avoids over-formatting responses with elements like bold emphasis, headers, lists, and bullet points. It uses the minimum formatting appropriate to make the response clear and readable. If the per…
claude-opus-4-8
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-8
…<lists_and_bullets> Claude avoids over-formatting with bold emphasis, headers, lists, and bullet points, using the minimum formatting needed for clarity. If the person explicitly asks for minimal for…
claude-opus-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-5-5
…<lists_and_bullets> Claude avoids over-formatting with bold emphasis, headers, lists, and bullet points, using the minimum formatting needed for clarity. Claude uses lists, bullets, and formatting onl…
claude-sonnet-3-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-3-5
…and consistency. It always uses a single space after hash symbols for headers (e.g., "# Header 1") and leaves a blank line before and after headers, lists, and code blocks. For emphasis, Claude uses a…
claude-sonnet-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-5
…de avoids over-formatting responses with elements like bold emphasis, headers, lists, and bullet points. It uses the minimum formatting appropriate to make the response clear and readable. In typical…
claude-sonnet-4-6
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-4-6
…<lists_and_bullets> Claude avoids over-formatting with bold emphasis, headers, lists, and bullet points, using the minimum formatting needed for clarity. If the person explicitly asks for minimal for…
claude-sonnet-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-sonnet-5-5
…y requests minimal formatting or for Claude to not use bullet points, headers, lists, bold emphasis and so on, Claude should always format its responses without these things as requested. Claude neve…
Give Claude custom tools
Claude Code CLI · in the page
agent-sdk/custom-tools
…, # Base64-encode the raw bytes "mimeType": response.headers.get( "content-type", "image/png" ), # Read MIME type from the response }…
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…"https://api.example.com/webhook", data=data, headers={"Content-Type": "application/json"}, method="POST", ) urllib.request.urlopen(req) async def webhook_not…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…For the `.mcp.json` form, use the same fields as the example at [HTTP headers for remote servers](#http-headers-for-remote-servers), with `"type": "sse"` for an SSE server. In code, pass the server's…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…DPOINT": "http://collector.example.com:4318", "OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer your-token", } async def main(): options = ClaudeAgentOptions(env=OTEL_ENV) async for me…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…ocs/en/env-vars): how long each request attempt can wait for response headers, in milliseconds. It doesn't limit how long a streaming response runs after the headers arrive. Default `600000`. Applies…
Securely deploying AI agents
Claude Code CLI · in the page
agent-sdk/secure-deployment
…duction-grade proxy with `credential_injector` filter for adding auth headers * [mitmproxy](https://mitmproxy.org/): TLS-terminating proxy for inspecting and modifying HTTPS traffic * [Squid](http://w…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ocs/en/env-vars): how long each request attempt can wait for response headers, in milliseconds. It doesn't limit how long a streaming response runs after the headers arrive. Default `600000`. Applies…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…it reaches a background session, together with the `ANTHROPIC_CUSTOM_HEADERS` and credential you exported with it, only when the [supervisor](#the-supervisor-process) was itself started from a shell…
Claude Code on Amazon Bedrock
Claude Code CLI · in the page
amazon-bedrock
…e.aws.amazon.com/bedrock/), publish a version, then add the Guardrail headers to your [settings file](/docs/en/settings.md). Enable Cross-Region inference on your Guardrail if you're using cross-regio…
Auto mode classifier request charges
Claude Code CLI · in the page
auto-mode-classifier-billing
…requests and replies through unchanged. That means forwarding request headers and body fields as they are, including ones the gateway doesn't recognize such as the `safeguards` request field, and retu…
Claude Code changelog
Claude Code CLI · in the page
changelog
…behind a Claude apps gateway being rejected when `OTEL_EXPORTER_OTLP_HEADERS` is set * Fixed `/permissions` > Recently denied not showing the denied shell command, and auto mode's local classifier ig…
Channels reference
Claude Code CLI · in the page
channels-reference
…mit)) }, }) return new Response(stream, { headers: { 'Content-Type': 'text/event-stream', 'Cache-Control': 'no-cache' }, }) } // POST: forward to Claude as a…
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
Claude Code CLI · in the page
claude-apps-gateway
…hat Claude Code expects from any gateway: the endpoints it calls, the headers and body fields to forward, and what stops working when they're stripped. A running Claude apps gateway also serves its ow…
Claude apps gateway configuration
Claude Code CLI · in the page
claude-apps-gateway-config
…because the gateway never derives its own origin from `X-Forwarded-*` headers; they are client-spoofable. Boot fails without it. `trusted_proxies` below governs client-IP resolution only. Also require…
Claude apps gateway deployment and operations
Claude Code CLI · in the page
claude-apps-gateway-deploy
…seconds above the longest time your upstream takes to return response headers. The gateway sends its first [keepalive `ping`](#deployment) about 15 seconds after those headers, unless the upstream's f…
Deploy Claude apps gateway on AWS
Claude Code CLI · in the page
claude-apps-gateway-on-aws
…s discovery document only from this value, never from `X-Forwarded-*` headers. * `trusted_proxies`: the front end's source ranges. The gateway honors `X-Forwarded-For` only when the TCP peer is in thi…
Deploy Claude apps gateway on Google Cloud
Claude Code CLI · in the page
claude-apps-gateway-on-gcp
…s discovery document only from this value, never from `X-Forwarded-*` headers. * `trusted_proxies`: the front end's source ranges. The gateway honors `X-Forwarded-For` only when the TCP peer is in thi…
Claude apps gateway spend limits
Claude Code CLI · in the page
claude-apps-gateway-spend-limits
…at `<public_url>/protocol` also lists the exact usage-limit response headers and `429` body. Caps reset on UTC calendar boundaries: daily at 00:00 UTC, weekly on Monday, and monthly on the first. Th…
Claude Code on Claude Platform on AWS
Claude Code CLI · in the page
claude-platform-on-aws
…sends requests to that URL with the same workspace and authentication headers, so any gateway that forwards them unchanged works. ```bash theme={null} export CLAUDE_CODE_USE_ANTHROPIC_AWS=1 export AN…
claude-tag
Claude Code CLI · in the page
claude-tag
…text-decoration: underline; } /* Print: hide sticky/fixed chrome so headers don't overlap body text on page breaks (PDF export via headless Chrome). */ @media print { #navbar, #sidebar, #si…
CLI reference
Claude Code CLI · in the page
cli-reference
…| | `--betas` | Beta headers to include in API requests (API key users only)…
Configure cloud environments
Claude Code CLI · in the page
cloud-environments
…`api.example.com`. A leading `*.` matches every subdomain * **Custom headers**: one row for the header that carries the key. The row starts with `Authorization` as the header's **Name** and `Bearer`…
Environment variables
Claude Code CLI · in the page
env-vars
…values to include in API requests. Claude Code already sends the beta headers it needs; use this to opt into an [Anthropic API beta](https://platform.claude.com/docs/en/api/beta-headers) before Claude…
Error reference
Claude Code CLI · in the page
errors
…ication](#invalid-request-header-value) | | `Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable` | [Authentication](#invalid-request-header-value) | | `Invalid request header from the env…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ect, optional | present only when the failed attempt got [no response headers in time](/docs/en/errors.md#no-response-from-api). `waited_ms` is how long that attempt waited and `retry_wait_ms` is how…
Hooks reference
Claude Code CLI · in the page
hooks
…Claude Code v2.1.229 or later * Claude Code also blocks marketplace [`headersHelper` commands](/docs/en/plugins/host-marketplace#authenticate-archive-downloads) unless [`disableCommandPluginSources`](…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…"url": "http://localhost:8080/hooks/tool-use", "headers": { "Authorization": "Bearer $MY_TOKEN" }, "allowedEnvVars": ["MY_TOKEN"]…
Other LLM gateways
Claude Code CLI · in the page
llm-gateway
…st forward the OAuth capability in `anthropic-beta`; see the [request headers reference](/docs/en/llm-gateway-protocol.md#request-headers). ## Related pages * [Gateway overview](/docs/en/gateways.md…
Connect Claude Code to an LLM gateway
Claude Code CLI · in the page
llm-gateway-connect
…stMethod -Method Post -Uri "$env:ANTHROPIC_BASE_URL/v1/messages" ` -Headers @{ "Authorization" = "Bearer $env:ANTHROPIC_AUTH_TOKEN"; "anthropic-version" = "2023-06-01" } ` -ContentType "applicatio…
Claude Code gateway compatibility guide
Claude Code CLI · in the page
llm-gateway-protocol
…LLM gateway compatible with Claude Code: the endpoints it calls, the headers and body fields to forward, and what breaks when they're stripped. This page documents the requests Claude Code sends to…
Roll out an LLM gateway for your organization
Claude Code CLI · in the page
llm-gateway-rollout
…list or routing table in the gateway's own configuration * **Forward headers and body unchanged**: pass `anthropic-beta`, `anthropic-version`, and the request body through in both directions; the [fe…
Control MCP server access for your organization
Claude Code CLI · in the page
managed-mcp
…n) to read secrets from each user's environment. * [OAuth or per-user headers](/docs/en/mcp.md#authenticate-with-remote-mcp-servers) so each user authenticates as themselves. * [`headersHelper`](/docs…
Deploy managed settings
Claude Code CLI · in the page
managed-settings
…he marketplace-declared command never runs. Also blocks marketplace [`headersHelper` commands](/docs/en/plugins/host-marketplace#authenticate-archive-downloads), except for a marketplace that managed…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…events-server \ '{"type":"ws","url":"wss://mcp.example.com/socket","headers":{"Authorization":"Bearer YOUR_TOKEN"}}' ``` The `type: "ws"` entry accepts the same `url`, `headers`, `headersHelper`, `…
Connect to MCP servers
Claude Code CLI · in the page
mcp-quickstart
…also appear for HTTP servers that reject the token you configured in `headers.Authorization`; a server that wants a token you haven't configured shows `! Needs authentication` instead, covered in [Con…
How Claude remembers your project
Claude Code CLI · in the page
memory
…orts them. * **Structure**: group related instructions under markdown headers and bullets. Organized sections are easier for Claude to follow than dense paragraphs. * **Consistency**: if two instructi…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…4317 # 4. Set authentication (if required) export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer your-token" # 5. For debugging: reduce export intervals, and reset them for production use export O…
Enterprise network configuration
Claude Code CLI · in the page
network-config
…fails and retries instead of hanging. A request that gets no response headers at all ends in one of two ways: * **Where the first-byte deadline runs**: the first attempt ends no later than that deadl…
Configure permissions
Claude Code CLI · in the page
permissions
…st` in the same folder still reports such a server as pending | | A [`headersHelper`](/docs/en/mcp#trust-a-folder-before-its-headershelper-runs) on a server in `.mcp.json` | Not run until you accept t…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…mand to install it](/docs/en/plugins/host-marketplace.md) or [sets a `headersHelper` for its download](/docs/en/plugins/host-marketplace#how-users-accept-a-headershelper-command), Claude Code first pr…
Add components to a plugin
Claude Code CLI · in the page
plugins/components
…eads a server's stdout as protocol messages only, and accepts message headers up to 64 KiB and a message body up to 32 MiB. Claude Code disconnects a server that exceeds either limit or writes non-pr…
Plugin dependencies
Claude Code CLI · in the page
plugins/dependencies
…erence.md#command-plugin-source). It also never runs a dependency's [`headersHelper`](/docs/en/plugins/host-marketplace#authenticate-archive-downloads), so users also install a dependency whose market…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…quest that a redirect sends to a different origin carries none of the headers you configured on the marketplace source or the plugin entry. After an archive downloads, the install fails when the zip…