Search the documentation
50 pages for summary.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.
glossary
Claude Developer Platform · in the page
about-claude/glossary
…: These concepts are not unique to Claude. This page presents a brief summary of key terms. --- ## Context window The "context window" refers to the amount of text a language model can look back on…
Or, for the model with the same capabilities and no access approval requirement:
Claude Developer Platform · in the page
about-claude/models/migration-guide
…case "thinking": print(f"\nThinking summary: {block.thinking}") case "text": print(f"\nResponse: {block.text}") ```…
optimizing-for-cost-and-intelligence
Claude Developer Platform · in the page
about-claude/models/optimizing-for-cost-and-intelligence
…uplicate-candidate, feature-request, upstream-issue, perf, ui-polish> SUMMARY: <one or two sentences for the engineering team> ``` The shorter variant asked for one: ```text wrap 4. Finish with exac…
commerce-agents
Claude Developer Platform · in the page
about-claude/use-case-guides/commerce-agents
…t a catalog or order tool returned in that session. Checkout stages a summary the customer confirms in your app. If you use a hosted checkout, your back end returns its URL and the host renders it wit…
Create the full URL from the GitHub repository
Claude Developer Platform · in the page
about-claude/use-case-guides/legal-summarization
…ils you want the summarization to extract There is no single correct summary for any given document. Without clear direction, it can be difficult for Claude to determine which details to include. To…
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…- [ ] Step 3: Cross-reference claims - [ ] Step 4: Create structured summary - [ ] Step 5: Verify citations ``` **Step 1: Read all source documents** Review each document in the `sources/` director…
browser-use-tool
Claude Developer Platform · in the page
agents-and-tools/tool-use/browser-use-tool
…{ "type": "ref", "ref": "ref_12" }, "paths": ["/home/user/uploads/summary.pdf"], "tab_id": "tab-2" } } ``` Claude writes these paths while it's reading untrusted pages, so an unrestricted i…
parallel-tool-use
Claude Developer Platform · in the page
agents-and-tools/tool-use/parallel-tool-use
…atted correctly for future parallel tool use" ``` </CodeGroup> The summary lines at the end restate the two formatting rules that keep parallelism working: every tool result returns in a single use…
Process results programmatically
Claude Developer Platform · in the page
agents-and-tools/tool-use/programmatic-tool-calling
…it read_full_file({"path": path}) else: content = await read_file_summary({"path": path}) print(content) ``` ### Data filtering ```python server_id = "srv-01" log_text = await fetch_logs({"serve…
Beta
Claude Developer Platform · in the page
api/beta
…taCompactionBlockParam object` A compaction block containing summary of previous context. Users should round-trip these blocks from responses to subsequent requests to mainta…
Messages
Claude Developer Platform · in the page
api/beta/messages
…taCompactionBlockParam object` A compaction block containing summary of previous context. Users should round-trip these blocks from responses to subsequent requests to mainta…
Batches
Claude Developer Platform · in the page
api/beta/messages/batches
…mpactionBlockParam object` A compaction block containing summary of previous context. Users should round-trip these blocks from responses to subsequent requests t…
Create a Message Batch
Claude Developer Platform · in the page
api/beta/messages/batches/create
…mpactionBlockParam object` A compaction block containing summary of previous context. Users should round-trip these blocks from responses to subsequent requests t…
Retrieve Message Batch results
Claude Developer Platform · in the page
api/beta/messages/batches/results
…ne, it indicates the compaction failed to produce a valid summary (e.g., malformed output from the model). Clients may round-trip compaction blocks with null content; the serve…
Count tokens in a Message
Claude Developer Platform · in the page
api/beta/messages/count_tokens
…taCompactionBlockParam object` A compaction block containing summary of previous context. Users should round-trip these blocks from responses to subsequent requests to mainta…
Create a Message
Claude Developer Platform · in the page
api/beta/messages/create
…taCompactionBlockParam object` A compaction block containing summary of previous context. Users should round-trip these blocks from responses to subsequent requests to mainta…
Analytics
Claude Developer Platform · in the page
api/beta/organization/analytics
…). At most 100 entries. maxItems: 100 ### Returns - `BetaActivitySummary object` Response for GET /v1/organizations/analytics/summaries. - `summaries: array of object` - `assigned_seat…
Get Activity Summaries
Claude Developer Platform · in the page
api/beta/organization/analytics/retrieve_summaries
…n). At most 100 entries. maxItems: 100 ## Returns - `BetaActivitySummary object` Response for GET /v1/organizations/analytics/summaries. - `summaries: array of object` - `assigned_seat…
Spend Limits
Claude Developer Platform · in the page
api/beta/organization/spend_limits
…00 entries. maxItems: 100 ### Returns - `data: array of BetaSpendSummary` - `actor: UserActor or ScopedAPIKeyActor` - `UserActor object` A user within the organization. `name` and…
Increase Requests
Claude Developer Platform · in the page
api/beta/organization/spend_limits/increase_requests
…requests, most recent first. Pending requests include a live `spend_summary` for the requester. Requests whose requester is no longer a member are excluded. ### Query parameters - `actor_ids: opti…
Approve Spend Limit Increase Request
Claude Developer Platform · in the page
api/beta/organization/spend_limits/increase_requests/approve
…h the spend limit was last modified. format: date-time - `spend_summary: BetaSpendSummary or null` Per-member effective-limit report row (`GET /spend_limits/effective`). - `actor: UserActo…
Deny Spend Limit Increase Request
Claude Developer Platform · in the page
api/beta/organization/spend_limits/increase_requests/deny
…scoped_api_key_actor - `scoped_api_key_id: string` - `spend_summary: BetaSpendSummary or null` Per-member effective-limit report row (`GET /spend_limits/effective`). - `actor: User…
List Spend Limit Increase Requests
Claude Developer Platform · in the page
api/beta/organization/spend_limits/increase_requests/list
…requests, most recent first. Pending requests include a live `spend_summary` for the requester. Requests whose requester is no longer a member are excluded. ## Query parameters - `actor_ids: optio…
Get Spend Limit Increase Request
Claude Developer Platform · in the page
api/beta/organization/spend_limits/increase_requests/retrieve
…crease request. While `pending`, the response includes a live `spend_summary` for the requester at the request's period. ## Path parameters - `spend_limit_increase_request_id: string` ID of the…
List Effective Spend Limits
Claude Developer Platform · in the page
api/beta/organization/spend_limits/list_effective
…100 entries. maxItems: 100 ## Returns - `data: array of BetaSpendSummary` - `actor: UserActor or ScopedAPIKeyActor` - `UserActor object` A user within the organization. `name` and…
Sessions
Claude Developer Platform · in the page
api/beta/sessions
…d_at": "2026-03-15T10:02:31Z", "description": "Produce a 2-page summary as summary.md", "explanation": "All five sections present with inline citations.", "iteration": 0, "outc…
Archive Session
Claude Developer Platform · in the page
api/beta/sessions/archive
…d_at": "2026-03-15T10:02:31Z", "description": "Produce a 2-page summary as summary.md", "explanation": "All five sections present with inline citations.", "iteration": 0, "outc…
Create Session
Claude Developer Platform · in the page
api/beta/sessions/create
…d_at": "2026-03-15T10:02:31Z", "description": "Produce a 2-page summary as summary.md", "explanation": "All five sections present with inline citations.", "iteration": 0, "outc…
List Sessions
Claude Developer Platform · in the page
api/beta/sessions/list
…": "2026-03-15T10:02:31Z", "description": "Produce a 2-page summary as summary.md", "explanation": "All five sections present with inline citations.", "iteration": 0,…
Get Session
Claude Developer Platform · in the page
api/beta/sessions/retrieve
…d_at": "2026-03-15T10:02:31Z", "description": "Produce a 2-page summary as summary.md", "explanation": "All five sections present with inline citations.", "iteration": 0, "outc…
Update Session
Claude Developer Platform · in the page
api/beta/sessions/update
…d_at": "2026-03-15T10:02:31Z", "description": "Produce a 2-page summary as summary.md", "explanation": "All five sections present with inline citations.", "iteration": 0, "outc…
Message Batches API
Claude Developer Platform · in the page
build-with-claude/batch-processing
…ssages": [ {"role": "user", "content": "Write a summary of Pride and Prejudice."} ] } } ] }' ``` ```bash CLI ant messages…
claude-on-amazon-bedrock-legacy
Claude Developer Platform · in the page
build-with-claude/claude-on-amazon-bedrock-legacy
…ponse = bedrock.list_foundation_models(byProvider="anthropic") for summary in response["modelSummaries"]: print(summary["modelId"]) ``` ```typescript TypeScript import { BedrockClient,…
sent_count = len(messages sent in the compaction request)
Claude Developer Platform · in the page
build-with-claude/compaction
…quality degrades, so compaction replaces older content with a concise summary. <Tip> For a deeper look at why long contexts degrade and how compaction helps, see [Effective context engineering](htt…
compaction-background
Claude Developer Platform · in the page
build-with-claude/compaction-background
…de/compaction-background description: Request an on-demand compaction summary while the conversation continues on its full history, then swap the block in when it arrives. featureMetadata: status: b…
compaction-keep-recent-turns
Claude Developer Platform · in the page
build-with-claude/compaction-keep-recent-turns
…on with on-demand compaction and send the most recent turns after the summary, word for word. featureMetadata: status: beta betaHeader: compact-2026-09-04 supportedModels: - claude-fable-5-1…
compaction-on-demand
Claude Developer Platform · in the page
build-with-claude/compaction-on-demand
…a conversation when your application chooses, then continue from the summary. featureMetadata: status: beta betaHeader: compact-2026-09-04 supportedModels: - claude-fable-5-1 - claude-m…
compaction-thinking-blocks
Claude Developer Platform · in the page
build-with-claude/compaction-thinking-blocks
…claude/compaction-keep-recent-turns), or turns that arrived while the summary was being written, as in [Compaction in the background](https://platform.claude.com/docs/en/build-with-claude/compaction-b…
compaction-threshold
Claude Developer Platform · in the page
build-with-claude/compaction-threshold
…s supported alongside on-demand compaction, where you decide when the summary is written (see [Compaction on demand](https://platform.claude.com/docs/en/build-with-claude/compaction-on-demand)). To ch…
context-editing
Claude Developer Platform · in the page
build-with-claude/context-editing
…nuity * **Client-side SDK compaction** - An SDK-based alternative for summary-based context management (server-side compaction is generally preferred) | Approach | Where it runs | Strategies…
extended-thinking
Claude Developer Platform · in the page
build-with-claude/extended-thinking
…ock.type: case "thinking": print(f"\nThinking summary: {block.thinking}") case "text": print(f"\nResponse: {block.text}") ``` ```typescript TypeScr…
fallback-credit
Claude Developer Platform · in the page
build-with-claude/fallback-credit
…} } if err != nil { log.Fatal(err) } } } summary, err := json.Marshal(struct { StopReason anthropic.BetaStopReason `json:"stop_reason"` Model anthropic.Model…
mid-conversation-effort-example
Claude Developer Platform · in the page
build-with-claude/mid-conversation-effort-example
…"type": "object", "properties": { "summary": {"type": "string", "description": "Two or three sentences of synthesis"}, "findings": {…
preserved-thinking
Claude Developer Platform · in the page
build-with-claude/preserved-thinking
…om/docs/en/build-with-claude/compaction-on-demand) (beta) returns the summary from a separate request, which can [run in the background](https://platform.claude.com/docs/en/build-with-claude/compactio…
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…wrap After completing a task that involves tool use, provide a quick summary of the work you've done. ``` Claude Opus 5 is an exception on verbosity: its default user-facing responses run longer tha…
prompting-claude-fable-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5
…arkdown file: ```text wrap Store one lesson per file with a one-line summary at the top. Record corrections and confirmed approaches alike, including why they mattered. Don't save what the repo or ch…
Delivering work
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-fable-5-1
…e client, the simplest shape is to replace the whole history with one summary message plus the new user turn and replay nothing else: no thinking blocks carry over, so nothing fails, and the model thi…
prompting-claude-opus-5
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/prompting-claude-opus-5
…n the main answer. When asked to explain something, give a high-level summary unless an in-depth explanation is specifically requested. ``` In a long system prompt, pair the instruction with a short…
refusals-and-fallback
Claude Developer Platform · in the page
build-with-claude/refusals-and-fallback
…lbackRan && response.StopReason != anthropic.BetaStopReasonRefusal summary, err := json.Marshal(struct { StopReason anthropic.BetaStopReason `json:"stop_reason"` Model anthro…
streaming
Claude Developer Platform · in the page
build-with-claude/streaming
…th streaming. The `display: "summarized"` setting streams a condensed summary of Claude's reasoning rather than the full chain of thought. <CodeGroup> ```bash cURL curl https://api.anthropic.com/…