Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

542 pages for temp.

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

thinking-tool-workflows Claude Developer Platform · in the page build-with-claude/thinking-tool-workflows …# Pretend this is what the weather API returns weather_data = {"temperature": 88} # Second request - Include the assistant turn and the tool result continuation = client.messages.cr… vision-coordinates Claude Developer Platform · in the page build-with-claude/vision-coordinates …ill packages instructions, metadata, and optional resources (scripts, templates) that Claude uses automatically when relevant. </Card> <Card title="Computer use tool" icon="computer" href="https:… working-with-messages Claude Developer Platform · in the page build-with-claude/working-with-messages …ata-retention). </Note> ## Basic request and response <Note> The `temperature`, `top_p`, and `top_k` sampling parameters are not supported on Claude 4.7 and later models and Claude Mythos Preview,… API usage primer for Claude Claude Developer Platform · in the page claude_api_primer …"required": ["location"], }, } weather_data = {"temperature": 72} # First request - Claude responds with thinking and tool request response = client.messages.create( m… openai-sdk Claude Developer Platform · in the page cli-sdks-libraries/libraries/openai-sdk …other than `0.99`, the default, so omit it. A request that sets both `temperature` and `top_p` also returns a 400 error. See [Working with messages](https://platform.claude.com/docs/en/build-with-clau… csharp Claude Developer Platform · in the page cli-sdks-libraries/sdks/csharp …| `"https://api.anthropic.com"` | ### Modifying configuration To temporarily use a modified client configuration, while reusing the same connection and thread pools, call `WithOptions` on any cli… java Claude Developer Platform · in the page cli-sdks-libraries/sdks/java …nt to share between requests. </Tip> ### Modifying configuration To temporarily use a modified client configuration while reusing the same connection and thread pools, call `withOptions()` on any cl… For Amazon Bedrock support Claude Developer Platform · in the page cli-sdks-libraries/sdks/python …sco, CA Returns: A JSON-encoded string with the location, temperature, and weather condition. """ return json.dumps( { "location": location, "temper… typescript Claude Developer Platform · in the page cli-sdks-libraries/sdks/typescript …ated. * **Development or debugging purpose:** Enabling this feature temporarily might be acceptable, provided the credentials are short-lived, aren't also used in production environments, or are fre… access-transparency-log Claude Developer Platform · in the page manage-claude/access-transparency-log …e-claude/compliance-api). Honor `retry-after` | | `503` | The log is temporarily unavailable. Retry with backoff… cmek Claude Developer Platform · in the page manage-claude/cmek …orm.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable) instead of transcript content. Session metadata is still listed. * Office agents. * Claude in Chrome. * C… compliance-errors Claude Developer Platform · in the page manage-claude/compliance-errors …ption: some local session 503s are not transient. See [Local sessions temporarily unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailabl… compliance-faq Claude Developer Platform · in the page manage-claude/compliance-faq …orm.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable) instead of transcript content, and session metadata is still listed. No Compliance API endpoint list… before_id is the first_id from a previous response Claude Developer Platform · in the page manage-claude/compliance-integration-patterns …orm.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable), and session metadata is still listed. * Content removed by your organization's retention policy. * Conte… compliance-sessions Claude Developer Platform · in the page manage-claude/compliance-sessions …l-session-not-found)); while session listings or captured content are temporarily unavailable, they return 503 (see [Local sessions temporarily unavailable](https://platform.claude.com/docs/en/manage-… inference-hooks-endpoint Claude Developer Platform · in the page manage-claude/inference-hooks-endpoint …ies exactly once, after a 100ms delay, and only when the connection attempt fails. The retry shares the same timeout budget and carries the same `webhook-id` and the same signature. Once your AI secur… api Claude Developer Platform · in the page manage-claude/opentelemetry/api …| | Temporary DNS failure | The DNS lookup of the endpoint's hostname failed, for example because its DNS… organization-webhooks Claude Developer Platform · in the page manage-claude/organization-webhooks …k afterward. Any other response, or no response, counts as a failed attempt. * **Duplicates:** An endpoint might receive the same event more than once, with the same event `id` (the same value as the… plugins-api Claude Developer Platform · in the page manage-claude/plugins-api …| | `system-prompt-spoofing` | Imitates or attempts to replace Claude's system instructions. | | `covert-reco… spend-limits-api Claude Developer Platform · in the page manage-claude/spend-limits-api …ample, `"41280.125"`). It might read as `"0"` if the spend reading is temporarily unavailable; treat it as informational, not transactional. ### Increase request lifecycle A **spend limit increase r… First request Claude Developer Platform · in the page manage-claude/usage-cost-api …ing and visualization through OpenTelemetry </Card> <Card title="Tempo" icon="chart" href="https://help.tempo.io/workforceintelligence/latest/connect-to-anthropic"> Usage and cost attribution… user-management Claude Developer Platform · in the page manage-claude/user-management …r your key. The field is `null` (rather than `[]`) when role data was temporarily unavailable, so retry to distinguish a degraded read from a group with no roles. ## Versioning Send the `anthropic-v… aws Claude Developer Platform · in the page manage-claude/wif-providers/aws …} } ``` ```bash CLI export ANTHROPIC_IDENTITY_TOKEN_FILE=$(mktemp) aws sts get-web-identity-token \ --region us-east-1 \ --audience "https://api.anthropic.com" \ --signing-algor… Create the app registration that represents the Claude API audience. Claude Developer Platform · in the page manage-claude/wif-providers/azure …t_id=<IDENTITY_CLIENT_ID>. export ANTHROPIC_IDENTITY_TOKEN_FILE=$(mktemp) trap 'rm -f "$ANTHROPIC_IDENTITY_TOKEN_FILE"' EXIT curl -sS -H "Metadata: true" \ "http://169.254.169.254/metadata/i… gcp Claude Developer Platform · in the page manage-claude/wif-providers/gcp …to a file the CLI can read export ANTHROPIC_IDENTITY_TOKEN_FILE=$(mktemp) curl -sS -H "Metadata-Flavor: Google" \ "http://metadata.google.internal/computeMetadata/v1/instance/service-accounts/… github-actions Claude Developer Platform · in the page manage-claude/wif-providers/github-actions …ever check failed; in most cases the deny reason is recorded on the attempt's entry in the [authentication history page](https://platform.claude.com/settings/workload-identity-federation?tab=history)… kubernetes Claude Developer Platform · in the page manage-claude/wif-providers/kubernetes …rl` is only compared against the JWT's `iss` claim; Anthropic never attempts to reach it. If your issuer is publicly reachable, use `"jwks": {"type": "discovery"}` instead. <Warning> With `inline`… okta Claude Developer Platform · in the page manage-claude/wif-providers/okta …``bash CLI # 1. Request an access token from Okta and write it to a temp file. export ANTHROPIC_IDENTITY_TOKEN_FILE=$(mktemp) curl -sS "$OKTA_ISSUER/v1/token" \ -d grant_type=client_credenti… Replace NODE_UID with the node's UID: Claude Developer Platform · in the page manage-claude/wif-providers/spiffe …s only compared against the JWT-SVID's `iss` claim. Anthropic never attempts to reach it. <Warning> SPIRE rotates JWT signing keys frequently, by default on the same cadence as the CA (`ca_ttl`, 24… wif-reference Claude Developer Platform · in the page manage-claude/wif-reference …caller probe rule configuration. The deny reason is recorded on the attempt's entry in the [authentication history](https://platform.claude.com/settings/workload-identity-federation?tab=history) in th… workload-identity-federation Claude Developer Platform · in the page manage-claude/workload-identity-federation …core`: * **Advisory refresh** at expiry minus 120 seconds. The SDK attempts a new exchange. If the token endpoint is unreachable, the SDK continues serving the cached token, which is still valid for… environments Claude Developer Platform · in the page managed-agents/environments …k.json` so the next `ant apply` updates this environment instead of attempting to create it again. </CodeGroupItem> ```python Python environment = client.beta.environments.create( name="p… event-deltas Claude Developer Platform · in the page managed-agents/event-deltas …generated event types. In the manual pattern, hold preview text in a temporary map keyed by `(event_id, index)`, and treat the buffered event as the record. Reconcile the two for each model request.… mcp-connector Claude Developer Platform · in the page managed-agents/mcp-connector …omain, or non-default port does. If none matches, the connection is attempted unauthenticated. See [Add a credential](https://platform.claude.com/docs/en/managed-agents/vaults#add-a-credential) for th… migration Claude Developer Platform · in the page managed-agents/migration …| | `system_prompt` (typescript: `systemPrompt`) and the `CLAUDE.md` hierarchy | A single `system` (csharp, go: `System`; ruby: `system_`) string on t… scheduled-deployments Claude Developer Platform · in the page managed-agents/scheduled-deployments …rce has been archived, or if session creation is rate-limited. Each attempt generates a **deployment run** record, allowing you to track successes and failures independent of the session lifecycle. S… secure-deployment-risks Claude Developer Platform · in the page managed-agents/secure-deployment-risks …om/docs/en/managed-agents/secure-deployment) limit the effect if an attempt succeeds. Claude can also take a step you did not expect while it keeps working to complete the task you gave it. For examp… vaults Claude Developer Platform · in the page managed-agents/vaults …RL`; csharp: `McpServerUrl`; go: `MCPServerURL`), the connection is attempted unauthenticated and will error if the server requires authentication. * When multiple vaults contain a matching credential… webhooks Claude Developer Platform · in the page managed-agents/webhooks …** An endpoint can receive the same event more than once, and every attempt delivers the same top-level `event.id` (the same value as the `webhook-id` header). Deduplicate on it. * **Subscription sco… whats-new-fable-5-1 Claude Developer Platform · in the page models/fable-5-1/whats-new-fable-5-1 …. * Prefilling the assistant response returns a 400 error. * Setting `temperature`, `top_p`, or `top_k` returns a 400 error. * The minimum cacheable prompt length is 512 tokens. * [Mid-conversation sy… migration-guide Claude Developer Platform · in the page models/haiku-5-5/migration-guide …s/en/models/haiku-5-5/migration-guide#configure-thinking). 5. Remove `temperature`, `top_p`, and `top_k` from your requests. See [Remove sampling parameters](https://platform.claude.com/docs/en/models… overview Claude Developer Platform · in the page models/haiku-5-5/overview …ttps://platform.claude.com/docs/en/build-with-claude/effort). * Omit `temperature`, `top_p`, and `top_k`. * On the [Message Batches API](https://platform.claude.com/docs/en/build-with-claude/batch-pro… whats-new-haiku-5-5 Claude Developer Platform · in the page models/haiku-5-5/whats-new-haiku-5-5 …meters) | Breaking | Omit `temperature`, `top_p`, and `top_k`.… migration-guide Claude Developer Platform · in the page models/opus-5-5/migration-guide …-5/migration-guide#forced-tool-use). * **Sampling parameters:** Omit `temperature`, `top_p`, and `top_k`. Use prompting to guide the model's behavior. * **Prefill:** Don't end `messages` with a prefil… migration-guide Claude Developer Platform · in the page models/sonnet-5-5/migration-guide …ion-guide#sonnet-46-breaking-changes) with an effort level. * Remove `temperature`, `top_p`, and `top_k`. * If you [show thinking text](https://platform.claude.com/docs/en/models/sonnet-5-5/migration-… overview Claude Developer Platform · in the page models/sonnet-5-5/overview …nnet-5-5/whats-new-sonnet-5-5#turn-off-up-front-thinking). * Setting `temperature`, `top_p`, or `top_k` returns a 400 error. * The minimum cacheable prompt length is 512 tokens. See [Prompt caching](h… overview Claude Developer Platform · in the page models/sonnet-5/overview …tput tokens with the `output-300k-2026-03-24` beta header. * Setting `temperature`, `top_p`, or `top_k` returns a 400 error. * Query limits and capabilities programmatically with the [Models API](http… overview Claude Developer Platform · in the page release-notes/overview …Manual extended thinking (`budget_tokens`), the sampling parameters `temperature`, `top_p`, and `top_k`, and assistant message prefill can each return a 400 error. `computer_20250124` also returns a… claude-opus-4-7 Claude Developer Platform · in the page release-notes/system-prompts/claude-opus-4-7 …unspecified, the person typically wants Claude to make a reasonable attempt now, not to be interviewed first. Claude only asks upfront when the request is genuinely unanswerable without the missing in… claude-sonnet-5 Claude Developer Platform · in the page release-notes/system-prompts/claude-sonnet-5 …ecurity, and LLM R&D. Access to Claude Mythos 5 and Claude Fable 5 is temporarily suspended in response to an export control directive. See https://www.anthropic.com/news/fable-mythos-access. If asked…
Feedback