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.
List Session Thread Events
Claude Developer Platform · in the page
api/beta/sessions/threads/events/list
…. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced. - `metadata: optional map[string]` The session's full metadata ba…
Stream Session Thread Events
Claude Developer Platform · in the page
api/beta/sessions/threads/events/stream
…rupt) produces no final event — its terminal `span.model_request_end` closes the preview. Accepts one or more event types to preview and may be repeated: `agent.message` streams `content_delta` fragme…
List Session Threads
Claude Developer Platform · in the page
api/beta/sessions/threads/list
…. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced. - `output_tokens: optional number` Total output tokens generated…
Get Session Thread
Claude Developer Platform · in the page
api/beta/sessions/threads/retrieve
…. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced. - `output_tokens: optional number` Total output tokens generated…
Update Session
Claude Developer Platform · in the page
api/beta/sessions/update
…. `USD` is the only currency currently supported; the accepted set is closed and grows only when a new currency is priced. - `metadata: optional map[string] or null` Metadata patch. Set a key to a…
Compliance API
Claude Developer Platform · in the page
api/compliance
…ted"` A new version of a skill was created. - `"claude_survey_closed"` An organization admin closed an in-app survey before its end date, ending the collection of responses; a survey that…
Activities
Claude Developer Platform · in the page
api/compliance/activities
…ted"` A new version of a skill was created. - `"claude_survey_closed"` An organization admin closed an in-app survey before its end date, ending the collection of responses; a survey that…
Query compliance activities
Claude Developer Platform · in the page
api/compliance/activities/list
…ted"` A new version of a skill was created. - `"claude_survey_closed"` An organization admin closed an in-app survey before its end date, ending the collection of responses; a survey that…
Apps
Claude Developer Platform · in the page
api/compliance/apps
…nt - `thinking_redacted: boolean` True when content enclosed in the assistant's internal-reasoning tags (or the tag markup itself) was removed from `text` during export. Removal never…
Chats
Claude Developer Platform · in the page
api/compliance/apps/chats
…nt - `thinking_redacted: boolean` True when content enclosed in the assistant's internal-reasoning tags (or the tag markup itself) was removed from `text` during export. Removal never…
Messages
Claude Developer Platform · in the page
api/compliance/apps/chats/messages
…nt - `thinking_redacted: boolean` True when content enclosed in the assistant's internal-reasoning tags (or the tag markup itself) was removed from `text` during export. Removal never…
Get chat messages
Claude Developer Platform · in the page
api/compliance/apps/chats/messages/list
…nt - `thinking_redacted: boolean` True when content enclosed in the assistant's internal-reasoning tags (or the tag markup itself) was removed from `text` during export. Removal never…
Sessions
Claude Developer Platform · in the page
api/compliance/apps/sessions
…, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises the per-string bound…
Local
Claude Developer Platform · in the page
api/compliance/apps/sessions/local
…, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises the per-string bound…
Messages
Claude Developer Platform · in the page
api/compliance/apps/sessions/local/messages
…, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises the per-string bound…
Retrieve local session messages
Claude Developer Platform · in the page
api/compliance/apps/sessions/local/messages/list
…, or when it is an explanatory marker the server inserted (its text enclosed in square brackets, e.g. prefacing client-asserted history). There is no request parameter that raises the per-string bound…
Messages
Claude Developer Platform · in the page
api/messages
…enabled resolves false is withheld from the served schema. - `close_tab: optional BrowserCloseTabConfig or null` `close_tab`'s config overrides. - `defer_loading: optional bo…
Batches
Claude Developer Platform · in the page
api/messages/batches
…bled resolves false is withheld from the served schema. - `close_tab: optional BrowserCloseTabConfig or null` `close_tab`'s config overrides. - `defer_loading: opt…
Create a Message Batch
Claude Developer Platform · in the page
api/messages/batches/create
…bled resolves false is withheld from the served schema. - `close_tab: optional BrowserCloseTabConfig or null` `close_tab`'s config overrides. - `defer_loading: opt…
Count tokens in a Message
Claude Developer Platform · in the page
api/messages/count_tokens
…enabled resolves false is withheld from the served schema. - `close_tab: optional BrowserCloseTabConfig or null` `close_tab`'s config overrides. - `defer_loading: optional bo…
Create a Message
Claude Developer Platform · in the page
api/messages/create
…enabled resolves false is withheld from the served schema. - `close_tab: optional BrowserCloseTabConfig or null` `close_tab`'s config overrides. - `defer_loading: optional bo…
Models
Claude Developer Platform · in the page
api/models
…organizations with existing access, but is headed for retirement and closed to new adopters. - `retired`: The model is no longer available for use; inference requests naming it fail. It remains i…
List Models
Claude Developer Platform · in the page
api/models/list
…organizations with existing access, but is headed for retirement and closed to new adopters. - `retired`: The model is no longer available for use; inference requests naming it fail. It remains i…
Get a Model
Claude Developer Platform · in the page
api/models/retrieve
…organizations with existing access, but is headed for retirement and closed to new adopters. - `retired`: The model is no longer available for use; inference requests naming it fail. It remains i…
spans
Claude Developer Platform · in the page
api/opentelemetry/spans
…event. A stream’s span ends when the stream ends. If the application closes the stream early, the SDK span has the status unset, so the SDK span for a stream that never completes, such as [`anthropic…
Analytics
Claude Developer Platform · in the page
api/organization/analytics
…he time. Apart from that, the names of members' own skills are not disclosed to analytics-key holders. Also null for Anthropic-provided plugin skills (not resolved), for an organization skill or plugi…
Skills
Claude Developer Platform · in the page
api/organization/analytics/skills
…he time. Apart from that, the names of members' own skills are not disclosed to analytics-key holders. Also null for Anthropic-provided plugin skills (not resolved), for an organization skill or plugi…
Get Skill Usage
Claude Developer Platform · in the page
api/organization/analytics/skills/list
…he time. Apart from that, the names of members' own skills are not disclosed to analytics-key holders. Also null for Anthropic-provided plugin skills (not resolved), for an organization skill or plugi…
cache-diagnostics
Claude Developer Platform · in the page
build-with-claude/cache-diagnostics
…pping to zero, with no indication of what changed. Cache diagnostics closes that gap. Pass the `id` of your previous response, and the API compares the two requests. It tells you where they diverged…
claude-in-microsoft-foundry
Claude Developer Platform · in the page
build-with-claude/claude-in-microsoft-foundry
…request and retry, so in production, cache the token # until it is close to expiry. token_provider = lambda do `az account get-access-token --resource https://ai.azure.com --query accessToken…
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…System.out.println(summary.modelId()); } client.close(); } } ``` ```php PHP <?php use Aws\Bedrock\BedrockClient; $client = new BedrockClient([ 'region'…
compaction-background
Claude Developer Platform · in the page
build-with-claude/compaction-background
…swapIn(history, pending.join(), sent); } client.close(); } ``` <CodeGroupItem language="PHP"> The PHP SDK sends requests synchronously, so it can’t run the compaction…
files
Claude Developer Platform · in the page
build-with-claude/files
…h/to/document.pdf") if err != nil { log.Fatal(err) } defer f.Close() response, err := client.Files.Upload(context.Background(), anthropic.FileUploadParams{ File: anthropic.File(f, "…
message-threads
Claude Developer Platform · in the page
build-with-claude/message-threads
…h` block. * TypeScript: leave the loop or call `abort()`. * Go: call `Close`. * Java and Ruby: call `close()`. * C#: dispose of the enumerator. Leaving `await foreach` does this. * PHP: call `close()`…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…n2e("bash", "-c", command, pgroup: true, chdir: WORK_DIR) stdin.close reader = Thread.new { stdout_and_stderr.read.scrub } # Enforce the time limit with a monotonic-clock deadline so…
mid-conversation-system-messages
Claude Developer Platform · in the page
build-with-claude/mid-conversation-system-messages
…cache for everything that follows. Mid-conversation system messages close that gap. You append a `{"role": "system"}` message at the point in the conversation where the new instruction becomes relev…
pdf-support
Claude Developer Platform · in the page
build-with-claude/pdf-support
…ttp.Get(pdfURL) if err != nil { panic(err) } defer resp.Body.Close() pdfBytes, err := io.ReadAll(resp.Body) if err != nil { panic(err) } pdfBase64 := base64.StdEncoding.EncodeToStr…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…it opens, receives its `signature` in a `signature_delta` event, and closes. A block sent back with an empty `signature` fails. ### Resume a saved session Persist exactly what you sent and received…
Request 2 caches its request content (not the response)
Claude Developer Platform · in the page
build-with-claude/prompt-caching
…he last write, the lookback window misses it. Add a second breakpoint closer to that position from the start so a write accumulates there before you need it. </Note> ### Understanding cache breakpoin…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…ing examples, make them: * **Relevant:** Mirror your actual use case closely. * **Diverse:** Cover edge cases and vary enough that Claude doesn’t pick up unintended patterns. * **Structured:** Wrap e…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…about to do; brief updates while you work help the user follow along. Close with a short recap that stands on its own — what you found, what you did, and what's next — so a reader who only sees the la…
Finishing work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-2
…r than past models at `low` effort. In Anthropic’s testing, it scored close to what Claude Fable 5.1 did at higher effort. * `medium` suits interactive coding, chat, and everyday knowledge work. * `hi…
prompting-claude-opus-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5-5
…ledge-work evaluations, and on several coding evaluations `low` comes close to it at much lower cost. See [Recommended effort levels for Claude Opus 5.5](https://platform.claude.com/docs/en/build-with…
prompting-claude-sonnet-5-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-sonnet-5-5
…t level, and more at higher effort. The requested change itself stays close to what was asked. Most teams will welcome this. If you prefer changes limited to what was explicitly requested, add only th…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…t. **When the decline occurs mid-output:** * The open content block closes, and the `fallback` block (an ordinary `content_block_start` and `content_block_stop` pair with no deltas) marks the bounda…
skills-guide
Claude Developer Platform · in the page
build-with-claude/skills-guide
…ut, fileContent.Body); err != nil { log.Fatal(err) } out.Close() fileContent.Body.Close() fmt.Printf("Downloaded: %s\n", fileMetadata.Filename) } } func extractFileIDs(res…
streaming
Claude Developer Platform · in the page
build-with-claude/streaming
…h an empty `thinking` string and then a single `signature_delta`, and closes. With `display: "updates"` (beta), reasoning blocks stream the same way, and only the [progress updates](https://platform.c…
thinking
Claude Developer Platform · in the page
build-with-claude/thinking
…, deltas carry text only if display returns text, one signature delta closes it, then text](https://platform.claude.com/docs/images/how-thinking-streams.svg) </Frame> The following examples stream a…
token-counting
Claude Developer Platform · in the page
build-with-claude/token-counting
…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…
vision
Claude Developer Platform · in the page
build-with-claude/vision
…on-example.jpg") if err != nil { log.Fatal(err) } defer file.Close() fileUpload, err := client.Files.Upload(context.Background(), anthropic.FileUploadParams{ File: anthropic.File(fi…