398 pages for close.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
working-with-messages
Claude Developer Platform · in the page
build-with-claude/working-with-messages
…ent.Do(req) if err != nil { log.Fatal(err) } defer resp.Body.Close() imageBytes, err := io.ReadAll(resp.Body) if err != nil { log.Fatal(err) } imageData := base64.StdEncoding.Enco…
apply
Claude Developer Platform · in the page
cli-sdks-libraries/cli/apply
…y List what changed, why, and anything a reviewer should look at closely, in three short sections. ``` </File> <File filename="environments/cloud.yaml"> ```yaml # yaml-language-s…
java
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/java
…like classes in the SDK, such as `Model` and `AnthropicBeta`, are not closed Java `enum` types. Each one provides an `of(String)` factory method that accepts any string, so you can use values that hav…
For Amazon Bedrock support
Claude Developer Platform · in the page
cli-sdks-libraries/sdks/python
…``` The context manager is required so that the response is reliably closed. ### Logging The SDK uses the standard library `logging` module. You can enable logging by setting the environment varia…
access-transparency
Claude Developer Platform · in the page
manage-claude/access-transparency
…or", "email_address": null }`. Individual employee identity is not disclosed | | `accessor_department` | string | The Anthropic team that performed the access (for example, `Safeguards`) | | `reason_c…
cmek
Claude Developer Platform · in the page
manage-claude/cmek
…ons are processed in US regions. For minimal latency, choose a region close to Anthropic's US infrastructure: | Provider | Recommended regions | | ------------ | -------------------------…
before_id is the first_id from a previous response
Claude Developer Platform · in the page
manage-claude/compliance-integration-patterns
…Even with clean tiling, an activity that indexes after its window has closed never appears in a later window. Deduplicate on the activity `id` and either widen each new window so it overlaps the previ…
compliance-sessions
Claude Developer Platform · in the page
manage-claude/compliance-sessions
…s-temporarily-unavailable) instead. `client_aborted` means the client closed the connection or canceled the request before the response completed, so the turn’s response was not captured; any partial…
inference-hooks-configuration
Claude Developer Platform · in the page
manage-claude/inference-hooks-configuration
…inference when your AI security server can’t deliver a verdict (fail closed). * **Allow the request:** let the request proceed to the model without inspection (fail open). The dropdown menu’…
inference-hooks-endpoint
Claude Developer Platform · in the page
manage-claude/inference-hooks-endpoint
…ed. ### Source values `source.application` is an open string, not a closed enum. Common values are `claude-ai`, `claude-code`, and `cowork`; [connection tests](https://platform.claude.com/docs/en/ma…
app-review
Claude Developer Platform · in the page
manage-claude/oauth-apps/app-review
…n yet:** A DNS change can take up to 48 hours to take effect. You can close the dialog box and come back later. If you were publishing, click **Publish app** again. If you were changing a live app, ma…
copy from platform.claude.com after you register your OAuth app.
Claude Developer Platform · in the page
manage-claude/oauth-apps/organization-billing-connections
…receives nothing Your app can’t detect these two cases: * The user closes the approval page. * The `request_uri` has expired or was already used. The approval page then shows an error and doesn’t s…
api
Claude Developer Platform · in the page
manage-claude/opentelemetry/api
…if err != nil { return err } return resp.Body.Close() } ``` ```java Java import io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator;…
sdk
Claude Developer Platform · in the page
manage-claude/opentelemetry/sdk
….build()); IO.println(message.content()); tracerProvider.close(); } ``` ```php PHP use Anthropic\Client; use Anthropic\Messages\Model; use OpenTelemetry\API\Baggage\Propagati…
plugins-api
Claude Developer Platform · in the page
manage-claude/plugins-api
…r their usage to an outside address without telling them. | | `undisclosed-data-destination` | Sends files, emails, documents, or other content to a fixed outside destination the member is not shown…
spend-limits-api
Claude Developer Platform · in the page
manage-claude/spend-limits-api
…spend limit applies to each member, where does it come from, and how close are they to it?” and to set a per-user override. Use the **spend limit increase requests** endpoints to work the queue of me…
user-profiles
Claude Developer Platform · in the page
manage-claude/user-profiles
…customer’s details or account status change, and delete it when they close their account or ask you to erase their data. ### Update a profile [`POST /v1/user_profiles/{id}`](https://platform.claude…
Create the app registration that represents the Claude API audience.
Claude Developer Platform · in the page
manage-claude/wif-providers/azure
…", fmt.Errorf("call token endpoint: %w", err) } defer resp.Body.Close() var body struct { AccessToken string `json:"access_token"` } if err := json.NewDecoder(resp.Body).Decode(&bod…
okta
Claude Developer Platform · in the page
manage-claude/wif-providers/okta
…Do(req) if err != nil { return "", err } defer resp.Body.Close() var body struct { AccessToken string `json:"access_token"` } if err := json.NewDecoder(resp.Body).Decode(&bod…
Replace NODE_UID with the node's UID:
Claude Developer Platform · in the page
manage-claude/wif-providers/spiffe
…if err != nil { panic(err) } defer source.Close() fetchJWTSVID := func(ctx context.Context) (string, error) { svid, err := source.FetchJWTSVID(ctx, jwtsvid.…
workload-identity-federation
Claude Developer Platform · in the page
manage-claude/workload-identity-federation
…d exchange at this point results in an error. The cached token is too close to expiry to be safe. Because the SDK rereads `ANTHROPIC_IDENTITY_TOKEN_FILE` on every exchange, it automatically picks up…
DCF Model Rubric
Claude Developer Platform · in the page
managed-agents/define-outcomes
…adParams{}) if err != nil { panic(err) } defer resp.Body.Close() out, err := os.Create("/tmp/output.txt") if err != nil { panic(err) } defer out.Close() if _, err := io…
dreams
Claude Developer Platform · in the page
managed-agents/dreams
…line synthesizes. It is applied throughout the pipeline: what to read closely, what to merge or drop, and how to structure the output store. Use `instructions` (csharp, go: `Instructions`) for high-l…
event-deltas
Claude Developer Platform · in the page
managed-agents/event-deltas
…render the message’s content instead. 4. On `span.model_request_end`, close any preview that has not been reconciled by its buffered event. No more deltas are coming for it. If the turn errors or is i…
events-and-streaming
Claude Developer Platform · in the page
managed-agents/events-and-streaming
…session.ID, anthropic.BetaSessionEventStreamParams{}) defer stream.Close() if _, err := client.Beta.Sessions.Events.Send(ctx, session.ID, anthropic.BetaSessionEventSendParams{ Events: []ant…
files
Claude Developer Platform · in the page
managed-agents/files
….Open("data.csv") if err != nil { panic(err) } defer csvFile.Close() file, err := client.Files.Upload(ctx, anthropic.FileUploadParams{ File: csvFile, }) if err != nil { panic(err…
migration
Claude Developer Platform · in the page
managed-agents/migration
…session.ID, anthropic.BetaSessionEventStreamParams{}) defer stream.Close() _, err = client.Beta.Sessions.Events.Send(ctx, session.ID, anthropic.BetaSessionEventSendParams{ Events: []anthrop…
quickstart
Claude Developer Platform · in the page
managed-agents/quickstart
…ion.ID, anthropic.BetaSessionEventStreamParams{}) defer stream.Close() // Send the user message after the stream opens _, err = client.Beta.Sessions.Events.Send(ctx, session.ID,…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…param.NewOpt(false), }) defer poller.Close() for poller.Next() { item := poller.Current() if err := worker.HandleItem(ctx, environme…
self-hosted-sandboxes-custom-tools
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-custom-tools
…] }); console.log(agent.id); await mcpClient.close(); ``` ```csharp C# using System.Text.Json; using Anthropic; using Anthropic.Models.Beta.Agen…
self-hosted-sandboxes-per-session
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-per-session
…{ env, stdio: "inherit" }); await once(launcher, "close"); } const poller = new WorkPoller({ client, environmentId, environmentKey, autoStop: false // the laun…
self-hosted-sandboxes-workers
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes-workers
…utoStop: param.NewOpt(false), }) defer poller.Close() for poller.Next() { item := poller.Current() if err := worker.HandleItem(ctx, environments.HandleIt…
agent-identity
Claude Developer Platform · in the page
managed-agents/self-hosted/agent-identity
…vers before you start: * **Port 9464, the metrics port:** The policy closes it. If Prometheus scrapes that port, set `server.telemetry.prometheus.scraper.namespace` in `cma-server-values.yaml` to the…
then: histchars= HISTFILE=/dev/null ant beta:worker poll --workdir /workspace
Claude Developer Platform · in the page
managed-agents/self-hosted/call-the-api
…sessionID, anthropic.BetaSessionEventStreamParams{}) defer stream.Close() if _, err := client.Beta.Sessions.Events.Send(ctx, sessionID, anthropic.BetaSessionEventSendParams{ Events: []anth…
configuration-reference
Claude Developer Platform · in the page
managed-agents/self-hosted/configuration-reference
…0` means no limit. At the limit, a new connection waits until another closes or its client gives up. Event streams, worker polls, and health probes all count. On Kubernetes, the kubelet restarts a pod…
kubernetes
Claude Developer Platform · in the page
managed-agents/self-hosted/kubernetes
…s: | `egress.mode` | What sandboxes can reach | | ----- | ----- | | `closed`, the default | Your servers and the dispatcher, and no DNS server | | `publicInternet` | Your servers, the dispatcher, a D…
upgrade
Claude Developer Platform · in the page
managed-agents/self-hosted/upgrade
…the first statement says that other sessions are using the database, close those sessions and run both statements again. A connection pooler can hold such sessions. </Step> <Step title="Deploy t…
session-threads
Claude Developer Platform · in the page
managed-agents/session-threads
…no run, and one that names a run’s thread stops nothing. An interrupt closes other child threads’ pending tool calls, but don’t rely on it to close a run thread’s. See [Interrupt a session with runs o…
skills
Claude Developer Platform · in the page
managed-agents/skills
…List what changed, why, and anything a reviewer should look at closely, in three short sections. ``` </File> [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/…
webhooks
Claude Developer Platform · in the page
managed-agents/webhooks
…exchange.sendResponseHeaders(400, -1); } exchange.close(); }); } ``` ```php PHP use Anthropic\Client; use Anthropic\Core\Exceptions\WebhookException; $client =…
workflow-runs
Claude Developer Platform · in the page
managed-agents/workflow-runs
…phase_ended` | The workflow entered or left a phase, or the run’s end closed a phase that was still open. The end event doesn’t say whether the phase’s work completed. Both include `workflow_run_phase…
whats-new-fable-5-2
Claude Developer Platform · in the page
models/fable-5-2/whats-new-fable-5-2
…-2#set-expectations-for-subagents). * **The model follows style rules closely.** A hard limit on sentence length can make the model’s prose choppy. See [Review prompts and harnesses designed for earli…
overview
Claude Developer Platform · in the page
release-notes/overview
…code-execution-tool) now supports `code_execution_20260521`, which discloses the 90-second per-cell execution time limit in the tool description so Claude can budget long-running cells. No beta header…
claude-fable-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5
…lth condition. Claude does not name a diagnosis the person has not disclosed — including framing their experience as "depression" or another mental-health diagnosis to explain what they are feeling —…
claude-fable-5-1
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-1
…ibed as original. Claude does not point out what would make a drawing closer to the real thing, and declines requests to close that gap, including when asked to critique its own work. When Claude decl…
claude-fable-5-2
Claude Developer Platform · in the page
release-notes/system-prompts/claude-fable-5-2
…ibed as original. Claude does not point out what would make a drawing closer to the real thing, and declines requests to close that gap, including when asked to critique its own work. When Claude decl…
claude-haiku-3-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-3-5
…this when relevant. If asked about events or news that happened very close to its training cutoff date, such as the election of Donald Trump or the outcome of the 2024 World Series or events in AI th…
claude-haiku-4-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-4-5
…lth condition. Claude does not name a diagnosis the person has not disclosed — including framing their experience as "depression" or another mental-health diagnosis to explain what they are feeling —…
claude-haiku-5-5
Claude Developer Platform · in the page
release-notes/system-prompts/claude-haiku-5-5
…Claude's goal is that they feel cared about and end the conversation closer to help from someone who can treat them. Tips about food, water, supplements, rest, or exercise do not serve that goal, eve…
claude-opus-4-7
Claude Developer Platform · in the page
release-notes/system-prompts/claude-opus-4-7
…ng responses. Even if an answer has disclaimers or caveats, Claude discloses them briefly and keeps the majority of its response focused on its main answer. If asked to explain something, Claude's in…