Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

1,431 pages for text.

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

Get Artifact Activity Claude Developer Platform · in the page api/organization/analytics/artifacts/list …Value forms: `artifact_type` is a canonical artifact MIME type (e.g. `text/markdown`) or `other`; `is_shared` is `true` or `false`; `product` is `chat_cowork_unified`, `chat`, `claude_code`, or `cowor… Skills Claude Developer Platform · in the page api/organization/analytics/skills …e skill's slash command) invokes it, reading its instructions into context as part of that activation. Skills that are merely installed or listed as available, or whose content reaches the context wit… Get Skill Usage Claude Developer Platform · in the page api/organization/analytics/skills/list …e skill's slash command) invokes it, reading its instructions into context as part of that activation. Skills that are merely installed or listed as available, or whose content reaches the context wit… Federation Claude Developer Platform · in the page api/organization/federation …with 400. - `description: optional string or null` Optional free-text description. maxLength: 2000 - `token_lifetime_seconds: optional number` Lifetime in seconds for access tokens minted… Rules Claude Developer Platform · in the page api/organization/federation/rules …with 400. - `description: optional string or null` Optional free-text description. maxLength: 2000 - `token_lifetime_seconds: optional number` Lifetime in seconds for access tokens minted… Archive Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/archive …ated this rule. - `description: string or null` Optional free-text description. - `issuer_id: string` Tagged ID of the issuer whose tokens this rule accepts. - `issuer_name: string… Create Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/create …with 400. - `description: optional string or null` Optional free-text description. maxLength: 2000 - `token_lifetime_seconds: optional number` Lifetime in seconds for access tokens minted… List Federation Rules Claude Developer Platform · in the page api/organization/federation/rules/list …ated this rule. - `description: string or null` Optional free-text description. - `issuer_id: string` Tagged ID of the issuer whose tokens this rule accepts. - `issuer_name: string… Get Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/retrieve …ated this rule. - `description: string or null` Optional free-text description. - `issuer_id: string` Tagged ID of the issuer whose tokens this rule accepts. - `issuer_name: string… Update Federation Rule Claude Developer Platform · in the page api/organization/federation/rules/update …ated this rule. - `description: string or null` Optional free-text description. - `issuer_id: string` Tagged ID of the issuer whose tokens this rule accepts. - `issuer_name: string… Service Accounts Claude Developer Platform · in the page api/organization/service_accounts …ength: 255 - `description: optional string or null` Optional free-text description. maxLength: 2000 - `organization_role: optional "admin" or "developer"` Org-level role. Defaults to `devel… Archive Service Account Claude Developer Platform · in the page api/organization/service_accounts/archive …ervice account. - `description: string or null` Optional free-text description. - `name: string` Admin-chosen slug identifier. - `organization_role: "admin" or "developer"` Org… Create Service Account Claude Developer Platform · in the page api/organization/service_accounts/create …ength: 255 - `description: optional string or null` Optional free-text description. maxLength: 2000 - `organization_role: optional "admin" or "developer"` Org-level role. Defaults to `devel… List Service Accounts Claude Developer Platform · in the page api/organization/service_accounts/list …ervice account. - `description: string or null` Optional free-text description. - `name: string` Admin-chosen slug identifier. - `organization_role: "admin" or "developer"` Org… Get Service Account Claude Developer Platform · in the page api/organization/service_accounts/retrieve …ervice account. - `description: string or null` Optional free-text description. - `name: string` Admin-chosen slug identifier. - `organization_role: "admin" or "developer"` Org… Update Service Account Claude Developer Platform · in the page api/organization/service_accounts/update …ervice account. - `description: string or null` Optional free-text description. - `name: string` Admin-chosen slug identifier. - `organization_role: "admin" or "developer"` Org… rate-limits Claude Developer Platform · in the page api/rate-limits …input tokens in your request. To calculate total input tokens: ```text wrap total_input_tokens = cache_read_input_tokens + cache_creation_input_tokens + input_tokens ``` This means when you… service-tiers Claude Developer Platform · in the page api/service-tiers …nt := anthropic.NewClient() message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.ModelClaudeOpus4_8, MaxTokens: 1024, Messages: []anthropic.… Skills Claude Developer Platform · in the page api/skills …url`, when present, is where the organization can appeal. - `cmek_context_unavailable` (HTTP status 503) The workspace's encryption settings could not be read, so the request was refused. Retry in… Create Skill Claude Developer Platform · in the page api/skills/create …url`, when present, is where the organization can appeal. - `cmek_context_unavailable` (HTTP status 503) The workspace's encryption settings could not be read, so the request was refused. Retry in… Versions Claude Developer Platform · in the page api/skills/versions …url`, when present, is where the organization can appeal. - `cmek_context_unavailable` (HTTP status 503) The workspace's encryption settings could not be read, so the request was refused. Retry in… Create Skill Version Claude Developer Platform · in the page api/skills/versions/create …url`, when present, is where the organization can appeal. - `cmek_context_unavailable` (HTTP status 503) The workspace's encryption settings could not be read, so the request was refused. Retry in… versioning Claude Developer Platform · in the page api/versioning …ectly in an `assistant` message returns a 400 error. * Sending a `text` block with a non-empty `citations` array in a `user` message, directly or inside a `search_result` block, returns a 400 erro… Message Batches API Claude Developer Platform · in the page build-with-claude/batch-processing …or large datasets. * Bulk content generation: Create large amounts of text for various purposes (for example, product descriptions, article summaries). ### Batch limitations * A Message Batch is lim… cache-diagnostics Claude Developer Platform · in the page build-with-claude/cache-diagnostics …}); ``` ```go Go client := anthropic.NewClient() ctx := context.Background() system := []anthropic.BetaTextBlockParam{ {Text: "You are an AI assistant analyzing a large document. <doc… citations Claude Developer Platform · in the page build-with-claude/citations …/Tip> The following example shows how to enable citations on a plain text document with the Messages API: <CodeGroup> ```bash cURL curl https://api.anthropic.com/v1/messages \ -H "content-ty… claude-in-amazon-bedrock Claude Developer Platform · in the page build-with-claude/claude-in-amazon-bedrock …e": "user", "content": "Hello, Claude"}], ) print(next(block.text for block in message.content if block.type == "text")) ``` </Tab> <Tab title="TypeScript"> ```typescript imp… claude-in-microsoft-foundry Claude Developer Platform · in the page build-with-claude/claude-in-microsoft-foundry …yments) lists the available models. Features such as the [1M-token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) are also available. You manage costs through y… anthropic-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/anthropic-managed …base URL that names your project, a location, and your workspace: ```text wrap https://claude.googleapis.com/v1/projects/{project}/locations/global/workspaces/{workspace}/invoke ``` The [organizatio… google-managed Claude Developer Platform · in the page build-with-claude/claude-models-on-google-cloud/google-managed …s); Console.WriteLine(message); ``` ```go Go import ( "context" "fmt" "github.com/anthropics/anthropic-sdk-go/v2" "github.com/anthropics/anthropic-sdk-go/v2/vertex" ) func m… claude-on-amazon-bedrock-legacy Claude Developer Platform · in the page build-with-claude/claude-on-amazon-bedrock-legacy …response.content().stream() .flatMap(block -> block.text().stream()) .forEach(textBlock -> IO.println(textBlock.text())); } ``` </CodeGroup> The ex… claude-platform-on-aws Claude Developer Platform · in the page build-with-claude/claude-platform-on-aws …eprecations). Let Claude Code migrate your code to a newer model ```text /claude-api migrate this project to the latest Claude Opus model ``` ## Making requests Claude Platform on AWS uses the sam… sent_count = len(messages sent in the compaction request) Claude Developer Platform · in the page build-with-claude/compaction ….com/docs/en/build-with-claude/compaction description: Server-side context compaction for managing long conversations that approach context window limits. --- ## Compatibility - Status: Beta - [Beta… compaction-background Claude Developer Platform · in the page build-with-claude/compaction-background …history until the swap, so start the compaction request while the context window still has room for the turns that arrive meanwhile. The following program is the loop from [Compact in a loop](https:… compaction-keep-recent-turns Claude Developer Platform · in the page build-with-claude/compaction-keep-recent-turns …er the block"); } } } ``` ```go Go ctx := context.Background() client := anthropic.NewClient() // Set this near your real input budget. It is low here so a short conversa… compaction-on-demand Claude Developer Platform · in the page build-with-claude/compaction-on-demand …contains a single `compaction` block. The block holds the summary as text you can read, and a signature. Send it in future requests exactly as it came. From then on the block takes the place of the… compaction-thinking-blocks Claude Developer Platform · in the page build-with-claude/compaction-thinking-blocks …m"` entries in `messages`. They’re summarized with the rest, so their text instructions and [per-message effort](https://platform.claude.com/docs/en/build-with-claude/effort-per-message) levels stop a… compaction-threshold Claude Developer Platform · in the page build-with-claude/compaction-threshold …ude/compaction-threshold description: Have the API summarize older context automatically, inside an ordinary request, when the conversation reaches a token threshold you set. featureMetadata: status… effort Claude Developer Platform · in the page build-with-claude/effort …dium"}, ) for block in response.content: if block.type == "text": print(block.text) ``` ```typescript TypeScript const client = new Anthropic(); const response = await c… effort-per-message Claude Developer Platform · in the page build-with-claude/effort-per-message …7-01"], ) for block in response.content: if block.type == "text": print(block.text) ``` ```typescript TypeScript const client = new Anthropic(); const response = await c… This will automatically use the environment variable VOYAGE_API_KEY. Claude Developer Platform · in the page build-with-claude/embeddings …platform.claude.com/docs/en/build-with-claude/embeddings description: Text embeddings are numerical representations of text that let you measure semantic similarity. This guide introduces embeddings,… extended-thinking Claude Developer Platform · in the page build-with-claude/extended-thinking …], ) # The response contains summarized thinking blocks and text blocks for block in response.content: match block.type: case "thinking": print(f"\nThinking s… fallback-credit Claude Developer Platform · in the page build-with-claude/fallback-credit …se.content] match echoed: case [*_, {"type": "text"} as final_block]: final_block["text"] = final_block["text"].rstrip() attempt = exact_body | {… fast-mode Claude Developer Platform · in the page build-with-claude/fast-mode …], ) for block in response.content: if block.type == "text": print(block.text) ``` ```typescript TypeScript const client = new Anthropic(); const response = await c… files Claude Developer Platform · in the page build-with-claude/files …err) } defer f.Close() response, err := client.Files.Upload(context.Background(), anthropic.FileUploadParams{ File: anthropic.File(f, "document.pdf", "application/pdf"), }) if err !… handling-stop-reasons Claude Developer Platform · in the page build-with-claude/handling-stop-reasons ….com/docs/en/build-with-claude/refusals-and-fallback). | | [`model_context_window_exceeded`](https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons#model-context-window-exceeded)… message-threads Claude Developer Platform · in the page build-with-claude/message-threads …y take?"} ) for block in second.content: if block.type == "text": print(block.text) ``` ```typescript TypeScript const client = new Anthropic(); // Create the helper. Th… mid-conversation-effort-example Claude Developer Platform · in the page build-with-claude/mid-conversation-effort-example …tem.Diagnostics; using System.Security.Cryptography; using System.Text; using System.Text.Json; using Anthropic; using Anthropic.Models.Messages; AnthropicClient client = new(); const… mid-conversation-system-messages Claude Developer Platform · in the page build-with-claude/mid-conversation-system-messages …is still applied as a system instruction rather than as ordinary user text. <Note> Mid-conversation system messages are available on Claude Fable 5.2, [Claude Mythos 5.2](https://platform.claude.co… multilingual-support Claude Developer Platform · in the page build-with-claude/multilingual-support …nt := anthropic.NewClient() message, err := client.Messages.New(context.TODO(), anthropic.MessageNewParams{ Model: anthropic.ModelClaudeOpus5_5, MaxTokens: 1024, System: []anthropic.Te…
Feedback