One read of Claude Developer Platformapi-20260923T183720Z
268 pages moved out of 637 read.
Pages moved
268
significant first
Pages read
637
in this capture
Captured
18:37 UTC
Corpus hash
f552f1fbd6ec
corpus-hash
What this read moved
1-25 of 268, page 1 of 11This capture is too large to show at once. Changes 1-25 of 268 are below, significant first; the rest are on the following screens.
about-claude/pricing Changed · +56 / -55 lines
from line 12
1212
1313The following table shows pricing for all Claude models:
1414
15| Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens |
16| :------------------------------------------------------------------------------------------------------------------------------------ | :---------------- | :-------------- | :-------------- | :----------------------- | :------------ |
17| Claude Fable 5.1 | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok<sup>1</sup> | $50 / MTok |
18| Claude Mythos 5.1 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok<sup>1</sup> | $50 / MTok |
19| Claude Fable 5 | $10 / MTok | $12.50 / MTok | $20 / MTok | $1 / MTok | $50 / MTok |
20| Claude Mythos 5 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $1 / MTok | $50 / MTok |
21| Claude Opus 5.5 | $4 / MTok | $5 / MTok | $8 / MTok | $0.20 / MTok<sup>2</sup> | $20 / MTok |
22| Claude Opus 5 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
23| Claude Opus 4.8 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
24| Claude Opus 4.7 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
25| Claude Opus 4.6 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
26| Claude Opus 4.5 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
27| Claude Opus 4.1 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $15 / MTok | $18.75 / MTok | $30 / MTok | $1.50 / MTok | $75 / MTok |
28| Claude Opus 4 ([retired, except on Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $15 / MTok | $18.75 / MTok | $30 / MTok | $1.50 / MTok | $75 / MTok |
29| Claude Sonnet 5 | $2 / MTok | $2.50 / MTok | $4 / MTok | $0.20 / MTok | $10 / MTok |
30| Claude Sonnet 4.6 | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
31| Claude Sonnet 4.5 | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
32| Claude Sonnet 4 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
33| Claude Haiku 4.5 | $1 / MTok | $1.25 / MTok | $2 / MTok | $0.10 / MTok | $5 / MTok |
34| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $0.80 / MTok | $1 / MTok | $1.60 / MTok | $0.08 / MTok | $4 / MTok |
15| Model | Base input tokens | 5m cache writes | 1h cache writes | Cache hits and refreshes | Output tokens |
16| :------------------------------------------------------------------------------------------------------------------------------------ | :-------------------- | :-------------- | :-------------- | :----------------------- | :--------------------- |
17| Claude Fable 5.1 | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok<sup>1</sup> | $50 / MTok |
18| Claude Mythos 5.1 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $0.25 / MTok<sup>1</sup> | $50 / MTok |
19| Claude Fable 5 | $10 / MTok | $12.50 / MTok | $20 / MTok | $1 / MTok | $50 / MTok |
20| Claude Mythos 5 ([limited availability](https://anthropic.com/glasswing)) | $10 / MTok | $12.50 / MTok | $20 / MTok | $1 / MTok | $50 / MTok |
21| Claude Opus 5.5 | $4 / MTok | $5 / MTok | $8 / MTok | $0.20 / MTok<sup>2</sup> | $20 / MTok |
22| Claude Opus 5 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
23| Claude Opus 4.8 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
24| Claude Opus 4.7 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
25| Claude Opus 4.6 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
26| Claude Opus 4.5 | $5 / MTok | $6.25 / MTok | $10 / MTok | $0.50 / MTok | $25 / MTok |
27| Claude Opus 4.1 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $15 / MTok | $18.75 / MTok | $30 / MTok | $1.50 / MTok | $75 / MTok |
28| Claude Opus 4 ([retired, except on Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $15 / MTok | $18.75 / MTok | $30 / MTok | $1.50 / MTok | $75 / MTok |
29| Claude Sonnet 5 | $2 / MTok<sup>3</sup> | $2.50 / MTok | $4 / MTok | $0.20 / MTok | $10 / MTok<sup>3</sup> |
30| Claude Sonnet 4.6 | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
31| Claude Sonnet 4.5 | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
32| Claude Sonnet 4 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $3 / MTok | $3.75 / MTok | $6 / MTok | $0.30 / MTok | $15 / MTok |
33| Claude Haiku 4.5 | $1 / MTok | $1.25 / MTok | $2 / MTok | $0.10 / MTok | $5 / MTok |
34| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $0.80 / MTok | $1 / MTok | $1.60 / MTok | $0.08 / MTok | $4 / MTok |
3535
3636*<sup>1 Cache hits and refreshes on Claude Fable 5.1 and Claude Mythos 5.1 are priced at 0.025x the base input price.</sup>*
3737
from line 39
3939
4040*<sup>All other models use the standard 0.1x multiplier.</sup>*
4141
42<Note id="claude-sonnet-5-introductory-pricing">
43 The $2/$10 per million input/output token pricing for Claude Sonnet 5, announced at launch as introductory pricing through August 31, 2026, is now the standard price. The previously scheduled increase to $3/$15 per million input/output tokens on September 1, 2026 will not occur.
44</Note>
42*<sup>3 The $2/$10 per million input/output token pricing for Claude Sonnet 5, announced at launch as introductory pricing through August 31, 2026, is now the standard price. The previously scheduled increase to $3/$15 per million input/output tokens on September 1, 2026 will not occur.</sup>*
4543
46<Note>
47 MTok = Million tokens. The "Base Input Tokens" column shows standard input pricing, the "5m Cache Writes", "1h Cache Writes", and "Cache Hits & Refreshes" columns are specific to [prompt caching](https://platform.claude.com/docs/en/about-claude/pricing#prompt-caching), and "Output Tokens" shows output pricing. See [prompt caching pricing](https://platform.claude.com/docs/en/about-claude/pricing#prompt-caching) for an explanation of the cache columns and pricing multipliers.
48</Note>
44* **MTok:** Million tokens. $5 / MTok is $5 for every million tokens.
45* **5m cache writes:** Writing a prompt prefix to the 5-minute prompt cache.
46* **1h cache writes:** Writing a prompt prefix to the 1-hour prompt cache.
47* **Cache hits and refreshes:** Reading a prompt prefix from the prompt cache, which also refreshes it.
48* **Limited access:** Offered separately, by invitation only, as part of [Project Glasswing](https://anthropic.com/glasswing). For access, contact your Anthropic, AWS, or Google Cloud account team.
49* **Retired:** May still be available on other cloud platforms. See [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations) for more.
4950
50<Note>
51 Claude 4.7 and later models and Claude Mythos Preview use a newer tokenizer that contributes to their improved performance on a wide range of tasks. This tokenizer produces approximately 30% more tokens for the same text. The exact increase depends on the content and workload shape. Claude Sonnet 4.6 and earlier models use the previous tokenizer.
52</Note>
51Claude 4.7 and later models and Claude Mythos Preview use a newer tokenizer that contributes to their improved performance on a wide range of tasks. This tokenizer produces approximately 30% more tokens for the same text. The exact increase depends on the content and workload shape. Claude Sonnet 4.6 and earlier models use the previous tokenizer.
5352
54For Claude Platform on AWS pricing, see [Claude Platform on AWS pricing](https://platform.claude.com/docs/en/about-claude/pricing#claude-platform-on-aws-pricing).
55
5653## Cloud platform pricing
5754
5855This section covers partner-operated cloud platforms, where the cloud provider invoices you. For Anthropic-operated cloud platforms billed through a marketplace, see [Claude Platform on AWS pricing](https://platform.claude.com/docs/en/about-claude/pricing#claude-platform-on-aws-pricing) and [Claude in Microsoft Foundry pricing](https://platform.claude.com/docs/en/about-claude/pricing#claude-in-microsoft-foundry-pricing).
from line 92
9592| **Tax** | Pre-tax metering; AWS Marketplace handles tax |
9693| **Cost visibility** | Real-time breakdown in the Claude Console (access through the AWS Console); AWS Cost Explorer shows aggregated CCU |
9794
98<Note>
99 **Claude Consumption Units.** If Customer accesses the Services through certain Marketplace Platforms (e.g., Claude Platform on AWS), usage will be invoiced in Claude Consumption Units ("CCU") rather than per MTok. A CCU is a unit of measure used solely for Marketplace Platform invoicing. One hundred (100) CCU represents $1.00 USD of fees owed for the Services, calculated at the applicable prices on [claude.com/pricing#api](https://claude.com/pricing#api), after application of any discounts.
100</Note>
95**CCU:** Claude Consumption Unit. A CCU is a unit of measure used solely for Marketplace Platform invoicing. If Customer accesses the Services through certain Marketplace Platforms (e.g., Claude Platform on AWS), usage will be invoiced in Claude Consumption Units ("CCU") rather than per MTok. One hundred (100) CCU represents $1.00 USD of fees owed for the Services, calculated at the applicable prices on [claude.com/pricing#api](https://claude.com/pricing#api), after application of any discounts.
10196
10297### Inference geography
10398
from line 121
126121| **Tax** | Pre-tax metering; Azure Marketplace handles tax |
127122| **Cost visibility** | Azure Cost Management shows aggregated CCU |
128123
129<Note>
130 **Claude Consumption Units.** If Customer accesses the Services through certain Marketplace Platforms (e.g., Claude Platform on AWS, Claude in Microsoft Foundry), usage will be invoiced in Claude Consumption Units ("CCU") rather than per MTok. A CCU is a unit of measure used solely for Marketplace Platform invoicing. One hundred (100) CCU represents $1.00 USD of fees owed for the Services, calculated at the applicable prices on [claude.com/pricing#api](https://claude.com/pricing#api), after application of any discounts.
131</Note>
124**CCU:** Claude Consumption Unit. A CCU is a unit of measure used solely for Marketplace Platform invoicing. If Customer accesses the Services through certain Marketplace Platforms (e.g., Claude Platform on AWS, Claude in Microsoft Foundry), usage will be invoiced in Claude Consumption Units ("CCU") rather than per MTok. One hundred (100) CCU represents $1.00 USD of fees owed for the Services, calculated at the applicable prices on [claude.com/pricing#api](https://claude.com/pricing#api), after application of any discounts.
132125
133126### Inference geography
134127
from line 205
212205| Claude Haiku 4.5 | $0.50 / MTok | $2.50 / MTok |
213206| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | $0.40 / MTok | $2 / MTok |
214207
208* **MTok:** Million tokens. $5 / MTok is $5 for every million tokens.
209* **Limited access:** Offered separately, by invitation only, as part of [Project Glasswing](https://anthropic.com/glasswing). For access, contact your Anthropic, AWS, or Google Cloud account team.
210* **Retired:** May still be available on other cloud platforms. See [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations) for more.
211
215212For more information about batch processing, see [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing).
216213
217214### Long context pricing
from line 233
236233
237234When you use `tools`, the API also automatically includes a special system prompt for the model that enables tool use. The number of tool use tokens required for each model is listed in the following table (excluding the additional tokens listed earlier). Note that the table assumes at least 1 tool is provided. If no `tools` are provided, then a tool choice of `none` uses 0 additional system prompt tokens.
238235
239| Model | Tool choice | Tool use system prompt token count |
240| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ---------------------------------- |
241| Claude Opus 5.5 | `auto`, `none` | 286 tokens |
242| Claude Opus 5 | `auto`, `none`***`any`, `tool` | 286 tokens***406 tokens |
243| Claude Opus 4.8 | `auto`, `none`***`any`, `tool` | 290 tokens***410 tokens |
244| Claude Opus 4.7 | `auto`, `none`***`any`, `tool` | 675 tokens***804 tokens |
245| Claude Opus 4.6 | `auto`, `none`***`any`, `tool` | 497 tokens***589 tokens |
246| Claude Opus 4.5 | `auto`, `none`***`any`, `tool` | 496 tokens***588 tokens |
247| Claude Opus 4.1 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 313 tokens***315 tokens |
248| Claude Opus 4 ([retired, except on Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 313 tokens***315 tokens |
249| Claude Sonnet 5 | `auto`, `none`***`any`, `tool` | 354 tokens***474 tokens |
250| Claude Sonnet 4.6 | `auto`, `none`***`any`, `tool` | 497 tokens***589 tokens |
251| Claude Sonnet 4.5 | `auto`, `none`***`any`, `tool` | 496 tokens***588 tokens |
252| Claude Sonnet 4 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 313 tokens***315 tokens |
253| Claude Haiku 4.5 | `auto`, `none`***`any`, `tool` | 496 tokens***588 tokens |
254| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 264 tokens***355 tokens |
236| Model | Tool use system prompt tokens: auto, none | Tool use system prompt tokens: any, tool |
237| :------------------------------------------------------------------------------------------------------------------------------------ | :---------------------------------------- | :--------------------------------------- |
238| Claude Opus 5.5 | 286 tokens | |
239| Claude Opus 5 | 286 tokens | 406 tokens |
240| Claude Opus 4.8 | 290 tokens | 410 tokens |
241| Claude Opus 4.7 | 675 tokens | 804 tokens |
242| Claude Opus 4.6 | 497 tokens | 589 tokens |
243| Claude Opus 4.5 | 496 tokens | 588 tokens |
244| Claude Opus 4.1 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
245| Claude Opus 4 ([retired, except on Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
246| Claude Sonnet 5 | 354 tokens | 474 tokens |
247| Claude Sonnet 4.6 | 497 tokens | 589 tokens |
248| Claude Sonnet 4.5 | 496 tokens | 588 tokens |
249| Claude Sonnet 4 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
250| Claude Haiku 4.5 | 496 tokens | 588 tokens |
251| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 264 tokens | 355 tokens |
252
253* **auto, none:** The count when tool\_choice is auto or none.
254* **any, tool:** The count when tool\_choice is any or tool.
255* **Retired:** May still be available on other cloud platforms. See [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations) for more.
255256
256257These token counts are added to your normal input and output tokens to calculate the total cost of a request.
257258
agents-and-tools/agent-skills/claude-api-skill Changed · +3 / -3 lines
from line 112
112112/claude-api migrate apps/api.py and apps/worker.py to claude-opus-5-5
113113```
114114
115When the scope is ambiguous (for example, a bare `/claude-api migrate to claude-opus-5`), the skill asks you to choose between the entire working directory, a specific subdirectory, or an explicit file list before editing any files. This applies to both Messages API and Managed Agents callers.
115When the scope is ambiguous (for example, a bare `/claude-api migrate to claude-opus-5-5`), the skill asks you to choose between the entire working directory, a specific subdirectory, or an explicit file list before editing any files. This applies to both Messages API and Managed Agents callers.
116116
117117The skill handles:
118118
119* **Model ID swaps**, including typed SDK constants (`Model.CLAUDE_OPUS_4_8` → `Model.CLAUDE_OPUS_5`) across all supported languages, and classifies each file as a caller, a model definer, or an opaque string reference before editing
119* **Model ID swaps**, including typed SDK constants (`Model.CLAUDE_OPUS_4_8` → `Model.CLAUDE_OPUS_5_5`) across all supported languages, and classifies each file as a caller, a model definer, or an opaque string reference before editing
120120* **Cloud platform detection**, preserving platform-specific model ID formats (for example, the `anthropic.` prefix on Amazon Bedrock) and skipping changes for features that are unavailable on partner-operated platforms
121121* **Breaking parameter changes**, such as removing `temperature`, `top_p`, and `top_k` for Claude Opus 4.8 and Claude Opus 4.7, and converting `thinking: {type: "enabled", budget_tokens: N}` to `thinking: {type: "adaptive"}`
122122* **Prefill replacement**, converting assistant-message prefill patterns to [structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) where applicable
from line 128
128128
129129As it edits, the skill explains each change and its motivation inline. On completion, it produces a checklist of items that require manual verification (typically integration tests, length-control prompt tuning, and cost/rate-limit re-baselining).
130130
131For the full list of model-specific changes the skill applies, see [Migrating to Claude Opus 5.5 from Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5-5/migration-guide#migrating-from-claude-opus-5), [Migrating to Claude Opus 5 from Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-5/migration-guide#migrating-from-claude-opus-4-8-to-claude-opus-5), and [Migrating to Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/migration-guide).
131For the full list of model-specific changes the skill applies, see [Migrating to Claude Opus 5.5 from Claude Opus 5](https://platform.claude.com/docs/en/models/opus-5-5/migration-guide#migrating-from-claude-opus-5), [Migrating to Claude Opus 5.5 from Claude Opus 4.8](https://platform.claude.com/docs/en/models/opus-5-5/migration-guide#migrating-from-claude-opus-4-8), and [Migrating to Claude Fable 5.1](https://platform.claude.com/docs/en/models/fable-5-1/migration-guide).
132132
133133## Setting up a Managed Agent
134134
agents-and-tools/tool-use/build-a-tool-using-agent Changed · +34 / -34 lines
from line 1070
10701070 }
10711071
10721072 # Keep the full conversation history in a JSON array so each turn sees prior context.
1073 MESSAGES='[{"role": "user", "content": "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected]."}]'
1073 MESSAGES='[{"role": "user", "content": "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected]."}]'
10741074
10751075 call_api() {
10761076 curl -s https://api.anthropic.com/v1/messages \
from line 1127
11271127
11281128 # Keep the full conversation history in a JSON array so each turn sees
11291129 # prior context.
1130 MESSAGES='[{"role": "user", "content": "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected]."}]'
1130 MESSAGES='[{"role": "user", "content": "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected]."}]'
11311131
11321132 call_api() {
11331133 # ant reads the request body as YAML on stdin: no auth headers, no
from line 1238
12381238 messages = [
12391239 {
12401240 "role": "user",
1241 "content": "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected].",
1241 "content": "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected].",
12421242 }
12431243 ]
12441244
from line 1329
13291329 {
13301330 role: "user",
13311331 content:
1332 "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected].",
1332 "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected].",
13331333 },
13341334 ];
13351335
from line 1442
14421442 new()
14431443 {
14441444 Role = Role.User,
1445 Content = "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected].",
1445 Content = "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected].",
14461446 },
14471447 ];
14481448
from line 1562
15621562 // Keep the full conversation history in a slice so each turn sees prior context.
15631563 messages := []anthropic.MessageParam{
15641564 anthropic.NewUserMessage(anthropic.NewTextBlock(
1565 "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected].",
1565 "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected].",
15661566 )),
15671567 }
15681568
from line 1689
16891689 List<MessageParam> messages = new ArrayList<>();
16901690 messages.add(MessageParam.builder()
16911691 .role(MessageParam.Role.USER)
1692 .content("Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected].")
1692 .content("Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected].")
16931693 .build());
16941694
16951695 Message response = client.messages().create(MessageCreateParams.builder()
from line 1791
17911791 $messages = [
17921792 [
17931793 'role' => 'user',
1794 'content' => 'Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected].',
1794 'content' => 'Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected].',
17951795 ],
17961796 ];
17971797
from line 1893
18931893 messages = [
18941894 {
18951895 role: "user",
1896 content: "Schedule a weekly team standup every Monday at 9am for the next 4 weeks. Invite the whole team: [email protected], [email protected], [email protected]."
1896 content: "Schedule a weekly team standup every Monday at 9am for the next 4 weeks, starting Monday, March 30, 2026. Invite the whole team: [email protected], [email protected], [email protected]."
18971897 }
18981898 ]
18991899
from line 2001
20012001 esac
20022002 }
20032003
2004 MESSAGES='[{"role": "user", "content": "Check what I have next Monday, then schedule a planning session that avoids any conflicts."}]'
2004 MESSAGES='[{"role": "user", "content": "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts."}]'
20052005
20062006 call_api() {
20072007 curl -s https://api.anthropic.com/v1/messages \
from line 2057
20572057 esac
20582058 }
20592059
2060 MESSAGES='[{"role": "user", "content": "Check what I have next Monday, then schedule a planning session that avoids any conflicts."}]'
2060 MESSAGES='[{"role": "user", "content": "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts."}]'
20612061
20622062 call_api() {
20632063 # ant reads the request body as YAML on stdin: no auth headers, no
from line 2187
21872187 messages = [
21882188 {
21892189 "role": "user",
2190 "content": "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
2190 "content": "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
21912191 }
21922192 ]
21932193
from line 2289
22892289 {
22902290 role: "user",
22912291 content:
2292 "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
2292 "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
22932293 },
22942294 ];
22952295
from line 2411
24112411 new()
24122412 {
24132413 Role = Role.User,
2414 Content = "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
2414 Content = "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
24152415 },
24162416 ];
24172417
from line 2532
25322532
25332533 messages := []anthropic.MessageParam{
25342534 anthropic.NewUserMessage(anthropic.NewTextBlock(
2535 "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
2535 "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
25362536 )),
25372537 }
25382538
from line 2662
26622662 List<MessageParam> messages = new ArrayList<>();
26632663 messages.add(MessageParam.builder()
26642664 .role(MessageParam.Role.USER)
2665 .content("Check what I have next Monday, then schedule a planning session that avoids any conflicts.")
2665 .content("Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.")
26662666 .build());
26672667
26682668 Message response = client.messages().create(MessageCreateParams.builder()
from line 2778
27782778 $messages = [
27792779 [
27802780 'role' => 'user',
2781 'content' => 'Check what I have next Monday, then schedule a planning session that avoids any conflicts.',
2781 'content' => 'Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.',
27822782 ],
27832783 ];
27842784
from line 2880
28802880 messages = [
28812881 {
28822882 role: "user",
2883 content: "Check what I have next Monday, then schedule a planning session that avoids any conflicts."
2883 content: "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts."
28842884 }
28852885 ]
28862886
from line 2987
29872987 }
29882988
29892989 EMAILS=$(seq 0 14 | sed 's/.*/user&@example.com/' | paste -sd, -)
2990 MESSAGES="[{\"role\": \"user\", \"content\": \"Schedule an all-hands with everyone: $EMAILS\"}]"
2990 MESSAGES="[{\"role\": \"user\", \"content\": \"Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: $EMAILS\"}]"
29912991
29922992 call_api() {
29932993 curl -s https://api.anthropic.com/v1/messages \
from line 3054
30543054 }
30553055
30563056 EMAILS=$(seq 0 14 | sed 's/.*/user&@example.com/' | paste -sd, -)
3057 MESSAGES=$(jq -n --arg msg "Schedule an all-hands with everyone: $EMAILS" \
3057 MESSAGES=$(jq -n --arg msg "Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: $EMAILS" \
30583058 '[{role: "user", content: $msg}]')
30593059
30603060 call_api() {
from line 3191
31913191 messages = [
31923192 {
31933193 "role": "user",
3194 "content": "Schedule an all-hands with everyone: " + ", ".join(f"user{i}@example.com" for i in range(15)),
3194 "content": "Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: " + ", ".join(f"user{i}@example.com" for i in range(15)),
31953195 }
31963196 ]
31973197
from line 3302
33023302 const messages: Anthropic.MessageParam[] = [
33033303 {
33043304 role: "user",
3305 content: `Schedule an all-hands with everyone: ${emails.join(", ")}`,
3305 content: `Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: ${emails.join(", ")}`,
33063306 },
33073307 ];
33083308
from line 3436
34363436
34373437 List<MessageParam> messages =
34383438 [
3439 new() { Role = Role.User, Content = $"Schedule an all-hands with everyone: {emails}" },
3439 new() { Role = Role.User, Content = $"Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: {emails}" },
34403440 ];
34413441
34423442 var response = await client.Messages.Create(new MessageCreateParams
from line 3574
35743574 }
35753575 messages := []anthropic.MessageParam{
35763576 anthropic.NewUserMessage(anthropic.NewTextBlock(
3577 "Schedule an all-hands with everyone: " + strings.Join(emails, ", "),
3577 "Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: " + strings.Join(emails, ", "),
35783578 )),
35793579 }
35803580
from line 3720
37203720 List<MessageParam> messages = new ArrayList<>();
37213721 messages.add(MessageParam.builder()
37223722 .role(MessageParam.Role.USER)
3723 .content("Schedule an all-hands with everyone: " + emails)
3723 .content("Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: " + emails)
37243724 .build());
37253725
37263726 Message response = client.messages().create(MessageCreateParams.builder()
from line 3844
38443844 $messages = [
38453845 [
38463846 'role' => 'user',
3847 'content' => 'Schedule an all-hands with everyone: ' . implode(', ', $emails),
3847 'content' => 'Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: ' . implode(', ', $emails),
38483848 ],
38493849 ];
38503850
from line 3958
39583958 messages = [
39593959 {
39603960 role: "user",
3961 content: "Schedule an all-hands with everyone: #{emails.join(", ")}"
3961 content: "Schedule a one-hour all-hands on Monday, March 30, 2026 at 10am with everyone: #{emails.join(", ")}"
39623962 }
39633963 ]
39643964
from line 4095
40954095 messages=[
40964096 {
40974097 "role": "user",
4098 "content": "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
4098 "content": "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
40994099 }
41004100 ],
41014101 ).until_done()
from line 4163
41634163 {
41644164 role: "user",
41654165 content:
4166 "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
4166 "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
41674167 },
41684168 ],
41694169 });
from line 4274
42744274 new()
42754275 {
42764276 Role = Role.User,
4277 Content = "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
4277 Content = "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
42784278 },
42794279 ],
42804280 },
from line 4378
43784378 MaxTokens: 1024,
43794379 Messages: []anthropic.BetaMessageParam{
43804380 anthropic.NewBetaUserMessage(anthropic.NewBetaTextBlock(
4381 "Check what I have next Monday, then schedule a planning session that avoids any conflicts.",
4381 "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.",
43824382 )),
43834383 },
43844384 },
from line 4463
44634463 .model(Model.CLAUDE_OPUS_5_5)
44644464 .maxTokens(1024)
44654465 .addBeta("structured-outputs-2025-11-13")
4466 .addUserMessage("Check what I have next Monday, then schedule a planning session that avoids any conflicts.")
4466 .addUserMessage("Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.")
44674467 .addTool(CreateCalendarEvent.class)
44684468 .addTool(ListCalendarEvents.class)
44694469 .build());
from line 4556
45564556 messages: [
45574557 [
45584558 'role' => 'user',
4559 'content' => 'Check what I have next Monday, then schedule a planning session that avoids any conflicts.',
4559 'content' => 'Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts.',
45604560 ],
45614561 ],
45624562 model: Model::CLAUDE_OPUS_5_5,
from line 4631
46314631 messages: [
46324632 {
46334633 role: "user",
4634 content: "Check what I have next Monday, then schedule a planning session that avoids any conflicts."
4634 content: "Check what I have on Monday, March 30, 2026, then schedule a one-hour planning session that day that avoids any conflicts."
46354635 }
46364636 ]
46374637 )
agents-and-tools/tool-use/overview Changed · +20 / -16 lines
from line 864
864864
865865When you use `tools`, the API also automatically includes a special system prompt for the model that enables tool use. The number of tool use tokens required for each model is listed in the following table (excluding the additional tokens listed earlier). Note that the table assumes at least 1 tool is provided. If no `tools` are provided, then a tool choice of `none` uses 0 additional system prompt tokens.
866866
867| Model | Tool choice | Tool use system prompt token count |
868| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ | ---------------------------------- |
869| Claude Opus 5.5 | `auto`, `none` | 286 tokens |
870| Claude Opus 5 | `auto`, `none`***`any`, `tool` | 286 tokens***406 tokens |
871| Claude Opus 4.8 | `auto`, `none`***`any`, `tool` | 290 tokens***410 tokens |
872| Claude Opus 4.7 | `auto`, `none`***`any`, `tool` | 675 tokens***804 tokens |
873| Claude Opus 4.6 | `auto`, `none`***`any`, `tool` | 497 tokens***589 tokens |
874| Claude Opus 4.5 | `auto`, `none`***`any`, `tool` | 496 tokens***588 tokens |
875| Claude Opus 4.1 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 313 tokens***315 tokens |
876| Claude Opus 4 ([retired, except on Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 313 tokens***315 tokens |
877| Claude Sonnet 5 | `auto`, `none`***`any`, `tool` | 354 tokens***474 tokens |
878| Claude Sonnet 4.6 | `auto`, `none`***`any`, `tool` | 497 tokens***589 tokens |
879| Claude Sonnet 4.5 | `auto`, `none`***`any`, `tool` | 496 tokens***588 tokens |
880| Claude Sonnet 4 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 313 tokens***315 tokens |
881| Claude Haiku 4.5 | `auto`, `none`***`any`, `tool` | 496 tokens***588 tokens |
882| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | `auto`, `none`***`any`, `tool` | 264 tokens***355 tokens |
867| Model | Tool use system prompt tokens: auto, none | Tool use system prompt tokens: any, tool |
868| :------------------------------------------------------------------------------------------------------------------------------------ | :---------------------------------------- | :--------------------------------------- |
869| Claude Opus 5.5 | 286 tokens | |
870| Claude Opus 5 | 286 tokens | 406 tokens |
871| Claude Opus 4.8 | 290 tokens | 410 tokens |
872| Claude Opus 4.7 | 675 tokens | 804 tokens |
873| Claude Opus 4.6 | 497 tokens | 589 tokens |
874| Claude Opus 4.5 | 496 tokens | 588 tokens |
875| Claude Opus 4.1 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
876| Claude Opus 4 ([retired, except on Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
877| Claude Sonnet 5 | 354 tokens | 474 tokens |
878| Claude Sonnet 4.6 | 497 tokens | 589 tokens |
879| Claude Sonnet 4.5 | 496 tokens | 588 tokens |
880| Claude Sonnet 4 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 313 tokens | 315 tokens |
881| Claude Haiku 4.5 | 496 tokens | 588 tokens |
882| Claude Haiku 3.5 ([retired, except on Bedrock and Google Cloud](https://platform.claude.com/docs/en/about-claude/model-deprecations)) | 264 tokens | 355 tokens |
883
884* **auto, none:** The count when tool\_choice is auto or none.
885* **any, tool:** The count when tool\_choice is any or tool.
886* **Retired:** May still be available on other cloud platforms. See [Model deprecations](https://platform.claude.com/docs/en/about-claude/model-deprecations) for more.
883887
884888These token counts are added to your normal input and output tokens to calculate the total cost of a request.
885889
agents-and-tools/tool-use/web-fetch-tool Changed · +6 / -2 lines
from line 27
2727<Warning>
2828 Enabling the web fetch tool in environments where Claude processes untrusted input alongside sensitive data poses data exfiltration risks. Only use this tool in trusted environments or when handling non-sensitive data.
2929
30 To minimize exfiltration risks, Claude cannot fetch URLs that appear only in its own output. Claude can only fetch URLs that have previously appeared in the conversation: URLs in user messages, URLs in client-side tool results (even when a result echoes text that Claude generated), and URLs from previous web search or web fetch results (see [URL validation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool#url-validation)). However, there is still residual risk that you should carefully consider when using this tool.
30 To minimize exfiltration risks, Claude cannot fetch URLs that appear only in its own output. Claude can only fetch URLs that have previously appeared in the conversation: URLs in user messages, URLs in client-side tool results (even when a result echoes text that Claude generated), and URLs from previous web search or web fetch results (see [URL validation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool#url-validation)). Claude also cannot fetch a URL that appears to contain a credential, such as an API key or a password, unless that credential appears in the system prompt or in the text of a user message.
3131
32 However, there is still residual risk that you should carefully consider when using this tool.
33
3234 If data exfiltration is a concern, consider:
3335
3436 * Disabling the web fetch tool entirely
from line 636
634636
635637* `invalid_tool_input`: Invalid tool input, such as a malformed URL or a non-HTTP(S) scheme
636638* `url_too_long`: URL exceeds maximum length (250 characters)
637* `url_not_allowed`: URL blocked by domain filtering rules (including your organization's settings) or by Anthropic-side restrictions, such as private addresses and `robots.txt`
639* `url_not_allowed`: URL blocked by domain filtering rules (including your organization's settings) or by Anthropic-side restrictions, such as private addresses, `robots.txt`, and URLs that appear to contain a credential you did not provide
638640* `url_not_in_prior_context`: URL did not appear earlier in the conversation (see [URL validation](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool#url-validation))
639641* `url_not_accessible`: Failed to fetch content (HTTP error)
640642* `too_many_requests`: Rate limit exceeded
from line 653
651653* URLs from previous web search or web fetch results
652654
653655The tool cannot fetch URLs that appear only in Claude's own output or only in the system prompt. To make a URL from the system prompt fetchable, also include it in a user message. Results of other server-side tools, such as [code execution](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), the [MCP connector](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector), or [tool search](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool), are not an allowed source either. Client-side tool results are an allowed source even when they echo text that Claude produced (for example, a command that prints its input, or an error message that quotes it).
656
657The tool also refuses a URL that appears to contain a credential, such as an API key or a password, unless that credential appears in the system prompt or in the text of a user message. A credential that appears only in a tool result does not count. The result is a `url_not_allowed` error. To fetch such a URL, include it in a user message.
654658
655659## Combined search and fetch
656660
api/beta Changed · +11744 / -6339 lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
Nothing in the body moved in this read. What changed is above.
api/beta/agents Changed · +98 / -22 lines
This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 19
1919
2020 - `string`
2121
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2323
2424 - `"message-batches-2024-09-24"`
2525
from line 113
113113
114114 - `"compact-2026-09-04"`
115115
116 - `"inline-tools-2026-09-15"`
117
118 - `"mcp-client-2026-09-15"`
119
116120- `"anthropic-workspace-id": optional string`
117121
118122 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 129
125129
126130 Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison), e.g. `claude-opus-5`, or a `model_config` object for additional configuration control
127131
128 - `BetaManagedAgentsModel = "claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more or string`
132 - `BetaManagedAgentsModel = "claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more or string`
129133
130134 The model that will power your agent.
131135
132136 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
133137
134 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
138 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
135139
136140 The model that will power your agent.
137141
138142 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
139143
144 - `"claude-opus-5-5"`
145
146 Powerful intelligence for coding, knowledge work, and long-running agents
147
140148 - `"claude-fable-5-1"`
141149
142150 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 885
877885
878886 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
879887
880 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
888 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
881889
882890 The model that will power your agent.
883891
884892 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
885893
894 - `"claude-opus-5-5"`
895
896 Powerful intelligence for coding, knowledge work, and long-running agents
897
886898 - `"claude-fable-5-1"`
887899
888900 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 1568
15561568
15571569 - `string`
15581570
1559 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1571 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
15601572
15611573 - `"message-batches-2024-09-24"`
15621574
from line 1662
16501662
16511663 - `"compact-2026-09-04"`
16521664
1665 - `"inline-tools-2026-09-15"`
1666
1667 - `"mcp-client-2026-09-15"`
1668
16531669- `"anthropic-workspace-id": optional string`
16541670
16551671 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1716
17001716
17011717 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
17021718
1703 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
1719 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
17041720
17051721 The model that will power your agent.
17061722
17071723 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
17081724
1725 - `"claude-opus-5-5"`
1726
1727 Powerful intelligence for coding, knowledge work, and long-running agents
1728
17091729 - `"claude-fable-5-1"`
17101730
17111731 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 2379
23592379
23602380 - `string`
23612381
2362 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2382 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
23632383
23642384 - `"message-batches-2024-09-24"`
23652385
from line 2473
24532473
24542474 - `"compact-2026-09-04"`
24552475
2476 - `"inline-tools-2026-09-15"`
2477
2478 - `"mcp-client-2026-09-15"`
2479
24562480- `"anthropic-workspace-id": optional string`
24572481
24582482 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2527
25032527
25042528 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
25052529
2506 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
2530 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
25072531
25082532 The model that will power your agent.
25092533
25102534 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
25112535
2536 - `"claude-opus-5-5"`
2537
2538 Powerful intelligence for coding, knowledge work, and long-running agents
2539
25122540 - `"claude-fable-5-1"`
25132541
25142542 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 3173
31453173
31463174 - `string`
31473175
3148 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3176 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
31493177
31503178 - `"message-batches-2024-09-24"`
31513179
from line 3267
32393267
32403268 - `"compact-2026-09-04"`
32413269
3270 - `"inline-tools-2026-09-15"`
3271
3272 - `"mcp-client-2026-09-15"`
3273
32423274- `"anthropic-workspace-id": optional string`
32433275
32443276 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3311
32793311
32803312 Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison), e.g. `claude-opus-5`, or a `model_config` object for additional configuration control. Omit to preserve. Cannot be cleared.
32813313
3282 - `BetaManagedAgentsModel = "claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more or string`
3314 - `BetaManagedAgentsModel = "claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more or string`
32833315
32843316 The model that will power your agent.
32853317
32863318 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
32873319
3288 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
3320 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
32893321
32903322 The model that will power your agent.
32913323
32923324 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
32933325
3326 - `"claude-opus-5-5"`
3327
3328 Powerful intelligence for coding, knowledge work, and long-running agents
3329
32943330 - `"claude-fable-5-1"`
32953331
32963332 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 4045
40094045
40104046 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
40114047
4012 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
4048 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
40134049
40144050 The model that will power your agent.
40154051
40164052 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
40174053
4054 - `"claude-opus-5-5"`
4055
4056 Powerful intelligence for coding, knowledge work, and long-running agents
4057
40184058 - `"claude-fable-5-1"`
40194059
40204060 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 4697
46574697
46584698 - `string`
46594699
4660 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4700 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
46614701
46624702 - `"message-batches-2024-09-24"`
46634703
from line 4791
47514791
47524792 - `"compact-2026-09-04"`
47534793
4794 - `"inline-tools-2026-09-15"`
4795
4796 - `"mcp-client-2026-09-15"`
4797
47544798- `"anthropic-workspace-id": optional string`
47554799
47564800 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4845
48014845
48024846 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
48034847
4804 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
4848 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
48054849
48064850 The model that will power your agent.
48074851
48084852 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
48094853
4854 - `"claude-opus-5-5"`
4855
4856 Powerful intelligence for coding, knowledge work, and long-running agents
4857
48104858 - `"claude-fable-5-1"`
48114859
48124860 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 5530
54825530
54835531 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
54845532
5485 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
5533 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
54865534
54875535 The model that will power your agent.
54885536
54895537 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
54905538
5539 - `"claude-opus-5-5"`
5540
5541 Powerful intelligence for coding, knowledge work, and long-running agents
5542
54915543 - `"claude-fable-5-1"`
54925544
54935545 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 8210
81588210
81598211### Beta Managed Agents Model
81608212
8161- `BetaManagedAgentsModel = "claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more or string`
8213- `BetaManagedAgentsModel = "claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more or string`
81628214
81638215 The model that will power your agent.
81648216
81658217 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
81668218
8167 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
8219 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
81688220
81698221 The model that will power your agent.
81708222
81718223 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
81728224
8225 - `"claude-opus-5-5"`
8226
8227 Powerful intelligence for coding, knowledge work, and long-running agents
8228
81738229 - `"claude-fable-5-1"`
81748230
81758231 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 8296
82408296
82418297 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
82428298
8243 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
8299 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
82448300
82458301 The model that will power your agent.
82468302
82478303 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
82488304
8305 - `"claude-opus-5-5"`
8306
8307 Powerful intelligence for coding, knowledge work, and long-running agents
8308
82498309 - `"claude-fable-5-1"`
82508310
82518311 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 8336
82768336
82778337 - `"claude-sonnet-4-6"`
82788338
8279 Best combination of speed and intelligence
8280
8281 - `"claude-haiku-4-5"`
8282
8283 Fastest model with near-frontier intelligence
8284
8285 - `"claude-haiku-4-5-20251001"`
8286
8287 Fastest model with near-frontier intelligence
8288
8289 - `"claude-opus-4-5"`
8290
8291 Powerful intelligence for long-running agents and coding
8292
8293 - `"claude-opus-4-5-20251101"`
8294
8295 Powerful intelligence for long-running agents and coding
8296
8297 - `"claude-sonnet-4-5"`
8298
8299 High-performance model for agents and coding
8300
8301 - `"claude-sonnet-4-5-20250929"`
8302
8303 High-performance model for agents and coding
8304
8305 - `string`
8306
8307 - `effort: optional BetaManagedAgentsEffortLow or BetaManagedAgentsEffortMedium or BetaManagedAgentsEffortHigh or 2 more`
8308
8309 How hard Claude works on each turn. Sets `output_config.effort` on every Messages call the session makes.
8310
8311 - `BetaManagedAgentsEffortLow object`
8312
8313 Low effort. Favors latency over reasoning depth.
8314
8315 - `type: "low"`
8316
8317 - `BetaManagedAgentsEffortMedium object`
8318
8319 Medium effort. Balances latency and reasoning depth.
8320
8321 - `type: "medium"`
8322
8323 - `BetaManagedAgentsEffortHigh object`
8324
8325 High effort. Favors reasoning depth.
8326
8327 - `type: "high"`
8328
8329 - `BetaManagedAgentsEffortXhigh object`
8330
8331 Extra-high effort. Not all models accept this level.
8332
8333 - `type: "xhigh"`
8334
8335 - `BetaManagedAgentsEffortMax object`
8336
8337 Maximum effort. Favors reasoning depth over latency.
8338
8339 - `type: "max"`
8340
8341 - `inference_geo: optional str
8339 Best combinati
api/beta/agents/archive Changed · +10 / -2 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 117
117117
118118 - `"compact-2026-09-04"`
119119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
123
120124- `"anthropic-workspace-id": optional string`
121125
122126 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 171
167171
168172 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
169173
170 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
174 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
171175
172176 The model that will power your agent.
173177
174178 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
179
180 - `"claude-opus-5-5"`
181
182 Powerful intelligence for coding, knowledge work, and long-running agents
175183
176184 - `"claude-fable-5-1"`
177185
api/beta/agents/create Changed · +16 / -4 lines
from line 17
1717
1818 - `string`
1919
20 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
20 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2121
2222 - `"message-batches-2024-09-24"`
2323
from line 111
111111
112112 - `"compact-2026-09-04"`
113113
114 - `"inline-tools-2026-09-15"`
115
116 - `"mcp-client-2026-09-15"`
117
114118- `"anthropic-workspace-id": optional string`
115119
116120 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 127
123127
124128 Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison), e.g. `claude-opus-5`, or a `model_config` object for additional configuration control
125129
126 - `BetaManagedAgentsModel = "claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more or string`
130 - `BetaManagedAgentsModel = "claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more or string`
127131
128132 The model that will power your agent.
129133
130134 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
131135
132 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
136 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
133137
134138 The model that will power your agent.
135139
136140 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
137141
142 - `"claude-opus-5-5"`
143
144 Powerful intelligence for coding, knowledge work, and long-running agents
145
138146 - `"claude-fable-5-1"`
139147
140148 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 883
875883
876884 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
877885
878 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
886 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
879887
880888 The model that will power your agent.
881889
882890 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
891
892 - `"claude-opus-5-5"`
893
894 Powerful intelligence for coding, knowledge work, and long-running agents
883895
884896 - `"claude-fable-5-1"`
885897
api/beta/agents/list Changed · +10 / -2 lines
from line 45
4545
4646 - `string`
4747
48 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
48 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
4949
5050 - `"message-batches-2024-09-24"`
5151
from line 139
139139
140140 - `"compact-2026-09-04"`
141141
142 - `"inline-tools-2026-09-15"`
143
144 - `"mcp-client-2026-09-15"`
145
142146- `"anthropic-workspace-id": optional string`
143147
144148 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 193
189193
190194 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
191195
192 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
196 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
193197
194198 The model that will power your agent.
195199
196200 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
201
202 - `"claude-opus-5-5"`
203
204 Powerful intelligence for coding, knowledge work, and long-running agents
197205
198206 - `"claude-fable-5-1"`
199207
api/beta/agents/retrieve Changed · +10 / -2 lines
from line 31
3131
3232 - `string`
3333
34 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
34 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
3535
3636 - `"message-batches-2024-09-24"`
3737
from line 125
125125
126126 - `"compact-2026-09-04"`
127127
128 - `"inline-tools-2026-09-15"`
129
130 - `"mcp-client-2026-09-15"`
131
128132- `"anthropic-workspace-id": optional string`
129133
130134 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 179
175179
176180 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
177181
178 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
182 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
179183
180184 The model that will power your agent.
181185
182186 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
187
188 - `"claude-opus-5-5"`
189
190 Powerful intelligence for coding, knowledge work, and long-running agents
183191
184192 - `"claude-fable-5-1"`
185193
api/beta/agents/update Changed · +16 / -4 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 117
117117
118118 - `"compact-2026-09-04"`
119119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
123
120124- `"anthropic-workspace-id": optional string`
121125
122126 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 161
157161
158162 Model identifier. Accepts the [model string](https://platform.claude.com/docs/en/about-claude/models/overview#latest-models-comparison), e.g. `claude-opus-5`, or a `model_config` object for additional configuration control. Omit to preserve. Cannot be cleared.
159163
160 - `BetaManagedAgentsModel = "claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more or string`
164 - `BetaManagedAgentsModel = "claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more or string`
161165
162166 The model that will power your agent.
163167
164168 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
165169
166 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
170 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
167171
168172 The model that will power your agent.
169173
170174 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
171175
176 - `"claude-opus-5-5"`
177
178 Powerful intelligence for coding, knowledge work, and long-running agents
179
172180 - `"claude-fable-5-1"`
173181
174182 Frontier intelligence for ambitious tasks across coding, scientific discovery, and enterprise workflows
from line 895
887895
888896 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
889897
890 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
898 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
891899
892900 The model that will power your agent.
893901
894902 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
903
904 - `"claude-opus-5-5"`
905
906 Powerful intelligence for coding, knowledge work, and long-running agents
895907
896908 - `"claude-fable-5-1"`
897909
api/beta/agents/versions Changed · +10 / -2 lines
from line 37
3737
3838 - `string`
3939
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
4141
4242 - `"message-batches-2024-09-24"`
4343
from line 131
131131
132132 - `"compact-2026-09-04"`
133133
134 - `"inline-tools-2026-09-15"`
135
136 - `"mcp-client-2026-09-15"`
137
134138- `"anthropic-workspace-id": optional string`
135139
136140 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 185
181185
182186 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
183187
184 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
188 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
185189
186190 The model that will power your agent.
187191
188192 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
193
194 - `"claude-opus-5-5"`
195
196 Powerful intelligence for coding, knowledge work, and long-running agents
189197
190198 - `"claude-fable-5-1"`
191199
api/beta/agents/versions/list Changed · +10 / -2 lines
from line 35
3535
3636 - `string`
3737
38 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
38 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
3939
4040 - `"message-batches-2024-09-24"`
4141
from line 129
129129
130130 - `"compact-2026-09-04"`
131131
132 - `"inline-tools-2026-09-15"`
133
134 - `"mcp-client-2026-09-15"`
135
132136- `"anthropic-workspace-id": optional string`
133137
134138 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 183
179183
180184 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
181185
182 - `"claude-fable-5-1" or "claude-sonnet-5" or "claude-fable-5" or 11 more`
186 - `"claude-opus-5-5" or "claude-fable-5-1" or "claude-sonnet-5" or 12 more`
183187
184188 The model that will power your agent.
185189
186190 See [models](https://docs.anthropic.com/en/docs/models-overview) for additional details and options.
191
192 - `"claude-opus-5-5"`
193
194 Powerful intelligence for coding, knowledge work, and long-running agents
187195
188196 - `"claude-fable-5-1"`
189197
api/beta/deployment_runs Changed · +10 / -2 lines
from line 75
7575
7676 - `string`
7777
78 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
78 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
7979
8080 - `"message-batches-2024-09-24"`
8181
from line 169
169169
170170 - `"compact-2026-09-04"`
171171
172 - `"inline-tools-2026-09-15"`
173
174 - `"mcp-client-2026-09-15"`
175
172176- `"anthropic-workspace-id": optional string`
173177
174178 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 466
462466
463467 - `string`
464468
465 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
469 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
466470
467471 - `"message-batches-2024-09-24"`
468472
from line 559
555559 - `"mid-conversation-system-clear-at-2026-08-21"`
556560
557561 - `"compact-2026-09-04"`
562
563 - `"inline-tools-2026-09-15"`
564
565 - `"mcp-client-2026-09-15"`
558566
559567- `"anthropic-workspace-id": optional string`
560568
api/beta/deployment_runs/list Changed · +5 / -1 lines
from line 73
7373
7474 - `string`
7575
76 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
76 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
7777
7878 - `"message-batches-2024-09-24"`
7979
from line 166
166166 - `"mid-conversation-system-clear-at-2026-08-21"`
167167
168168 - `"compact-2026-09-04"`
169
170 - `"inline-tools-2026-09-15"`
171
172 - `"mcp-client-2026-09-15"`
169173
170174- `"anthropic-workspace-id": optional string`
171175
api/beta/deployment_runs/retrieve Changed · +5 / -1 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 116
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117117
118118 - `"compact-2026-09-04"`
119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
119123
120124- `"anthropic-workspace-id": optional string`
121125
api/beta/deployments Changed · +40 / -8 lines
from line 19
1919
2020 - `string`
2121
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
22 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2323
2424 - `"message-batches-2024-09-24"`
2525
from line 113
113113
114114 - `"compact-2026-09-04"`
115115
116 - `"inline-tools-2026-09-15"`
117
118 - `"mcp-client-2026-09-15"`
119
116120- `"anthropic-workspace-id": optional string`
117121
118122 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1196
11921196
11931197 - `string`
11941198
1195 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1199 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
11961200
11971201 - `"message-batches-2024-09-24"`
11981202
from line 1290
12861290
12871291 - `"compact-2026-09-04"`
12881292
1293 - `"inline-tools-2026-09-15"`
1294
1295 - `"mcp-client-2026-09-15"`
1296
12891297- `"anthropic-workspace-id": optional string`
12901298
12911299 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 1925
19171925
19181926 - `string`
19191927
1920 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
1928 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
19211929
19221930 - `"message-batches-2024-09-24"`
19231931
from line 2019
20112019
20122020 - `"compact-2026-09-04"`
20132021
2022 - `"inline-tools-2026-09-15"`
2023
2024 - `"mcp-client-2026-09-15"`
2025
20142026- `"anthropic-workspace-id": optional string`
20152027
20162028 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 2645
26332645
26342646 - `string`
26352647
2636 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
2648 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
26372649
26382650 - `"message-batches-2024-09-24"`
26392651
from line 2739
27272739
27282740 - `"compact-2026-09-04"`
27292741
2742 - `"inline-tools-2026-09-15"`
2743
2744 - `"mcp-client-2026-09-15"`
2745
27302746- `"anthropic-workspace-id": optional string`
27312747
27322748 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 3769
37533769
37543770 - `string`
37553771
3756 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
3772 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
37573773
37583774 - `"message-batches-2024-09-24"`
37593775
from line 3863
38473863
38483864 - `"compact-2026-09-04"`
38493865
3866 - `"inline-tools-2026-09-15"`
3867
3868 - `"mcp-client-2026-09-15"`
3869
38503870- `"anthropic-workspace-id": optional string`
38513871
38523872 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4490
44704490
44714491 - `string`
44724492
4473 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4493 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
44744494
44754495 - `"message-batches-2024-09-24"`
44764496
from line 4584
45644584
45654585 - `"compact-2026-09-04"`
45664586
4587 - `"inline-tools-2026-09-15"`
4588
4589 - `"mcp-client-2026-09-15"`
4590
45674591- `"anthropic-workspace-id": optional string`
45684592
45694593 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 4873
48494873
48504874 - `string`
48514875
4852 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
4876 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
48534877
48544878 - `"message-batches-2024-09-24"`
48554879
from line 4967
49434967
49444968 - `"compact-2026-09-04"`
49454969
4970 - `"inline-tools-2026-09-15"`
4971
4972 - `"mcp-client-2026-09-15"`
4973
49464974- `"anthropic-workspace-id": optional string`
49474975
49484976 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
from line 5594
55665594
55675595 - `string`
55685596
5569 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
5597 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
55705598
55715599 - `"message-batches-2024-09-24"`
55725600
from line 5687
56595687 - `"mid-conversation-system-clear-at-2026-08-21"`
56605688
56615689 - `"compact-2026-09-04"`
5690
5691 - `"inline-tools-2026-09-15"`
5692
5693 - `"mcp-client-2026-09-15"`
56625694
56635695- `"anthropic-workspace-id": optional string`
56645696
api/beta/deployments/archive Changed · +5 / -1 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 116
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117117
118118 - `"compact-2026-09-04"`
119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
119123
120124- `"anthropic-workspace-id": optional string`
121125
api/beta/deployments/create Changed · +5 / -1 lines
from line 17
1717
1818 - `string`
1919
20 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
20 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2121
2222 - `"message-batches-2024-09-24"`
2323
from line 110
110110 - `"mid-conversation-system-clear-at-2026-08-21"`
111111
112112 - `"compact-2026-09-04"`
113
114 - `"inline-tools-2026-09-15"`
115
116 - `"mcp-client-2026-09-15"`
113117
114118- `"anthropic-workspace-id": optional string`
115119
api/beta/deployments/list Changed · +5 / -1 lines
from line 61
6161
6262 - `string`
6363
64 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
64 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
6565
6666 - `"message-batches-2024-09-24"`
6767
from line 154
154154 - `"mid-conversation-system-clear-at-2026-08-21"`
155155
156156 - `"compact-2026-09-04"`
157
158 - `"inline-tools-2026-09-15"`
159
160 - `"mcp-client-2026-09-15"`
157161
158162- `"anthropic-workspace-id": optional string`
159163
api/beta/deployments/pause Changed · +5 / -1 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 116
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117117
118118 - `"compact-2026-09-04"`
119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
119123
120124- `"anthropic-workspace-id": optional string`
121125
api/beta/deployments/retrieve Changed · +5 / -1 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 116
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117117
118118 - `"compact-2026-09-04"`
119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
119123
120124- `"anthropic-workspace-id": optional string`
121125
api/beta/deployments/run Changed · +5 / -1 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 116
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117117
118118 - `"compact-2026-09-04"`
119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
119123
120124- `"anthropic-workspace-id": optional string`
121125
api/beta/deployments/unpause Changed · +5 / -1 lines
from line 23
2323
2424 - `string`
2525
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 43 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 45 more`
2727
2828 - `"message-batches-2024-09-24"`
2929
from line 116
116116 - `"mid-conversation-system-clear-at-2026-08-21"`
117117
118118 - `"compact-2026-09-04"`
119
120 - `"inline-tools-2026-09-15"`
121
122 - `"mcp-client-2026-09-15"`
119123
120124- `"anthropic-workspace-id": optional string`
121125