Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,267 pages for auth.

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

overview Claude Developer Platform · in the page models/fable-5-2/overview …ention and isn’t available under zero data retention unless expressly authorized by Anthropic. See [Model-specific data retention requirements](https://platform.claude.com/docs/en/manage-claude/api-an… whats-new-fable-5-2 Claude Developer Platform · in the page models/fable-5-2/whats-new-fable-5-2 …ntion and aren’t available under zero data retention unless expressly authorized by Anthropic. Both are [Covered Models](https://support.claude.com/en/articles/15425695). See [Model-specific data rete… overview Claude Developer Platform · in the page release-notes/overview …5.1. They aren’t available under zero data retention unless expressly authorized by Anthropic. See [Model-specific data retention requirements](https://platform.claude.com/docs/en/manage-claude/api-an… claude-fable-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5 …t make categorical claims about the confidentiality or involvement of authorities when directing users to crisis helplines, as these assurances are not accurate and vary by circumstance. </user_wellbe… claude-fable-5-1 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5-1 …t make categorical claims about the confidentiality or involvement of authorities when directing users to crisis helplines, as these assurances are not accurate and vary by circumstance. </user_wellbe… claude-fable-5-2 Claude Developer Platform · in the page release-notes/system-prompts/claude-fable-5-2 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not write, explain, or wo… claude-haiku-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-3-5 …ge in conversation with the human when appropriate. Claude engages in authentic conversation by responding to the information provided, asking specific and relevant questions, showing genuine curiosit… claude-haiku-4-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-4-5 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude should generally decline to pr… claude-haiku-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-haiku-5-5 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not provide synthesis, pr… claude-opus-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-6 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not write, explain, or wo… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not write, explain, or wo… claude-opus-4-8 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-8 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not write, explain, or wo… claude-opus-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not write, explain, or wo… claude-opus-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-5-5 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not provide synthesis, pr… claude-sonnet-3-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-5 …ge in conversation with the human when appropriate. Claude engages in authentic conversation by responding to the information provided, asking specific and relevant questions, showing genuine curiosit… claude-sonnet-3-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-3-7 …ge in conversation with the human when appropriate. Claude engages in authentic conversation by responding to the information provided, asking specific and relevant questions, showing genuine curiosit… claude-sonnet-4-6 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-4-6 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not write, explain, or wo… claude-sonnet-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude should generally decline to pr… claude-sonnet-5-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5-5 …session summary shows Claude already helping — past assistance is not authorization, and a correct earlier refusal should not be reversed by an emotional appeal. Claude does not provide synthesis, pr… Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …ose your API provider](#choose-your-api-provider) | Where Claude Code authenticates and how it's billed | [Authentication](https://code.claude.com/docs/en/authentication.md), [Amazon Bedrock](https://… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …one responding with the results. A complex task such as "refactor the auth module and update the tests" can chain dozens of tool calls across many turns as Claude adjusts after each result. ## Turns… Use Claude Code features in the SDK Claude Code CLI · in the page agent-sdk/claude-code-features …async for message in query( prompt="Help me refactor the auth module", options=ClaudeAgentOptions( # "user" loads from ~/.claude/, "project" loads from ./.claude/ in c… Track cost and usage Claude Code CLI · in the page agent-sdk/cost-tracking …`total_cost_usd` and `costUSD` fields are client-side estimates, not authoritative billing data. The SDK computes them locally from a price table bundled at build time, unless a [`modelPricing`](http… Rewind file changes with checkpointing Claude Code CLI · in the page agent-sdk/file-checkpointing …o restore. The examples in this section use the prompt "Refactor the authentication module". Run them in a project that contains an authentication module, or change the prompt to name files that exis… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …perations** before they execute, like destructive shell commands or unauthorized file access * **Log and audit** tool calls for compliance, debugging, or analytics * **Transform inputs and outputs** t… Hosting the Agent SDK Claude Code CLI · in the page agent-sdk/hosting …docs/en/agent-sdk/observability.md) for the full signal catalog. ### Auth and secrets Three auth concerns matter at hosting time: * **Anthropic API**: the subprocess reads `ANTHROPIC_API_KEY` from… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …ernal tools. Covers transport types, tool search for large tool sets, authentication, and error handling. The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/docs/getting-started/intro… Modifying system prompts Claude Code CLI · in the page agent-sdk/modifying-system-prompts …main conversation * **Commit and pull request attribution**: the `Co-Authored-By` trailer and pull request footer from the [`attribution`](https://code.claude.com/docs/en/settings-reference#attributi… Observability with OpenTelemetry Claude Code CLI · in the page agent-sdk/observability …ttp://collector.example.com:4318", "OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer your-token", } async def main(): options = ClaudeAgentOptions(env=OTEL_ENV) async for message in qu… Agent SDK overview Claude Code CLI · in the page agent-sdk/overview …ucts, including agents built on the Claude Agent SDK. Use the API key authentication methods described in the [Quickstart](https://code.claude.com/docs/en/agent-sdk/quickstart.md) instead. ## Changel… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …=1) if sessions: rename_session(sessions[0].session_id, "Refactor auth module") ``` ### `tag_session()` Tags a session. Pass `None` to clear the tag. Repeated calls are safe; the most recent tag… Quickstart Claude Code CLI · in the page agent-sdk/quickstart …the `dotenv` package, before calling the SDK. The SDK also supports authentication via third-party API providers: * **Amazon Bedrock**: set `CLAUDE_CODE_USE_BEDROCK=1` environment variable and conf… Securely deploying AI agents Claude Code CLI · in the page agent-sdk/secure-deployment …: production-grade proxy with `credential_injector` filter for adding auth headers * [mitmproxy](https://mitmproxy.org/): TLS-terminating proxy for inspecting and modifying HTTPS traffic * [Squid](htt… Persist sessions to external storage Claude Code CLI · in the page agent-sdk/session-storage …and sign in with a [claude.ai login](https://code.claude.com/docs/en/authentication.md#credential-management) or an [`apiKeyHelper`](https://code.claude.com/docs/en/settings-reference#apikeyhelper) i… Work with sessions Claude Code CLI · in the page agent-sdk/sessions …res the session ID internally await client.query("Analyze the auth module") async for message in client.receive_response(): print_response(message) # Second query:… Extend agents with skills Claude Code CLI · in the page agent-sdk/skills …n invoke in Claude Agent SDK sessions, dispatch commands by name, and author skills your sessions discover Agent Skills extend Claude with specialized capabilities that Claude invokes when relevant.… Streaming Input Claude Code CLI · in the page agent-sdk/streaming-vs-single-mode …try { for await (const message of query({ prompt: "Explain the authentication flow", options: { maxTurns: 5, allowedTools: ["Read", "Grep"] } })) { if (message.type ==… Get structured output from agents Claude Code CLI · in the page agent-sdk/structured-outputs …a single structured response. The schema includes optional fields (`author` and `date`) since git blame information might not be available for all files. The agent fills in what it can find and omit… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …ef main(): async for message in query( prompt="Review the authentication module for security issues", options=ClaudeAgentOptions( # Auto-approve these tools… Track todos Claude Code CLI · in the page agent-sdk/todo-tracking …acker = new TaskTracker(); await tracker.trackQuery("Build a complete authentication system with todos"); ``` ```python Python theme={null} import asyncio from claude_agent_sdk import ( query,… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …oads regardless; server-managed settings are fetched when the session authenticates with an organization credential on an [eligible configuration](https://code.claude.com/docs/en/server-managed-settin… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …```text wrap theme={null} Spawn an architect teammate to refactor the authentication module. ``` When that teammate finishes planning, it sends a plan approval request to the lead. If you haven't cha… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …us and the next on Sonnet: ```text theme={null} /model opus refactor auth /model sonnet run the test suite ``` Each background session can run on a different model. To override it for one session:… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …); type it in full. **3. Follow the wizard prompts** Choose how you authenticate to AWS: an AWS profile detected from your `~/.aws` directory, an Amazon Bedrock API key, an access key and secret, or… Track team usage with analytics Claude Code CLI · in the page analytics …tics** On the same page, enable the "GitHub analytics" toggle. **4. Authenticate with GitHub** Complete the GitHub authentication flow and select which GitHub organizations to include in the analys… Share session output as artifacts Claude Code CLI · in the page artifacts …ssion signed in with [`/login`](https://code.claude.com/docs/en/setup#authenticate). See [Availability](#availability) for the full set of requirements. An [artifact](https://claude.com/features/arti… Configure auto mode Claude Code CLI · in the page auto-mode-config …ount as explicit intent. Asking Claude to "clean up the repo" doesn't authorize force-pushing, but asking Claude to "force-push this branch" does. To loosen, add to `allow` when the classifier repeat… Best practices for Claude Code Claude Code CLI · in the page best-practices …login fails after the session times out. look at token refresh in src/auth/, write a failing test that reproduces it, then fix it"* | | *"add a calendar widget"* | *"follow the pattern in HotDogWidget… Claude Code changelog Claude Code CLI · in the page changelog …ontrol` * \[VSCode] Added a warning above the prompt box when both an auth token and an API key are set, matching the terminal's startup warning **Changed** * Updated the session-feedback message an… Push events into a running session with channels Claude Code CLI · in the page channels …are in [research preview](#research-preview). They require Anthropic authentication through claude.ai or a Console API key, and are not available on Amazon Bedrock, Google Cloud's Agent Platform, or…
Feedback