diff --git a/content/.metadata.json b/content/.metadata.json index 53fca9e53..4f0ec5cbc 100644 --- a/content/.metadata.json +++ b/content/.metadata.json @@ -1,9 +1,4251 @@ { "metadata": { "version": "1.0", - "fetch_date": "2026-03-22T06:38:41.825085Z" + "fetch_date": "2026-03-23T11:36:12.875385Z" }, "items": [ + { + "url": "https://platform.claude.com/docs/en/intro", + "status": "success", + "path": "en/intro.md", + "sha256": "f270042814a8c4a7c374311a10f3027d6cc319cd4384586c163c1a3626a46fdd", + "size": 3361 + }, + { + "url": "https://platform.claude.com/docs/en/get-started", + "status": "success", + "path": "en/get-started.md", + "sha256": "daa19686eb1690fc82967c1dd3aad4c497c71d3178ab580383ae1f71d5be4b49", + "size": 11143 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/models/overview", + "status": "success", + "path": "en/about-claude/models/overview.md", + "sha256": "f9b36cb655f260dc3dd2567d98c9956ef1356c6ca88e4b1d6b4b75919aa23381", + "size": 9910 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/models/choosing-a-model", + "status": "success", + "path": "en/about-claude/models/choosing-a-model.md", + "sha256": "96c928e062ca62bc43029b5b68166cb7c0e2e46a22f25ff3de68cc1c722813d2", + "size": 4348 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-6", + "status": "success", + "path": "en/about-claude/models/whats-new-claude-4-6.md", + "sha256": "b72b7676844dcdbd95630736ebe7c8a552aeae258e5b4e881acb9cbd8ee92b04", + "size": 9462 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/models/migration-guide", + "status": "success", + "path": "en/about-claude/models/migration-guide.md", + "sha256": "a20ca7ed744659c947887b6b0d8d4f8d2764601c4db940aef1b838cd623d5ba7", + "size": 44660 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/model-deprecations", + "status": "success", + "path": "en/about-claude/model-deprecations.md", + "sha256": "cebc827b87f099d1c5f132fb76e95cc707451139199787123018263346d1c403", + "size": 9176 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/pricing", + "status": "success", + "path": "en/about-claude/pricing.md", + "sha256": "45dab68353d019072ff76e99f21d6cb11e464ed37b8130846a91890e2f78aa70", + "size": 22720 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/overview", + "status": "success", + "path": "en/build-with-claude/overview.md", + "sha256": "4984bdb1a57991358ec413994bc1fa7d07270c8bf09abc66e258092ab0800803", + "size": 11467 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/working-with-messages", + "status": "success", + "path": "en/build-with-claude/working-with-messages.md", + "sha256": "2831e1ab6f18344374998a0224952af7bebeb1f1493d8720a974a482439f3f74", + "size": 32112 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/handling-stop-reasons", + "status": "success", + "path": "en/build-with-claude/handling-stop-reasons.md", + "sha256": "0e799734f3e5457357d0b1ce6e3f692494b9e600d8351e094d68c19f8eeb1c19", + "size": 17992 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices", + "status": "success", + "path": "en/build-with-claude/prompt-engineering/claude-prompting-best-practices.md", + "sha256": "fa661bfd88c6a10f26af964291419fd140dd14c67dcf0a19ade6294d597b8ce2", + "size": 46965 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/extended-thinking", + "status": "success", + "path": "en/build-with-claude/extended-thinking.md", + "sha256": "f743eb6ddec6bc2fa5d4d74ba28a42c59145d9be1e1b73fc6f35e7a218b7fa32", + "size": 130857 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/adaptive-thinking", + "status": "success", + "path": "en/build-with-claude/adaptive-thinking.md", + "sha256": "f90810de148f688b30d7a9a21fb00aeb1672da9b887cf78db1793b55aba9812e", + "size": 32139 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/effort", + "status": "success", + "path": "en/build-with-claude/effort.md", + "sha256": "2a4858fc781b7939d0e12671157d8971b2ab0a9b28935ed627062c8a37941940", + "size": 12243 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/fast-mode", + "status": "success", + "path": "en/build-with-claude/fast-mode.md", + "sha256": "4237d1e740fd20899dbf355650c6338df741e2898fa4ab8b9cb1fc265ae15a41", + "size": 23348 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/structured-outputs", + "status": "success", + "path": "en/build-with-claude/structured-outputs.md", + "sha256": "a06e99aa48abc9c639f0111e5cfa94cb193c6cd77f4895fc2a3799520c52a17d", + "size": 117812 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/citations", + "status": "success", + "path": "en/build-with-claude/citations.md", + "sha256": "e11ba4328f571cb7f9236f86975827ae0427eaa354989e2747c7c0dd2915330d", + "size": 20505 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/streaming", + "status": "success", + "path": "en/build-with-claude/streaming.md", + "sha256": "8d11b7e81e4d97c525395f4082b87e80e44a01934b8729b82981467174de06de", + "size": 51399 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/batch-processing", + "status": "success", + "path": "en/build-with-claude/batch-processing.md", + "sha256": "c0733b61b8c769376b832b326461b8331d34765f0c3616f80396ec543e3d7814", + "size": 61119 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/pdf-support", + "status": "success", + "path": "en/build-with-claude/pdf-support.md", + "sha256": "4b66f967094a1fa339b948ea28f58c06e38b84484af75d1e2e8b446e85833fe3", + "size": 34826 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/search-results", + "status": "success", + "path": "en/build-with-claude/search-results.md", + "sha256": "84e1beeec96c8b4dea86d55cd7b9a169247c73ec59268ea97717167ab20d301e", + "size": 50388 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/multilingual-support", + "status": "success", + "path": "en/build-with-claude/multilingual-support.md", + "sha256": "1fda7688add21d09411abbbe754e5a651f6e23795f7cb7d1f7624b015fd8f36e", + "size": 3788 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/embeddings", + "status": "success", + "path": "en/build-with-claude/embeddings.md", + "sha256": "1e94a92de3d5332b1bebf9de4f9b2c250fc216a3b535038081a42231e831a3d0", + "size": 16342 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/vision", + "status": "success", + "path": "en/build-with-claude/vision.md", + "sha256": "1d03f0874e98554414d95f0060102f89d19582c29f78243517cd576e787832cf", + "size": 48774 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview", + "status": "success", + "path": "en/agents-and-tools/tool-use/overview.md", + "sha256": "810b5b115e9fa029d81d5755f220743f5f6f00359a40e0bd4f42f40e51289b32", + "size": 88656 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/implement-tool-use", + "status": "success", + "path": "en/agents-and-tools/tool-use/implement-tool-use.md", + "sha256": "43c4a4680025264f18118358fd743dd51e77e84ba71d0fff1f89105a8c8f0ed1", + "size": 123854 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/web-search-tool.md", + "sha256": "59aec635edecd7cb6e09c8fdc4082d55a45c261c70899fabefe3f4eff536e660", + "size": 34536 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/web-fetch-tool.md", + "sha256": "35498987ecc51f9a588e59dc68654cbcec7a4a530c0be887f5b1231035b9055c", + "size": 25830 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/code-execution-tool.md", + "sha256": "7556993202bff622fe29ea1a35fe082fa329a26ff28331bb0ebfffa28bce34f0", + "size": 78369 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/memory-tool.md", + "sha256": "2ea7cf2797f0e71ba68e89886d62a264fdaba551b4b5c336444c192eba2cef9d", + "size": 32201 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/bash-tool.md", + "sha256": "17ffee61aa0950903c74ff4097e8facd723021d18227cd248319806ed8be5cf8", + "size": 12540 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/computer-use-tool.md", + "sha256": "ee4eda096dbdd6006faf0c89d616a4f6bc78190d3e27fb66ffa9016d05b588eb", + "size": 56324 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/text-editor-tool.md", + "sha256": "a61773fb319428c246a8590c29aa0b154e9c8d37f40691a75f517af4cccebc61", + "size": 45366 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool", + "status": "success", + "path": "en/agents-and-tools/tool-use/tool-search-tool.md", + "sha256": "7c1dc2e7330387a18245d0bc21b58e900bb31b330da300051a0a5c055a2df2fb", + "size": 51985 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling", + "status": "success", + "path": "en/agents-and-tools/tool-use/programmatic-tool-calling.md", + "sha256": "0de2012f90c576847ece561a91a28169172d048c36b0ed91e646eb7f391366ae", + "size": 52623 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/fine-grained-tool-streaming", + "status": "success", + "path": "en/agents-and-tools/tool-use/fine-grained-tool-streaming.md", + "sha256": "99c4764a0d1f3b71b3bd40b49ee72696528f98c8550af690cbc16bbcfa52f2b6", + "size": 6364 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/context-windows", + "status": "success", + "path": "en/build-with-claude/context-windows.md", + "sha256": "2890fb0fa4399acdc8d9898af3ce81d5c205b02aecbe065b0e71728a854fff0c", + "size": 13400 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/compaction", + "status": "success", + "path": "en/build-with-claude/compaction.md", + "sha256": "3930aa029fd589374254c36201e9ef4f3d03527a51c252254eb71050cd0e6d22", + "size": 95221 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/context-editing", + "status": "success", + "path": "en/build-with-claude/context-editing.md", + "sha256": "fde9ce1ce92685ff0e58df5443cc6b09cc80f0434ed5b154063f57793572f1c3", + "size": 82780 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-caching", + "status": "success", + "path": "en/build-with-claude/prompt-caching.md", + "sha256": "7a75a18e3cc1152c29d078eb7e2187baef05643f45b4641e6fe4a60b061d7d75", + "size": 126387 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/token-counting", + "status": "success", + "path": "en/build-with-claude/token-counting.md", + "sha256": "70295a6ffb02118f1588a8ea3fcb4d68aa0161e6c5752d330b63b90490a9fcc2", + "size": 41555 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/files", + "status": "success", + "path": "en/build-with-claude/files.md", + "sha256": "b83e015c279bddb0a146b8c323386879eef558784278a7b72f0a72139d7344ba", + "size": 26282 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview", + "status": "success", + "path": "en/agents-and-tools/agent-skills/overview.md", + "sha256": "df8878e4eed0b32ed9440a519ea97d310cb35ca05ad66639b0f9feaa69eade94", + "size": 17922 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/agent-skills/quickstart", + "status": "success", + "path": "en/agents-and-tools/agent-skills/quickstart.md", + "sha256": "da27b0b27a12d5ce700e94f7801d65a2fa4c716b5ebd1f0652f59dc69b9e96cd", + "size": 14494 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices", + "status": "success", + "path": "en/agents-and-tools/agent-skills/best-practices.md", + "sha256": "a18fc6d0b3d803da50de339176bfc6a147f3bec350292bbd7f821899af5a18f3", + "size": 41544 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/agent-skills/enterprise", + "status": "success", + "path": "en/agents-and-tools/agent-skills/enterprise.md", + "sha256": "99ba22e3083e4431ab1bc5c29197cb67cd89687d8e9f6045361a66a1a2034db6", + "size": 12762 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/skills-guide", + "status": "success", + "path": "en/build-with-claude/skills-guide.md", + "sha256": "c31b4b33015a86d176fb42d07177d983f8c0bff962be1f3a0c2f415a0a3e16ff", + "size": 144208 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/overview", + "status": "success", + "path": "en/agent-sdk/overview.md", + "sha256": "eb743e6414a1ef7b407ddeff4e7670c73a4b2cf524b799fb50c14b8f9c9ba53b", + "size": 20129 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/quickstart", + "status": "success", + "path": "en/agent-sdk/quickstart.md", + "sha256": "68dc82957a636d99b9c3c3475225c931022f81421f609e3494cfd1d4c8205f44", + "size": 11652 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/agent-loop", + "status": "success", + "path": "en/agent-sdk/agent-loop.md", + "sha256": "6bf96039bcd0f159ea737a1c6535120cc1c48e4d7fef0b6f40533953345a48ed", + "size": 29118 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/claude-code-features", + "status": "success", + "path": "en/agent-sdk/claude-code-features.md", + "sha256": "f595aa5cedf1681c04fc2542601942372e90b5c5c50eae7412df2880f808d7bb", + "size": 15571 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/sessions", + "status": "success", + "path": "en/agent-sdk/sessions.md", + "sha256": "635af467bd4265e1c24c74f96c7766e73cf2991a58d4c14ba98ee4f146574426", + "size": 15594 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/streaming-vs-single-mode", + "status": "success", + "path": "en/agent-sdk/streaming-vs-single-mode.md", + "sha256": "ce705f6e00c63bd212144315bc693281cac878363c0a43fd11601c1f282a4c67", + "size": 7680 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/streaming-output", + "status": "success", + "path": "en/agent-sdk/streaming-output.md", + "sha256": "26ff7769a888bec8d19806a3a371b1273780d2b4a64b1839e85c581f244059e6", + "size": 14531 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/permissions", + "status": "success", + "path": "en/agent-sdk/permissions.md", + "sha256": "f12f38c127490577f09c61c48847dd4c0dfc6db784e1cdc21a18de88e14ef730", + "size": 11099 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/user-input", + "status": "success", + "path": "en/agent-sdk/user-input.md", + "sha256": "45ca422f0af0ca77cfc46fb0d816159ecd89e6a01a01dc951e61408a488425dd", + "size": 30700 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/hooks", + "status": "success", + "path": "en/agent-sdk/hooks.md", + "sha256": "8d87a3278b8c43a0084f1ecf14cc29390033f9154aea8f08f18ba87022baf1af", + "size": 34438 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/file-checkpointing", + "status": "success", + "path": "en/agent-sdk/file-checkpointing.md", + "sha256": "f4d49daddd5f4173c5f223c678e6a7aa6841960105d2ba77e57f075b3c5f87ac", + "size": 26383 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/structured-outputs", + "status": "success", + "path": "en/agent-sdk/structured-outputs.md", + "sha256": "af88fa6334b5f74300599ae3c5b3838f7d216ad5a3350ceae2113b35b4e5c95c", + "size": 14935 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/hosting", + "status": "success", + "path": "en/agent-sdk/hosting.md", + "sha256": "afb4a41ebbc565f69d106a21ebd0ad5ad0134c9bc01d5fc0ada1ceea6f60147b", + "size": 6753 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/secure-deployment", + "status": "success", + "path": "en/agent-sdk/secure-deployment.md", + "sha256": "4d0bdb2e1ae70c5dd515aa523b1d6d8ef3d807bdeef0eab1bc2283e90f07351c", + "size": 21104 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/modifying-system-prompts", + "status": "success", + "path": "en/agent-sdk/modifying-system-prompts.md", + "sha256": "a6d98fe2611720a367b7b80cdd522d62ee191c2cd2d748205a256e498362bd4c", + "size": 14998 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/mcp", + "status": "success", + "path": "en/agent-sdk/mcp.md", + "sha256": "ca09a5daef76363f8509cb958455841c07aa91c9183a07efbe618a629a6108fe", + "size": 24378 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/custom-tools", + "status": "success", + "path": "en/agent-sdk/custom-tools.md", + "sha256": "9ec8013ef1a26daf9c2b09ec7dbe9f4b7703735234190e2285be57885db6c9d9", + "size": 22184 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/subagents", + "status": "success", + "path": "en/agent-sdk/subagents.md", + "sha256": "9de035544a653e9b1122d5d57c39a81990cf1fd4e60b516c7b8b467c37ccd743", + "size": 24989 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/slash-commands", + "status": "success", + "path": "en/agent-sdk/slash-commands.md", + "sha256": "71e16305b88b1c32f9f7dcfb8942ed6ddb7ad86adbb9addfd808af0d0d9150f4", + "size": 12585 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/skills", + "status": "success", + "path": "en/agent-sdk/skills.md", + "sha256": "1d2fa2919901165816457ebb4bf51207a14b9e5286325221265fb85d7ba7cc5c", + "size": 10463 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/cost-tracking", + "status": "success", + "path": "en/agent-sdk/cost-tracking.md", + "sha256": "43c2f15be71bd162ea132bdf4273dbb877754838c1fdee65fa7b42c596641513", + "size": 11161 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/todo-tracking", + "status": "success", + "path": "en/agent-sdk/todo-tracking.md", + "sha256": "68a0609de5b8f3775de1c7e06c0ed605bd1854317d90aaa5b1f880e8184ddd37", + "size": 6015 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/plugins", + "status": "success", + "path": "en/agent-sdk/plugins.md", + "sha256": "1bba286003dfc60f305cca2811146a2321ea20e622207cb14d1cf92883b2202f", + "size": 10669 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/typescript", + "status": "success", + "path": "en/agent-sdk/typescript.md", + "sha256": "ff33e85ab91f95874ea685bbdf52a96f9bbc565781a195365216000d9a0232f2", + "size": 69161 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/typescript-v2-preview", + "status": "success", + "path": "en/agent-sdk/typescript-v2-preview.md", + "sha256": "875911f085008b15fe27f82d8bdbca2789700de92ed211d7748911c6290cd62a", + "size": 10908 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/python", + "status": "success", + "path": "en/agent-sdk/python.md", + "sha256": "9f513f1154a930a2bd176d0b96b5b2547a29dfbb3377dfb6cd7c2e1d41aa2dfd", + "size": 100032 + }, + { + "url": "https://platform.claude.com/docs/en/agent-sdk/migration-guide", + "status": "success", + "path": "en/agent-sdk/migration-guide.md", + "sha256": "4636a4d6a837c51eaf4174af53c12fa7428b4a805afdbe75a9b349ca986004d3", + "size": 9080 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/mcp-connector", + "status": "success", + "path": "en/agents-and-tools/mcp-connector.md", + "sha256": "4553b142138dfd4ab66b4cb6ffbcd904e2fa5e55cfa9661b81b4f329cf2932ff", + "size": 24529 + }, + { + "url": "https://platform.claude.com/docs/en/agents-and-tools/remote-mcp-servers", + "status": "success", + "path": "en/agents-and-tools/remote-mcp-servers.md", + "sha256": "42aeab377e3bd764a9661a58119f60b92a3da01cdcd96feefd935df1c4b47c98", + "size": 1271 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/claude-on-amazon-bedrock", + "status": "success", + "path": "en/build-with-claude/claude-on-amazon-bedrock.md", + "sha256": "639cd3c2d4af5d93fc62eccef51332b8776e28c5af1361acc09650b0fdbe6778", + "size": 28424 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/claude-in-microsoft-foundry", + "status": "success", + "path": "en/build-with-claude/claude-in-microsoft-foundry.md", + "sha256": "ac3627d650f90e5ffb06833ef57d3c849f021d1594902931fc0acc2b823b7f3f", + "size": 20641 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/claude-on-vertex-ai", + "status": "success", + "path": "en/build-with-claude/claude-on-vertex-ai.md", + "sha256": "b66629971889f227e3aab53794e0f077236b91efb57796ce9e0558d0c4942d58", + "size": 19067 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview", + "status": "success", + "path": "en/build-with-claude/prompt-engineering/overview.md", + "sha256": "1ab62e934b9215243b1088059525048e47411f6758feb4ad397f50afcf53ed6b", + "size": 2392 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-tools", + "status": "success", + "path": "en/build-with-claude/prompt-engineering/prompting-tools.md", + "sha256": "91eb182b1eda6cfba521739fdfff08de17d773c224a735a66ec5f84e0ae7577f", + "size": 10236 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/develop-tests", + "status": "success", + "path": "en/test-and-evaluate/develop-tests.md", + "sha256": "f53d8f3ae7a46cae179b8b3472bf1de9e05060914a69baf5dc3579e3d08984cc", + "size": 27264 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/eval-tool", + "status": "success", + "path": "en/test-and-evaluate/eval-tool.md", + "sha256": "c4e35d37b91ddff07c53cb655c84cb1a13570de04328b3382dfeb96a65c4c614", + "size": 5418 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-latency", + "status": "success", + "path": "en/test-and-evaluate/strengthen-guardrails/reduce-latency.md", + "sha256": "b86133508a37ca5c48ef2762d671329b17c0a23c910fa6231793de80ac2c53bc", + "size": 5207 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations", + "status": "success", + "path": "en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations.md", + "sha256": "32760d421159fe18dc2c87912338efeab5582a43f66aa5a5d2adef3c7d834074", + "size": 3732 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/increase-consistency", + "status": "success", + "path": "en/test-and-evaluate/strengthen-guardrails/increase-consistency.md", + "sha256": "e26fa9f1c3e9324e37d53e78325e930d6a74f304c683a5bc3cecd31b5f55ab78", + "size": 14327 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", + "status": "success", + "path": "en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks.md", + "sha256": "19976860e0270df8f58366c46d9ac25e2f87b42d7ecf81d14c708508518aa110", + "size": 4699 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals", + "status": "success", + "path": "en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals.md", + "sha256": "7e435c6d28bf7b3af668ca0052394f44b46ae0d15c075c5b11dba98c07545216", + "size": 10245 + }, + { + "url": "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-prompt-leak", + "status": "success", + "path": "en/test-and-evaluate/strengthen-guardrails/reduce-prompt-leak.md", + "sha256": "8d518ed7799004d6ba5f115d691441935ad98be5fd7650eba4475e90a310f32d", + "size": 3059 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/administration-api", + "status": "success", + "path": "en/build-with-claude/administration-api.md", + "sha256": "d23302bcb818d5fb7f2101d31f87831f46590234d23d6870e9c9f9ab8f2479b3", + "size": 7811 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/data-residency", + "status": "success", + "path": "en/build-with-claude/data-residency.md", + "sha256": "0977b33a24b1eb3c645ef26215d5057aebcae8da3c0b1b14a6cbc5e8b8517076", + "size": 8181 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/workspaces", + "status": "success", + "path": "en/build-with-claude/workspaces.md", + "sha256": "7196ce596dea74eac1c5f58c9f9a14ef6184c777b4ea97657c131dda34e9f15a", + "size": 12313 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/usage-cost-api", + "status": "success", + "path": "en/build-with-claude/usage-cost-api.md", + "sha256": "eb143a3d95490552ba968b0cacd7a603ba575873071139facb27a68c4a1e58f4", + "size": 13322 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/claude-code-analytics-api", + "status": "success", + "path": "en/build-with-claude/claude-code-analytics-api.md", + "sha256": "8a6bec99447e6d2fa9928dcc4b63faf68c78bb4e081ec5c81d1e9ad64f5f4722", + "size": 11250 + }, + { + "url": "https://platform.claude.com/docs/en/build-with-claude/zero-data-retention", + "status": "success", + "path": "en/build-with-claude/zero-data-retention.md", + "sha256": "58fd834a92f4582d25e7f1198758692c84446b7ae9a110caa6698b6e1e48660d", + "size": 9791 + }, + { + "url": "https://platform.claude.com/docs/en/api/overview", + "status": "success", + "path": "en/api/overview.md", + "sha256": "4ae7935dda920bef62f181547a6d66392427e65f0b377868b346902c55ef7617", + "size": 8848 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta-headers", + "status": "success", + "path": "en/api/beta-headers.md", + "sha256": "acbea77d44d7ffdff6d46fd8292d8db11dfd8323ed3ae8c7843c66fcc6eb4977", + "size": 2982 + }, + { + "url": "https://platform.claude.com/docs/en/api/errors", + "status": "success", + "path": "en/api/errors.md", + "sha256": "5f48d1e9682bf7f4312fa08a2ec2ca543fc3ba1b1cb0f38e0d186aede0c68759", + "size": 6504 + }, + { + "url": "https://platform.claude.com/docs/en/api/client-sdks", + "status": "success", + "path": "en/api/client-sdks.md", + "sha256": "10cb253283f257ac0348c448aa4ba9ef4ebb291f6f3de9e451d46571f027f464", + "size": 7967 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/python", + "status": "success", + "path": "en/api/sdks/python.md", + "sha256": "493ba93faf691b8e3db31757a9d925008a7d32fbe72b37c439469b0ac0251e50", + "size": 24258 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/typescript", + "status": "success", + "path": "en/api/sdks/typescript.md", + "sha256": "17c4d30b92537ff281a95931402c2ca5d45c09f4812bddf9b922a8a2855738f1", + "size": 28713 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/java", + "status": "success", + "path": "en/api/sdks/java.md", + "sha256": "4519bcce13f61361efe7fe8270557e45f43323a89c976ee16125c5009b3be728", + "size": 44196 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/go", + "status": "success", + "path": "en/api/sdks/go.md", + "sha256": "35afe453460a44d3e875f99f0c926f93937b235c978ee3f861129c3733681ebf", + "size": 27673 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/ruby", + "status": "success", + "path": "en/api/sdks/ruby.md", + "sha256": "c1d55665a0df6cbffef8b11f6b55ccdbe721c32c464153dbae459c8db4e5a2cd", + "size": 13373 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/csharp", + "status": "success", + "path": "en/api/sdks/csharp.md", + "sha256": "a3e86414a12cd79dd09c644de418fb8abbc3abeab21b73bfbd93a5626c7083cb", + "size": 14640 + }, + { + "url": "https://platform.claude.com/docs/en/api/sdks/php", + "status": "success", + "path": "en/api/sdks/php.md", + "sha256": "d0496b4436ad3fd6619b40d89d196dce45fa829257e9bd00bc4658f6987cb4ec", + "size": 7018 + }, + { + "url": "https://platform.claude.com/docs/en/api/rate-limits", + "status": "success", + "path": "en/api/rate-limits.md", + "sha256": "6304190afaf410f39ada62498645207e126abdf15c9c996901e16107e9d22758", + "size": 26297 + }, + { + "url": "https://platform.claude.com/docs/en/api/service-tiers", + "status": "success", + "path": "en/api/service-tiers.md", + "sha256": "3f33cd88b66914837ed5f7b5de595a6050d8a73ae4a48e4093734fec6aa3d728", + "size": 6286 + }, + { + "url": "https://platform.claude.com/docs/en/api/versioning", + "status": "success", + "path": "en/api/versioning.md", + "sha256": "426fd21267dbafb4f231f71fbb28ba3edc2d265fddab6b0ae7ee1c8538ecf2b6", + "size": 1639 + }, + { + "url": "https://platform.claude.com/docs/en/api/ip-addresses", + "status": "success", + "path": "en/api/ip-addresses.md", + "sha256": "cc3c763ed7e1903ab2e670e5cf9ef8a578ce59194dcf9b1e57626762c2eafec0", + "size": 913 + }, + { + "url": "https://platform.claude.com/docs/en/api/supported-regions", + "status": "success", + "path": "en/api/supported-regions.md", + "sha256": "efff04f8b82996c132cd66435bcaa55ec0066240de3d3e8222af1399988aea7c", + "size": 2241 + }, + { + "url": "https://platform.claude.com/docs/en/api/openai-sdk", + "status": "success", + "path": "en/api/openai-sdk.md", + "sha256": "d1763cb7d8e83847f9790352e65c133409d22ec420b58dbb92a8fd6516500e41", + "size": 12088 + }, + { + "url": "https://platform.claude.com/docs/en/resources/overview", + "status": "success", + "path": "en/resources/overview.md", + "sha256": "280026320e987d90bf5e4f2fbceb49e77f3fed6581d06afc38d1645bc25d2d8d", + "size": 3301 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/glossary", + "status": "success", + "path": "en/about-claude/glossary.md", + "sha256": "1405208f57672548ba8389fec2db9a8cd4ec5baa99ecb09a08956b7929a1c55b", + "size": 9009 + }, + { + "url": "https://platform.claude.com/docs/en/release-notes/system-prompts", + "status": "success", + "path": "en/release-notes/system-prompts.md", + "sha256": "688eebd75e8703bbe002655b7fbdb37215ea6d8276e5fff6c8370fe6b8c81d40", + "size": 369074 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/use-case-guides/overview", + "status": "success", + "path": "en/about-claude/use-case-guides/overview.md", + "sha256": "43239e353a3665f7f27444745f3ff3b76094016a7948fb6de3b2565925404d0b", + "size": 1108 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/use-case-guides/ticket-routing", + "status": "success", + "path": "en/about-claude/use-case-guides/ticket-routing.md", + "sha256": "56311f9bb3cd1f84a2bc088b626740ffe4a858065285a73d93212872993c1265", + "size": 29658 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/use-case-guides/customer-support-chat", + "status": "success", + "path": "en/about-claude/use-case-guides/customer-support-chat.md", + "sha256": "9a135f75f371fe2595a34d32f83b8e396f7092f144911d5febed74503d566567", + "size": 33730 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/use-case-guides/content-moderation", + "status": "success", + "path": "en/about-claude/use-case-guides/content-moderation.md", + "sha256": "e79bc43acaa889c4955f0c913b3cf8bacb9e2d52d788a3ceedbe9e0aeb9d5691", + "size": 25329 + }, + { + "url": "https://platform.claude.com/docs/en/about-claude/use-case-guides/legal-summarization", + "status": "success", + "path": "en/about-claude/use-case-guides/legal-summarization.md", + "sha256": "56eadda92a6ff3441bcda9cbec2710a1f8aabbf21aa7f3954503177f6b35da53", + "size": 21688 + }, + { + "url": "https://platform.claude.com/docs/en/release-notes/overview", + "status": "success", + "path": "en/release-notes/overview.md", + "sha256": "04fbf1bdc9f9fc6f0bb9c04e0a792be3515776bf77c9fbe8f6a7f4b2fe96beac", + "size": 36877 + }, + { + "url": "https://platform.claude.com/docs/en/api/completions", + "status": "success", + "path": "en/api/completions.md", + "sha256": "cf0f2a2a2bc404cafc07e0e680be35d52f952c09b8c57d2c3664804788973d1d", + "size": 11471 + }, + { + "url": "https://platform.claude.com/docs/en/api/completions/create", + "status": "success", + "path": "en/api/completions/create.md", + "sha256": "db2231f4c889211f8234b89a288028105d1a2f877b53c7a42a38003b5b823e29", + "size": 8894 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages", + "status": "success", + "path": "en/api/messages.md", + "sha256": "0e993ad0894f7277fa438b5399af706222cc8a83b1b6b246041bf23bc531705a", + "size": 891396 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/create", + "status": "success", + "path": "en/api/messages/create.md", + "sha256": "4154d5b992e6cffa4bc5e2cc1564e159b7f5c50b9cc0d45adc678b074f893726", + "size": 121622 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/count_tokens", + "status": "success", + "path": "en/api/messages/count_tokens.md", + "sha256": "323cd2875b9ad11da145457900d2cf7fc0ebc16e16b3de535fe2f7adfc762ea4", + "size": 96728 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches", + "status": "success", + "path": "en/api/messages/batches.md", + "sha256": "18ab273bcec95a0cb9302198b4b5291e03cc8f57bc9f73595a718585d6255529", + "size": 233356 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches/create", + "status": "success", + "path": "en/api/messages/batches/create.md", + "sha256": "6ffaaaf4a0f3121244138600261f81ee91a1739f5c590128c8f3276cb7b808ba", + "size": 111363 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches/retrieve", + "status": "success", + "path": "en/api/messages/batches/retrieve.md", + "sha256": "8b771332536ec16e9b397153a1239441d453fc8e0b45adf98eea45cac14b5148", + "size": 3447 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches/list", + "status": "success", + "path": "en/api/messages/batches/list.md", + "sha256": "f5de1aac629dd2df55421d69a71e75b3c442983eb5760aa6b7d6d0a19f18abaa", + "size": 3959 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches/cancel", + "status": "success", + "path": "en/api/messages/batches/cancel.md", + "sha256": "2140b04da15b463641d01f22027327707d6eb3a1803f6940c75a9d3943c65400", + "size": 3784 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches/delete", + "status": "success", + "path": "en/api/messages/batches/delete.md", + "sha256": "fe9c8a3d0bd2aefdbe5a086a2e45db2e835609b2055871c74bfff6586032031e", + "size": 906 + }, + { + "url": "https://platform.claude.com/docs/en/api/messages/batches/results", + "status": "success", + "path": "en/api/messages/batches/results.md", + "sha256": "ca7d5edb5e6bcb2adfe805e9c0c08a2f41c678962b409740fdc761e38d57a03b", + "size": 27997 + }, + { + "url": "https://platform.claude.com/docs/en/api/models", + "status": "success", + "path": "en/api/models.md", + "sha256": "48f0bac37ad9434f25035843b83703353b85116e5f1f9e1463d015a82510d1ec", + "size": 23076 + }, + { + "url": "https://platform.claude.com/docs/en/api/models/list", + "status": "success", + "path": "en/api/models/list.md", + "sha256": "89a6782bfb3a3f24f327a0a03725af8a0573e0ccc532dc247523af86412952f9", + "size": 6399 + }, + { + "url": "https://platform.claude.com/docs/en/api/models/retrieve", + "status": "success", + "path": "en/api/models/retrieve.md", + "sha256": "6f7b15575a28a2871b638e6bac579a77913aef154ab486aefaaecdc199d6393f", + "size": 5748 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta", + "status": "success", + "path": "en/api/beta.md", + "sha256": "51dc8ec9f5c4a228d39543cdb15f9f0a767001b64a16f42ef4d51a20d3e8713d", + "size": 1163767 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/models", + "status": "success", + "path": "en/api/beta/models.md", + "sha256": "e6d2b39111887815faa16023b6478d8925843b0b67b43a3660f82825a1a53cd8", + "size": 23531 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/models/list", + "status": "success", + "path": "en/api/beta/models/list.md", + "sha256": "2720dcb61dbef23706e7d108ce2a3f00fdd21a0c75a94e27fcc0de47fd1b6a2a", + "size": 6493 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/models/retrieve", + "status": "success", + "path": "en/api/beta/models/retrieve.md", + "sha256": "e7364e098fdd2c9d1a17f1b7c9bfdaa6c20a6d5f5579544dbb6b9c5e6438a9c6", + "size": 5842 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages", + "status": "success", + "path": "en/api/beta/messages.md", + "sha256": "150d88ff37fdc9aee5a7876daa75fd7c8021ddecc5d10a1193e13208e94955ed", + "size": 1105203 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/create", + "status": "success", + "path": "en/api/beta/messages/create.md", + "sha256": "c5933c80fd0ca556fadfe60a62fda05d171518a548e2ecb68bc6a99dfec3aa27", + "size": 153001 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/count_tokens", + "status": "success", + "path": "en/api/beta/messages/count_tokens.md", + "sha256": "84cf2c95101921cbd3c54f16de3ae5aa7de76587bc2723c2b23acf636bd63f77", + "size": 119262 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches", + "status": "success", + "path": "en/api/beta/messages/batches.md", + "sha256": "6b32ae3561ff34edac268c3191e4b18dc4a491808a04456f394e60239824c77e", + "size": 300735 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches/create", + "status": "success", + "path": "en/api/beta/messages/batches/create.md", + "sha256": "3211176777ea273da7da0a746b5a37d0108e0b2c61c2a7e8782a2e6a579388a5", + "size": 136008 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/beta/messages/batches/retrieve.md", + "sha256": "59042d81e7f41db0e11a8e823b40631784627a5cad9e8cce3e0d8064a675fcaf", + "size": 4548 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches/list", + "status": "success", + "path": "en/api/beta/messages/batches/list.md", + "sha256": "6a8ca7bde3ac36c80bab2ed2b056c89af99fd16fa3ffb919b818bce01dc8102e", + "size": 5060 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/beta/messages/batches/cancel.md", + "sha256": "6ee0767999d4e413981b24dbeb6d16e559347e43d0ac73057752623c0ba107ca", + "size": 4885 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches/delete", + "status": "success", + "path": "en/api/beta/messages/batches/delete.md", + "sha256": "8cb34be98461b7d2138e89ccaa66e75f4519569c48066d5c654c7b880b585fda", + "size": 2003 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/messages/batches/results", + "status": "success", + "path": "en/api/beta/messages/batches/results.md", + "sha256": "038879440cab9df54ef2e433df169ca887320876dc0fafa668778f2c3da014e3", + "size": 38618 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/files", + "status": "success", + "path": "en/api/beta/files.md", + "sha256": "48a72a549287e7c1416312a082fd986b8aacfb4238988d821b1bb485be87a776", + "size": 10517 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/files/upload", + "status": "success", + "path": "en/api/beta/files/upload.md", + "sha256": "b38be0600b4cbf5c34131f76bdb689b821abe67c9fcef59ce0bbe7e5ba63cdb2", + "size": 1988 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/files/list", + "status": "success", + "path": "en/api/beta/files/list.md", + "sha256": "60f567fd8153a4c1a923960ea30005206feedfe14e6796ccf3b558c221ad6e32", + "size": 2605 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/files/download", + "status": "success", + "path": "en/api/beta/files/download.md", + "sha256": "fd9010af885df69f11e89f695c9d4ee4393c508df6d8eb5c941a03ff04e83f77", + "size": 1379 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/beta/files/retrieve_metadata.md", + "sha256": "7c3fd51b6588afde4e6711a09c647bd1ea75135237f4a8117a35bf1da0cd8b7d", + "size": 2008 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/files/delete", + "status": "success", + "path": "en/api/beta/files/delete.md", + "sha256": "1930a26dbcea224bd034af3c5dd25f9ae578a5a9da4c816c5dc7bc47996ffc55", + "size": 1621 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills", + "status": "success", + "path": "en/api/beta/skills.md", + "sha256": "c78605fa5fccb1b5cb84d20de86f36a7e0e7a5a896a587e3ee717958a3377907", + "size": 19092 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/create", + "status": "success", + "path": "en/api/beta/skills/create.md", + "sha256": "91fa60c558ccc7bd4eff46a7416e2049b0e6c4bf001ba965d5fdcc1ad9452e8c", + "size": 2140 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/list", + "status": "success", + "path": "en/api/beta/skills/list.md", + "sha256": "f4fc4dd599f6ac34c79643c052b7a9a8c5b3cf1f19bd170910c7c7663aa68dae", + "size": 3172 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/retrieve", + "status": "success", + "path": "en/api/beta/skills/retrieve.md", + "sha256": "f8053e9f9da366cd0114cbaf58e5c645886a5bbab162bc99b5f1d8eda64e338e", + "size": 2278 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/delete", + "status": "success", + "path": "en/api/beta/skills/delete.md", + "sha256": "eda675c3e73f4a3b5d5e7b168cc9ca3fa383609674c1c18badbdbeb8b2709386", + "size": 1662 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/versions", + "status": "success", + "path": "en/api/beta/skills/versions.md", + "sha256": "d64e66e4402139351c2749b7d1eb11430c0026ecb462f28f8c96599b1f160968", + "size": 9826 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/versions/create", + "status": "success", + "path": "en/api/beta/skills/versions/create.md", + "sha256": "1092cfbd6f7732ae1a2b749c934acbf29f0853e4c00dcf4ef301c51f73ab4a72", + "size": 2401 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/versions/list", + "status": "success", + "path": "en/api/beta/skills/versions/list.md", + "sha256": "62311a861d02927ca979bc40e8998971ccd920114020848bce86013ab45e5c26", + "size": 2968 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/beta/skills/versions/retrieve.md", + "sha256": "4de16b22ea7dd18f58f3e179cf1bcfca539a084a60f5ac21fa3e9178b1699efd", + "size": 2546 + }, + { + "url": "https://platform.claude.com/docs/en/api/beta/skills/versions/delete", + "status": "success", + "path": "en/api/beta/skills/versions/delete.md", + "sha256": "69731e2f0f254334f5a58a4f300885cd62314c3d6f2bfa312fc524dbd477e3d7", + "size": 1896 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/completions", + "status": "success", + "path": "en/api/typescript/completions.md", + "sha256": "86aa00f3c94a4098884794a043fe7f1a4258b6878b621ade740a3af76b1a73b9", + "size": 12090 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/completions/create", + "status": "success", + "path": "en/api/typescript/completions/create.md", + "sha256": "89b8d96565eeae3f4f177837fcccac80e6a55079934c0e805c4d2336520bd9b5", + "size": 9732 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages", + "status": "success", + "path": "en/api/typescript/messages.md", + "sha256": "2f5fbb4b1ecbd29e7b2b37eeedda584e866e2b129c381e373b3f40f578df4d28", + "size": 834420 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/create", + "status": "success", + "path": "en/api/typescript/messages/create.md", + "sha256": "593517c5da01204bddaeee878300e056ba90f6d349a84170e6bcfb0430e8f13d", + "size": 120550 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/count_tokens", + "status": "success", + "path": "en/api/typescript/messages/count_tokens.md", + "sha256": "7c22c072f5fa2012f395d85599dab3ffd4945004de93941244ce3300d7b73189", + "size": 92868 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches", + "status": "success", + "path": "en/api/typescript/messages/batches.md", + "sha256": "51a5b8663326c46edbf2448f1c5c309f758aaa9f2ab6ea8da9b79a0cda41e9f3", + "size": 221844 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches/create", + "status": "success", + "path": "en/api/typescript/messages/batches/create.md", + "sha256": "5986e866636ad3f2f70e0f0175dd09ae1a3174ad7bf044a757ac1ac986f0fda0", + "size": 107323 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches/retrieve", + "status": "success", + "path": "en/api/typescript/messages/batches/retrieve.md", + "sha256": "a46e305636c3469ef0de4772ddbf94a7047b36ff62dde8ea939b0d65e8f43634", + "size": 3637 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches/list", + "status": "success", + "path": "en/api/typescript/messages/batches/list.md", + "sha256": "f08b6a4ebd48b6f1b3867e11374ac83f89ab802efbf4cf1ed05b42f9d0abbd8c", + "size": 3964 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches/cancel", + "status": "success", + "path": "en/api/typescript/messages/batches/cancel.md", + "sha256": "a9b39fec2334f9cf14a3a68dff436006b889ecaf9b3f5b4d9252276422e8af90", + "size": 3949 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches/delete", + "status": "success", + "path": "en/api/typescript/messages/batches/delete.md", + "sha256": "119dfb75f469b9c2cf2b1c924b24d6b43af84ee6866f37933da5eaaad9da2159", + "size": 1107 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/messages/batches/results", + "status": "success", + "path": "en/api/typescript/messages/batches/results.md", + "sha256": "8f791f32f30210d8376084213d5bbe0bc1fcdbad336040175eaa843fc121841f", + "size": 26232 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/models", + "status": "success", + "path": "en/api/typescript/models.md", + "sha256": "9e44983edc64ba97fb3660fc047a9393f6026ed4dcb1f3b660f967041eb1ac96", + "size": 23107 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/models/list", + "status": "success", + "path": "en/api/typescript/models/list.md", + "sha256": "8fd952bf67aca35ce174d4bfe65ba537b2b31450172392029505380af16aa56f", + "size": 6434 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/models/retrieve", + "status": "success", + "path": "en/api/typescript/models/retrieve.md", + "sha256": "ed5c9820efb5d1dd6b82aa1e38afca04024c8f6ea72fda4d7ce6dc86c06e9e8c", + "size": 5976 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta", + "status": "success", + "path": "en/api/typescript/beta.md", + "sha256": "58070a55a1c584b2663367e0bc6a68f26d5dd95d4e6e068386cec7f02ad2e3c4", + "size": 1095028 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/models", + "status": "success", + "path": "en/api/typescript/beta/models.md", + "sha256": "581ad656040bccc365cc2432176952d66d6d5420c672496a84ed5cad77375c91", + "size": 23586 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/models/list", + "status": "success", + "path": "en/api/typescript/beta/models/list.md", + "sha256": "7a7073d079a00741fb009bb8af37b88adc5327b01ba321a2c1bb4849b7e5adb1", + "size": 6540 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/models/retrieve", + "status": "success", + "path": "en/api/typescript/beta/models/retrieve.md", + "sha256": "687864a0e2ec11bc79eb8160f825cc4a2b4c0d1ddb35f34ebbdd6a2d8a450766", + "size": 6082 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages", + "status": "success", + "path": "en/api/typescript/beta/messages.md", + "sha256": "7922e00b2b3c85ba225ac526ffa449e7170e5764d37a35147e9014290e61e5a4", + "size": 1034374 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/create", + "status": "success", + "path": "en/api/typescript/beta/messages/create.md", + "sha256": "62fd353e68a500463525072b9b293a9e43620fdeb0e8fe0ab93d5ff58046ed4f", + "size": 151576 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/count_tokens", + "status": "success", + "path": "en/api/typescript/beta/messages/count_tokens.md", + "sha256": "bfe5e89c2643280b43afcbf29940c97f183b27cbbf167d2385a1f847b8615c32", + "size": 114708 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches", + "status": "success", + "path": "en/api/typescript/beta/messages/batches.md", + "sha256": "75bb3709d44577508e7d2faccee907eee686bea42f1e934e0ff46c42d1741fcc", + "size": 285468 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches/create", + "status": "success", + "path": "en/api/typescript/beta/messages/batches/create.md", + "sha256": "12dbdb67bce570aed2c1692c090f8bd110462e2ce6417def77030215e5b9c245", + "size": 131075 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/typescript/beta/messages/batches/retrieve.md", + "sha256": "d2e0e10a8cc340a550a1ac8b19466a633d1b4dc956252c4921d39aaf7e54f2b2", + "size": 4735 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches/list", + "status": "success", + "path": "en/api/typescript/beta/messages/batches/list.md", + "sha256": "a98b63290ad12c3baac4dff67311296ddc41aff0edfba6b95ea26cdbb1cc7486", + "size": 5056 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/typescript/beta/messages/batches/cancel.md", + "sha256": "e6f93dcdfba17df08cb709ec5825632a0382b1c1fd54fe61ab5fdfcd2722c6a4", + "size": 5043 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches/delete", + "status": "success", + "path": "en/api/typescript/beta/messages/batches/delete.md", + "sha256": "fdffeb516753cdf7732dfd6064f17ae282bff078a84ce895fd693bbec48f3a1f", + "size": 2197 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/messages/batches/results", + "status": "success", + "path": "en/api/typescript/beta/messages/batches/results.md", + "sha256": "b0f7d71a3909fadc6de681ac13e161b564b5e2e7f1def146c7e29d3b147db768", + "size": 36147 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/files", + "status": "success", + "path": "en/api/typescript/beta/files.md", + "sha256": "6579b22f3e20de06d27770a6e67283ef56d661e53adad0aaad3fd852bb2ecf87", + "size": 11177 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/files/upload", + "status": "success", + "path": "en/api/typescript/beta/files/upload.md", + "sha256": "73e35ea7715295fdda615959d816c036603b1305ed6f000baebc9b8858fd7657", + "size": 2169 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/files/list", + "status": "success", + "path": "en/api/typescript/beta/files/list.md", + "sha256": "3d856d23e85a610a6005e936d9ba7dd013dddbdd7676e2dc2772d9acb27eb3ec", + "size": 2583 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/files/download", + "status": "success", + "path": "en/api/typescript/beta/files/download.md", + "sha256": "60d77c77456c4f116ee97ce4afc5f90bba0200e78203ac1efa7555020b81ff79", + "size": 1657 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/typescript/beta/files/retrieve_metadata.md", + "sha256": "d34b61c5b1b8e7a7f83de93a3019cb0b03cc1eb2e48b971f14938d3c34e0806d", + "size": 2179 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/files/delete", + "status": "success", + "path": "en/api/typescript/beta/files/delete.md", + "sha256": "705952ef0428ee3107f6efa392174e45407289030e66f482e22185f220f3a7e3", + "size": 1757 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills", + "status": "success", + "path": "en/api/typescript/beta/skills.md", + "sha256": "694095920dfa828be48ee85f5d39132e79ed9786df9ce43c3f5b487a65a50223", + "size": 21252 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/create", + "status": "success", + "path": "en/api/typescript/beta/skills/create.md", + "sha256": "17b3b4c44418f47775bd8e8cca04b78911c43acc74b929f2441d4cdaf3fcfa34", + "size": 2793 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/list", + "status": "success", + "path": "en/api/typescript/beta/skills/list.md", + "sha256": "91fd7284ca7f476477251221ae174b1ee39abb6661150652963ebfa6cfe878a4", + "size": 3070 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/retrieve", + "status": "success", + "path": "en/api/typescript/beta/skills/retrieve.md", + "sha256": "119e21c811f2b162d60a40bb260a3dcc8dde591de407879aa26bb537f6e8afe1", + "size": 2556 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/delete", + "status": "success", + "path": "en/api/typescript/beta/skills/delete.md", + "sha256": "e5e3761ea41b5cb8224442524852b7b1131800da0460572a23258224e40d53df", + "size": 1868 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/versions", + "status": "success", + "path": "en/api/typescript/beta/skills/versions.md", + "sha256": "0066e97a508f5ca2a2131b52a5e5dcd4e80b4ec2859c22dfcf1855c7a565b724", + "size": 10951 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/versions/create", + "status": "success", + "path": "en/api/typescript/beta/skills/versions/create.md", + "sha256": "4344a164581d53cad534c466a9a6e3172c172802edcc3ae2dd55baf30c74f333", + "size": 2883 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/versions/list", + "status": "success", + "path": "en/api/typescript/beta/skills/versions/list.md", + "sha256": "aaafe9fa4ad9705751363159fab00f7e470fcc0fbc8c9b1e7935b4aea843436e", + "size": 3001 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/typescript/beta/skills/versions/retrieve.md", + "sha256": "137a4b13ebb5330da7b22cc3334734b0aa6d33a15ee5dfe150d14803157cb4fc", + "size": 2881 + }, + { + "url": "https://platform.claude.com/docs/en/api/typescript/beta/skills/versions/delete", + "status": "success", + "path": "en/api/typescript/beta/skills/versions/delete.md", + "sha256": "308612f48d9b50edddc0612f2c438a8349c13cf6d094256d3a6ce9c7c068eefb", + "size": 2171 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/completions", + "status": "success", + "path": "en/api/python/completions.md", + "sha256": "f49d56a90ff1e67b5cf13d4ca0c515caa39c507438221b496cb919b550a04f78", + "size": 15378 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/completions/create", + "status": "success", + "path": "en/api/python/completions/create.md", + "sha256": "1b3162653890d5dd905db2d08fad013a4f1f0c522dbb7a3c07db6dbeaa0f633e", + "size": 11501 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages", + "status": "success", + "path": "en/api/python/messages.md", + "sha256": "88cc0c316d9687704e7465461492e54dd0e56dd992f90785b5380128ceeefb27", + "size": 861016 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/create", + "status": "success", + "path": "en/api/python/messages/create.md", + "sha256": "34a8d5aae81659b9f944c7ec8dc21b5745c08bd7d890dd43184ff584bae6d145", + "size": 118784 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/count_tokens", + "status": "success", + "path": "en/api/python/messages/count_tokens.md", + "sha256": "6bb99cfc051c268b3bcfd5362c9016559b6201123e49d1434abd74e3312e226d", + "size": 93904 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches", + "status": "success", + "path": "en/api/python/messages/batches.md", + "sha256": "286719c2b103d142f2a4498cb48cddee7385693b0a61e634473659c2759c5fac", + "size": 230903 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches/create", + "status": "success", + "path": "en/api/python/messages/batches/create.md", + "sha256": "53b1beda789827ab4de40acd75dd63cacfbf5f1d18649ad422500580e2c6ec98", + "size": 108477 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches/retrieve", + "status": "success", + "path": "en/api/python/messages/batches/retrieve.md", + "sha256": "0d277d480739f911ab4376e600949bf82f01633bc39154d07f28846a77d72010", + "size": 3609 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches/list", + "status": "success", + "path": "en/api/python/messages/batches/list.md", + "sha256": "6de85ce7f5d2a44c1d8e815a67e552cc88ce58aea737221c67e614905d46ebc9", + "size": 3857 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches/cancel", + "status": "success", + "path": "en/api/python/messages/batches/cancel.md", + "sha256": "17492c90948f23ad1f8ad17d33ab20e32d1bf14c9b65da102827a8e31ce7f79c", + "size": 3921 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches/delete", + "status": "success", + "path": "en/api/python/messages/batches/delete.md", + "sha256": "74cd4bbe006b91b26d57aac7a654f489294abe32b24f440a8465c45cb3977acf", + "size": 1070 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/messages/batches/results", + "status": "success", + "path": "en/api/python/messages/batches/results.md", + "sha256": "937aa4cce57fc08bddac93bc3b244bbe57fa3989fa9786dd0e8d14e1fcf52af3", + "size": 28193 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/models", + "status": "success", + "path": "en/api/python/models.md", + "sha256": "f3f85ab4c9a9d1ec75209d0d3539bd45c0c06cf7d4adb069cfa5df7225c77481", + "size": 22671 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/models/list", + "status": "success", + "path": "en/api/python/models/list.md", + "sha256": "ddeab3a0eb1655cde175dc2261b25e2b3751a0b8a087baa9a9685307b47fee98", + "size": 6185 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/models/retrieve", + "status": "success", + "path": "en/api/python/models/retrieve.md", + "sha256": "4c6ea69df924e00caf36d9e97b89d6ca44e7cfab492473075f6673fdcb958dde", + "size": 5830 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta", + "status": "success", + "path": "en/api/python/beta.md", + "sha256": "79ef0c88e320ea65c2cfb54f570aac80dac8db76d8b9cd00b98a65892f32bf18", + "size": 1115838 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/models", + "status": "success", + "path": "en/api/python/beta/models.md", + "sha256": "45a22661e913b573675d1fdf7592446a3d035be4b3cd6c1d3152047ce716b911", + "size": 23144 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/models/list", + "status": "success", + "path": "en/api/python/beta/models/list.md", + "sha256": "e6f434b090158a83a7d9f12d05ed702aa391d1e35f656f4424548be81e041998", + "size": 6283 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/models/retrieve", + "status": "success", + "path": "en/api/python/beta/models/retrieve.md", + "sha256": "60c568e389987ee520428c78002a4b67718a45fae4b7c6df01f06d4564b037a5", + "size": 5938 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages", + "status": "success", + "path": "en/api/python/beta/messages.md", + "sha256": "53f517e4916e25d66e3791a778029c0ad3dcd6d337398732e06a893125c0474a", + "size": 1057333 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/create", + "status": "success", + "path": "en/api/python/beta/messages/create.md", + "sha256": "4c238e92d9afb6d65528fb432c523dc004fc259e6b15117bfe476b58340d5b68", + "size": 148270 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/count_tokens", + "status": "success", + "path": "en/api/python/beta/messages/count_tokens.md", + "sha256": "128a3f5b2dd8692f1e6799bb7fca95b0377606eb40651fa47ef816ca1614e8f7", + "size": 115205 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches", + "status": "success", + "path": "en/api/python/beta/messages/batches.md", + "sha256": "841fedd3a5efb07841e6c3fc59fa26ed57ca914f91bb7b7eff7a3166e1da04cb", + "size": 293971 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches/create", + "status": "success", + "path": "en/api/python/beta/messages/batches/create.md", + "sha256": "3143e4dc5364c7127d3e1cc7430a6e7a67e3e128bf23f8df23dcbf58bd901e3c", + "size": 131873 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/python/beta/messages/batches/retrieve.md", + "sha256": "517fe145d3b675f2a9da5c371e5205e9b71b8aa82a84bf47a1512a2ba9802817", + "size": 4655 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches/list", + "status": "success", + "path": "en/api/python/beta/messages/batches/list.md", + "sha256": "682721dd9d7a7c59ba96c9479ed0abe07d89f176dd05cf757dd7c2bba0ef3c9b", + "size": 4847 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/python/beta/messages/batches/cancel.md", + "sha256": "f8a3faa297ffd83bb6b9fae7511f5d8d40605ea581ef67a84fac74d39ed929af", + "size": 4965 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches/delete", + "status": "success", + "path": "en/api/python/beta/messages/batches/delete.md", + "sha256": "87ed4d808ec63aadf02bcc88172f5099ead759ec4309ff293ede258daf73c1b9", + "size": 2110 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/messages/batches/results", + "status": "success", + "path": "en/api/python/beta/messages/batches/results.md", + "sha256": "a91e17e2c621e58d0e8bb7da047f0501c96a29484d0ebd8cd7713a3436487c6a", + "size": 38073 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/files", + "status": "success", + "path": "en/api/python/beta/files.md", + "sha256": "22d70cc1403db65e8d88477c3eac64c5d599099730c466644cb1462b1178c59c", + "size": 10508 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/files/upload", + "status": "success", + "path": "en/api/python/beta/files/upload.md", + "sha256": "b6858e7075e7e20da48f4aa7e32b2ec79f143bb0e8b06ddeaa06879017819dfe", + "size": 2008 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/files/list", + "status": "success", + "path": "en/api/python/beta/files/list.md", + "sha256": "1dade284d5f61b9fb03f5eaee7da5b398031d23dd14cec10f0d4514f58f05ad8", + "size": 2371 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/files/download", + "status": "success", + "path": "en/api/python/beta/files/download.md", + "sha256": "f13ade7f31feccf801ecf8b6e3c82e32594a721a8695f04fa7243ee93270335c", + "size": 1521 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/python/beta/files/retrieve_metadata.md", + "sha256": "f2156364b20ace90abc587cb36ebc79be14d4c5285026e724ebe1a92ae8cee41", + "size": 2069 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/files/delete", + "status": "success", + "path": "en/api/python/beta/files/delete.md", + "sha256": "0baf48e9206afbc6107627305a6aec1f7b0e1c85d41f196f2b9b10fc53dc00b3", + "size": 1665 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills", + "status": "success", + "path": "en/api/python/beta/skills.md", + "sha256": "6e4fe3ef826b396eb367e12aae76d2202a8d7616073ad266f626c5ce03de261b", + "size": 19833 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/create", + "status": "success", + "path": "en/api/python/beta/skills/create.md", + "sha256": "46c6d5b36bd7fb7ed92599fa60d1633bd6a47e7e5b4bf571ab6c47372978f3ea", + "size": 2616 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/list", + "status": "success", + "path": "en/api/python/beta/skills/list.md", + "sha256": "15c42c4aa221b11cfc4ec3de2a14486e77856c48d2b471e64152628487ebe002", + "size": 2805 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/retrieve", + "status": "success", + "path": "en/api/python/beta/skills/retrieve.md", + "sha256": "dccbb734cd635e0861a7562d09e5f64842c95e083b06bb9ab68bbde828bc3a56", + "size": 2430 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/delete", + "status": "success", + "path": "en/api/python/beta/skills/delete.md", + "sha256": "2bf37319aa595faae4d32231ff8cf5225d2ac16a75d4bd6ebd154097478914b9", + "size": 1753 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/versions", + "status": "success", + "path": "en/api/python/beta/skills/versions.md", + "sha256": "4f6c900c7d325c5c5ecd053db936bac75399bd37b83046c1c1bd68b4e3a9125e", + "size": 10215 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/versions/create", + "status": "success", + "path": "en/api/python/beta/skills/versions/create.md", + "sha256": "ccdf0f1e81c9705884bc06c8e3af5072f96a7492b0c51dc035e02d764269c72a", + "size": 2726 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/versions/list", + "status": "success", + "path": "en/api/python/beta/skills/versions/list.md", + "sha256": "75ea599e613466767825e6a66dbc5f9669d17bb0f747e486c2de3540160d32df", + "size": 2752 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/python/beta/skills/versions/retrieve.md", + "sha256": "562212d728e6109d9ae7ce5d4a3fb6520f15f0a43df323128c7997fa8d6f2366", + "size": 2706 + }, + { + "url": "https://platform.claude.com/docs/en/api/python/beta/skills/versions/delete", + "status": "success", + "path": "en/api/python/beta/skills/versions/delete.md", + "sha256": "ea4b6f8f13759793a9531e55f237605278c6648312e3e8aef335145111c70d34", + "size": 2016 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/completions", + "status": "success", + "path": "en/api/java/completions.md", + "sha256": "84d724d36e120d66010788ca012199c7b9dc8127620e15454181d198092a2b95", + "size": 10343 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/completions/create", + "status": "success", + "path": "en/api/java/completions/create.md", + "sha256": "cdf7c4fc5fd4acf83fc79a889ded912274b1f5a851fd0e6409d0e0aee4300880", + "size": 7788 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages", + "status": "success", + "path": "en/api/java/messages.md", + "sha256": "747a9514f290a89e38829bea1e836dbc73515f465632ec3e7313e423b4e57ecf", + "size": 912525 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/create", + "status": "success", + "path": "en/api/java/messages/create.md", + "sha256": "41d3ba35256fac19913068a360e89749b72154dc287dff0e547be2d7161535f5", + "size": 121957 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/count_tokens", + "status": "success", + "path": "en/api/java/messages/count_tokens.md", + "sha256": "68be31a803aeae8d38432220628051f2e65a94c8d0acc9dbf1ccfce04b9053cd", + "size": 96644 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches", + "status": "success", + "path": "en/api/java/messages/batches.md", + "sha256": "f8d4b3c6ada759057c8d8fc2e80cc44e10eb0593934fc5a81603d80963552bc9", + "size": 245838 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches/create", + "status": "success", + "path": "en/api/java/messages/batches/create.md", + "sha256": "ce5d431a1bfc2b02bd617b110554e29d414eaffa91725f9338788a3f97e69e36", + "size": 116529 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches/retrieve", + "status": "success", + "path": "en/api/java/messages/batches/retrieve.md", + "sha256": "31ef3a6186ee81e8555c194abe39c78c319e393924dbe81bfe547c07af936232", + "size": 4046 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches/list", + "status": "success", + "path": "en/api/java/messages/batches/list.md", + "sha256": "4c72371fbbc0ea3a4862f11ad8557966466adb6dd7385e02e0f6740e0bae0e0e", + "size": 4266 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches/cancel", + "status": "success", + "path": "en/api/java/messages/batches/cancel.md", + "sha256": "1839e1ce519275e06452a811f7eb16628dba51fee26deb770677aa8894b7a5b3", + "size": 4350 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches/delete", + "status": "success", + "path": "en/api/java/messages/batches/delete.md", + "sha256": "e0b8f507d75c528ba15e08056989139d14e0f70172ce518ec9105b5a2cfbb48d", + "size": 1498 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/messages/batches/results", + "status": "success", + "path": "en/api/java/messages/batches/results.md", + "sha256": "ff9212eb1afddd2de299b3b0c4f53239f60f3afda9a216938539ad4ee04767c3", + "size": 29835 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/models", + "status": "success", + "path": "en/api/java/models.md", + "sha256": "e588256f0bb955423debfe433b030a54727fdefdb14dca96b07bbfd2cc75344f", + "size": 24242 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/models/list", + "status": "success", + "path": "en/api/java/models/list.md", + "sha256": "52111c6539173c96a522bee04854c6283bbff151b3c0bf5b287d574affc9df30", + "size": 6967 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/models/retrieve", + "status": "success", + "path": "en/api/java/models/retrieve.md", + "sha256": "dae6568f1fbc407d34dcc0005e48a45f260b9792333d09f0ea8a70549df135d7", + "size": 6605 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta", + "status": "success", + "path": "en/api/java/beta.md", + "sha256": "368a02873ba587bc74c0257ea247a3a31c56084cc6c3302213e25dfdd7ca4a92", + "size": 1182587 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/models", + "status": "success", + "path": "en/api/java/beta/models.md", + "sha256": "15ff4e736e6f066c8108f4e1a0f2efccdff6c9f6a6b5c7d67e75f7460116eb9d", + "size": 24741 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/models/list", + "status": "success", + "path": "en/api/java/beta/models/list.md", + "sha256": "8cfe02cdc4aa41c7c5b5cd19c925078906bb6cb77c486432f5c5b6ad6c9dbf79", + "size": 7075 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/models/retrieve", + "status": "success", + "path": "en/api/java/beta/models/retrieve.md", + "sha256": "730be50928f50899594ffd2758531aa5b908279d418ae661f489edf564ab8c53", + "size": 6729 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages", + "status": "success", + "path": "en/api/java/beta/messages.md", + "sha256": "79997530aea901cfe0dec04ce8949222507e527c761c108e4411ce615b1cb1be", + "size": 1112100 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/create", + "status": "success", + "path": "en/api/java/beta/messages/create.md", + "sha256": "2efdddf77cccccd1942d4b3d1950d43c4165ed35de1ae8cf6a6f9a5990f7fa94", + "size": 150284 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/count_tokens", + "status": "success", + "path": "en/api/java/beta/messages/count_tokens.md", + "sha256": "d18e6aa139d6c7cb5c0618d86b7413b02cf668b1eef12b6e3f3b6805c23fe3d8", + "size": 116695 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches", + "status": "success", + "path": "en/api/java/beta/messages/batches.md", + "sha256": "dea11cfd8b7e88c02307e29a7d5eb9b6d9f7bbc53398453d638b722ab278af68", + "size": 313026 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/create", + "status": "success", + "path": "en/api/java/beta/messages/batches/create.md", + "sha256": "fd23f0e51caca30f5053ab1ab5b27becfbff6050def9560d5c5717df6cd9e63d", + "size": 141874 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/java/beta/messages/batches/retrieve.md", + "sha256": "457213a5bd13bcc87492f63527d80184a25e23a8126d74aa180e45bc09455fa6", + "size": 5472 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/list", + "status": "success", + "path": "en/api/java/beta/messages/batches/list.md", + "sha256": "5e575cd0c298976fc45aec2f4e2c48af016ef2c404035dc72ad272951ede5c14", + "size": 5676 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/java/beta/messages/batches/cancel.md", + "sha256": "e9e6cdc79acb653bd0d6401e5729dc592638365ee12d44659990ffb3cf9c561a", + "size": 5776 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/delete", + "status": "success", + "path": "en/api/java/beta/messages/batches/delete.md", + "sha256": "0473be596c2a09d206879ccebabce2891b98d1928c6464fe42f1d3d74e357967", + "size": 2920 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/messages/batches/results", + "status": "success", + "path": "en/api/java/beta/messages/batches/results.md", + "sha256": "69a1c373e806d31d7684171288ac7c2639b75bbee94cacfab876f48537cec5f1", + "size": 40160 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/files", + "status": "success", + "path": "en/api/java/beta/files.md", + "sha256": "7eca26b694f48e31b174d4d035661b8e204e7dd2bf16466711292677dff07e7a", + "size": 14485 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/files/upload", + "status": "success", + "path": "en/api/java/beta/files/upload.md", + "sha256": "af127d32eb04a46b6b6cd37649d0acb4df4c01636f1538a8b374f949374212a7", + "size": 2943 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/files/list", + "status": "success", + "path": "en/api/java/beta/files/list.md", + "sha256": "9a473bdf199a34f81e1f7829045a390c2936ec15a15ea2af5d27d631686532ee", + "size": 3156 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/files/download", + "status": "success", + "path": "en/api/java/beta/files/download.md", + "sha256": "614868da40b532cd927f3c77811f07bf305267b840240224f695788d5dbd1e3f", + "size": 2201 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/java/beta/files/retrieve_metadata.md", + "sha256": "b04c2f9fa687e364629d2ac30543bfea4d605383ad62913538fb2b65b8995f49", + "size": 2880 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/files/delete", + "status": "success", + "path": "en/api/java/beta/files/delete.md", + "sha256": "8430685dcdd72fd0a5198eee1171641286e42b6fc14a034785cf6803c1a757b9", + "size": 2419 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills", + "status": "success", + "path": "en/api/java/beta/skills.md", + "sha256": "d64c0b11849cecdb6cd4a6d3c865e1aff52ae341a34bae7962896a2c2dd71ab7", + "size": 26506 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/create", + "status": "success", + "path": "en/api/java/beta/skills/create.md", + "sha256": "ecb72ab8e4feee0f7c981a3f1c91267b2a37c6d59f81f7eb9d5232db11c09189", + "size": 3424 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/list", + "status": "success", + "path": "en/api/java/beta/skills/list.md", + "sha256": "f079765adb2ce48e3089b84d5d2b57384a251a2076966cdf2a7c5a4ae7133206", + "size": 3583 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/retrieve", + "status": "success", + "path": "en/api/java/beta/skills/retrieve.md", + "sha256": "41ce54ad4daf4326dfb0dd0cb63852cb9349cbff7a6ae9f575219b6fa6e76199", + "size": 3237 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/delete", + "status": "success", + "path": "en/api/java/beta/skills/delete.md", + "sha256": "07206f72b310c0d18293b7a694d46ef80679d9afc37f47967537c4c4e13c9c07", + "size": 2544 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions", + "status": "success", + "path": "en/api/java/beta/skills/versions.md", + "sha256": "928697c1de24023c880720413d5ff8f861c0a66d7a5c4441fe2da542d1cec9c5", + "size": 13704 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/create", + "status": "success", + "path": "en/api/java/beta/skills/versions/create.md", + "sha256": "9739c6e7461cf9293465ce937833437f89273d56166d632717c510bc367182d7", + "size": 3549 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/list", + "status": "success", + "path": "en/api/java/beta/skills/versions/list.md", + "sha256": "4aa5dd395266ae9bab0e7b0be64bdf6c3c09fa82c6e6efb4a58802923499c868", + "size": 3540 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/java/beta/skills/versions/retrieve.md", + "sha256": "1f974142eba3cf3e735f905ac7dbb1d52a10099553f00ada57d304b28a84f28e", + "size": 3656 + }, + { + "url": "https://platform.claude.com/docs/en/api/java/beta/skills/versions/delete", + "status": "success", + "path": "en/api/java/beta/skills/versions/delete.md", + "sha256": "84ee1e26050025a84d5a31d60f5313be1ea1cd1882b6c5ba3e831c9c5be469d2", + "size": 2944 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/completions", + "status": "success", + "path": "en/api/go/completions.md", + "sha256": "739d469da5805170bfe873c8b3525471a08e47630b60571fd924fd0955424a83", + "size": 11967 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/completions/create", + "status": "success", + "path": "en/api/go/completions/create.md", + "sha256": "9182b4296dd148bf2dedaea38a9368b9b49db3f8104cced0ebcf09e7d94a6882", + "size": 8903 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages", + "status": "success", + "path": "en/api/go/messages.md", + "sha256": "bb8ee5cf99fb9807c6aff57331827ba42315f4dd3d7fcc365d1edbe2b95d4366", + "size": 1089040 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/create", + "status": "success", + "path": "en/api/go/messages/create.md", + "sha256": "a0571b595c14ccc350bf8143fbf3ee10e44608a5703ed73345153ea9f5fb8b4b", + "size": 143537 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/count_tokens", + "status": "success", + "path": "en/api/go/messages/count_tokens.md", + "sha256": "4b76269bb382fbcd104dbf6b790322d2a57e5613a3366abd74928354fbcbf166", + "size": 112866 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches", + "status": "success", + "path": "en/api/go/messages/batches.md", + "sha256": "2084f5e59363711e94b8d606fbc8e69745f7fa0dd95fbd29348c3f6f46803d80", + "size": 284837 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches/create", + "status": "success", + "path": "en/api/go/messages/batches/create.md", + "sha256": "153e429cc0b36233463a249933b61a33fe1a89e705c5c38c34aba0851fe7fa50", + "size": 133943 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches/retrieve", + "status": "success", + "path": "en/api/go/messages/batches/retrieve.md", + "sha256": "bdc366efbc71476c7dc058e4d19442d5db0216f412475fee3101f3ed5884a943", + "size": 3946 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches/list", + "status": "success", + "path": "en/api/go/messages/batches/list.md", + "sha256": "13803b84761d4e03026bfa836b268d1f58ebf2708efa4815f72c762dd11cb110", + "size": 4271 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches/cancel", + "status": "success", + "path": "en/api/go/messages/batches/cancel.md", + "sha256": "6a096b0fc9b9b960628e7930aa2196cb7b7145e55a77b008a554f0c28afc1358", + "size": 4268 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches/delete", + "status": "success", + "path": "en/api/go/messages/batches/delete.md", + "sha256": "646f74b47911415e5bf68f98faf63b3195123369f63ff9ea9d47029de680a535", + "size": 1298 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/messages/batches/results", + "status": "success", + "path": "en/api/go/messages/batches/results.md", + "sha256": "308abd687b70832d50a85d1bef35d71e13a19b6046fe9560fb036a715016f7f2", + "size": 35063 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/models", + "status": "success", + "path": "en/api/go/models.md", + "sha256": "1562870227269b6fe85d76dad680e87a6ef4660e4a362830015e4237a36ce98e", + "size": 25042 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/models/list", + "status": "success", + "path": "en/api/go/models/list.md", + "sha256": "2440ffab41403c7ca1fb137c9378f887c0342eca1215f474e300760f2751a881", + "size": 7505 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/models/retrieve", + "status": "success", + "path": "en/api/go/models/retrieve.md", + "sha256": "6db9ea460581229c664f095840b08385262fc297805e38025050f7bfd6d83311", + "size": 7080 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta", + "status": "success", + "path": "en/api/go/beta.md", + "sha256": "737d69185191ae30890384bb2c45897fb33e205a3d117f39cf56d5c2bbf36133", + "size": 1415477 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/models", + "status": "success", + "path": "en/api/go/beta/models.md", + "sha256": "a50d5023070b835e8df218f44b40a5f9b688c0304c9620ce11e2ac88e44fdc81", + "size": 25529 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/models/list", + "status": "success", + "path": "en/api/go/beta/models/list.md", + "sha256": "dea5f9010f1eca33350e0d51f7b7e3cbdf6c1a458913b72f72d645ef7403b766", + "size": 7611 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/models/retrieve", + "status": "success", + "path": "en/api/go/beta/models/retrieve.md", + "sha256": "42f040b9e2f6a5c86f33781edcb3987f20ff0f9a50801843557e7ca43800107c", + "size": 7194 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages", + "status": "success", + "path": "en/api/go/beta/messages.md", + "sha256": "d195645a62035c755da984f5dd81b661567e1af98eb8c84baaaa600b38b21547", + "size": 1333863 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/create", + "status": "success", + "path": "en/api/go/beta/messages/create.md", + "sha256": "a36eeff9511081991c53ae398ba861dc5ef9fdc347574b2e1adc7ffc96f69d08", + "size": 179265 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/count_tokens", + "status": "success", + "path": "en/api/go/beta/messages/count_tokens.md", + "sha256": "9b72fc492e1bd39ea9b7672d5abfb1fdd1549cdded204d2f17f958d7d7ca8db2", + "size": 138989 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches", + "status": "success", + "path": "en/api/go/beta/messages/batches.md", + "sha256": "98b6dae9a1fa8dbf1f51d92fc4d581ee46b33a23833843c67dc86ea18cbbff58", + "size": 367171 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches/create", + "status": "success", + "path": "en/api/go/beta/messages/batches/create.md", + "sha256": "3becffce9acf2010b7b1840dc76a27a6b74a2536a7b38bfdaffba3180637c3b5", + "size": 165658 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/go/beta/messages/batches/retrieve.md", + "sha256": "12c715fbd1e55f9d7c201487c56ad7ab4f537f964d3d3025a88d39a63a5e8f3e", + "size": 6215 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches/list", + "status": "success", + "path": "en/api/go/beta/messages/batches/list.md", + "sha256": "712b2315361d7270bcd4ccc65bbbb54fbace38f3837f78c6b8c5fce40172dd65", + "size": 6489 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/go/beta/messages/batches/cancel.md", + "sha256": "c542c2fcb3de87bb579afe478c38a09e8f9f70071ec2e5279b39f3f2c70c2954", + "size": 6541 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches/delete", + "status": "success", + "path": "en/api/go/beta/messages/batches/delete.md", + "sha256": "38a178b87e85de7c60579edfcd80cd522afea0d48deb7c86e001995a5c21ab40", + "size": 3539 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/messages/batches/results", + "status": "success", + "path": "en/api/go/beta/messages/batches/results.md", + "sha256": "664fd4800dab6e7ba276b0a0f4fbb1a42dc3a04a08ed176aee3ab3a65db94743", + "size": 47357 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/files", + "status": "success", + "path": "en/api/go/beta/files.md", + "sha256": "5de0ea755b6fe81075a4938dae51ec3ee4eec9a68e9c81c2777099cb54c3ebf9", + "size": 17553 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/files/upload", + "status": "success", + "path": "en/api/go/beta/files/upload.md", + "sha256": "4f7828315169be62371563fb5cb41456e9d4b73b56c412aaa443610a48ec3727", + "size": 3471 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/files/list", + "status": "success", + "path": "en/api/go/beta/files/list.md", + "sha256": "52bc49ff5a03dfbd104e3d81f02c3c1f26a604d253d1d1fe6550b8c30889b52c", + "size": 3796 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/files/download", + "status": "success", + "path": "en/api/go/beta/files/download.md", + "sha256": "010f558f73e51105738bfce9dfeeaead48b27bb2a42713bf1052af18e2c90fd4", + "size": 2864 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/go/beta/files/retrieve_metadata.md", + "sha256": "f15629b1117140d563e88f46bc943b5ccec357ce6cae404174df64a500dedbbb", + "size": 3431 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/files/delete", + "status": "success", + "path": "en/api/go/beta/files/delete.md", + "sha256": "863e79c31ac476a644d3b7d4117b01f9424f6d821f3eeb4e86320c976d605b2c", + "size": 3073 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills", + "status": "success", + "path": "en/api/go/beta/skills.md", + "sha256": "a022ed1c2050f82efafc982cf0753ed9ba1e78dfa3f9e73311b39246b0265a7a", + "size": 31189 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/create", + "status": "success", + "path": "en/api/go/beta/skills/create.md", + "sha256": "8143ca5e7fe8aed6c62cfc6d0bbd1d42e8382ed5e66b00d144da0e9bfe1de21b", + "size": 4013 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/list", + "status": "success", + "path": "en/api/go/beta/skills/list.md", + "sha256": "fb545c84c6d48e96157f445d6725d4be947a9ebf884cf9af3c7348229f839191", + "size": 4241 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/retrieve", + "status": "success", + "path": "en/api/go/beta/skills/retrieve.md", + "sha256": "2dbe925200056ea666f8ce71425a7c6f01e4fdd0903115de36d66a66789c45e2", + "size": 3778 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/delete", + "status": "success", + "path": "en/api/go/beta/skills/delete.md", + "sha256": "a3938ea406aa531b087465253884f98b93a540f088ca51963344842bd15e92e7", + "size": 3141 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/versions", + "status": "success", + "path": "en/api/go/beta/skills/versions.md", + "sha256": "f247f1559eef34bc114a3833bae3b2d89cfb850cfc30191e6ce2307078ad9fd1", + "size": 16002 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/versions/create", + "status": "success", + "path": "en/api/go/beta/skills/versions/create.md", + "sha256": "a87dff03eccb16cdfe5155ad2be0ddff0237cd2441977daab491000a192ab3f5", + "size": 4149 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/versions/list", + "status": "success", + "path": "en/api/go/beta/skills/versions/list.md", + "sha256": "f13966d2a4b6122388e146aba635f82249aeb6b0a9282eb12bf141f7e64852ec", + "size": 4206 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/go/beta/skills/versions/retrieve.md", + "sha256": "d5080978262a65eb1c76e45a1d278fa0316837c480a888d89e895735d5eee082", + "size": 4152 + }, + { + "url": "https://platform.claude.com/docs/en/api/go/beta/skills/versions/delete", + "status": "success", + "path": "en/api/go/beta/skills/versions/delete.md", + "sha256": "5b4e9c5f3d91fe65528864c6ddeb5a30c4dada8c537fdcd7ee48cef27ef761ec", + "size": 3480 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/completions", + "status": "success", + "path": "en/api/ruby/completions.md", + "sha256": "877ad34c8b9cfed46d181955fe9b47a745146570b6ff0339fe657529733bfdaf", + "size": 11174 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/completions/create", + "status": "success", + "path": "en/api/ruby/completions/create.md", + "sha256": "8739affa3159320ce08b64e0497500a789c8b8632fa987700dc348b394015604", + "size": 8651 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages", + "status": "success", + "path": "en/api/ruby/messages.md", + "sha256": "6bbac70d17c13f5d5c40635b7766fdf10e19af06f357021957fbd4e888b6877e", + "size": 812658 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/create", + "status": "success", + "path": "en/api/ruby/messages/create.md", + "sha256": "edac4b3d7eca5496d38f319461e100ce2c6340c29dfaaf80df01b2c8fb53db80", + "size": 111211 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/count_tokens", + "status": "success", + "path": "en/api/ruby/messages/count_tokens.md", + "sha256": "454842e7ead1f964d612d3881b4a12119966ce2171cdeac02b128c7bb9ace1e5", + "size": 88135 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches", + "status": "success", + "path": "en/api/ruby/messages/batches.md", + "sha256": "e156df051da8f0133158e0e943a1dc62aa781b8ebed0f4e22926bb10c1faf477", + "size": 216541 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches/create", + "status": "success", + "path": "en/api/ruby/messages/batches/create.md", + "sha256": "52a683406a3a58d90729c58129188755f6d73e85af6ad9af7188229826135f94", + "size": 102465 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches/retrieve", + "status": "success", + "path": "en/api/ruby/messages/batches/retrieve.md", + "sha256": "2792a2109abb099151501bf269e767895dc3e80e1d8a8362cb73367ee34b6948", + "size": 3469 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches/list", + "status": "success", + "path": "en/api/ruby/messages/batches/list.md", + "sha256": "a51fbb8269d344d6ddcf0f92c4b2a5849e94a4fde37714cf83fc7a5254262e61", + "size": 3663 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches/cancel", + "status": "success", + "path": "en/api/ruby/messages/batches/cancel.md", + "sha256": "c95b6e6aab5e4af187c2e0060fdcfecc71acd179499bf1b56c8e0c3b78db9b1f", + "size": 3781 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches/delete", + "status": "success", + "path": "en/api/ruby/messages/batches/delete.md", + "sha256": "58810ae26925e085742e6cc18a21a0c5b45ad8de4cea42d7828dfb3ff0a97e7f", + "size": 980 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/messages/batches/results", + "status": "success", + "path": "en/api/ruby/messages/batches/results.md", + "sha256": "9b4067798051736d7b90fab767f7b2e20e6a07e066fd8b82fef5346a4c54db80", + "size": 26190 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/models", + "status": "success", + "path": "en/api/ruby/models.md", + "sha256": "7e6f7cd990c26a805de3f6b0864420bc2643faf1ba6513ce28afca36f35c42d9", + "size": 22159 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/models/list", + "status": "success", + "path": "en/api/ruby/models/list.md", + "sha256": "a4522b80f37075bde94d740910b1339f9a152e716d78933f900afd1f053a71ca", + "size": 5994 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/models/retrieve", + "status": "success", + "path": "en/api/ruby/models/retrieve.md", + "sha256": "2278214de3eea7fa02f970105aa1133b2beba55ca3be6fae35a73bae55f40b80", + "size": 5665 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta", + "status": "success", + "path": "en/api/ruby/beta.md", + "sha256": "d8265e6c81344b800373f1804e01b361b395a468b3b33978bdc30c87f22aa7db", + "size": 1062768 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/models", + "status": "success", + "path": "en/api/ruby/beta/models.md", + "sha256": "0409d9eee4d9a2ab627cd0dac4a3e24595bfaa5119e03ae02137b3b2cc1012e2", + "size": 22632 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/models/list", + "status": "success", + "path": "en/api/ruby/beta/models/list.md", + "sha256": "f59631e4cb3b4a63e6fea712ed7debe193a1abf549c8d155e07fc0691e9ec620", + "size": 6092 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/models/retrieve", + "status": "success", + "path": "en/api/ruby/beta/models/retrieve.md", + "sha256": "8bfd0f5ed402b40415660b87198e5c5ce16283fd40579306f3954b783372ed17", + "size": 5773 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages", + "status": "success", + "path": "en/api/ruby/beta/messages.md", + "sha256": "961b75b02e542ff72e03af2050d8673d1307a74765077c6d510c136d6ca48e0a", + "size": 1006553 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/create", + "status": "success", + "path": "en/api/ruby/beta/messages/create.md", + "sha256": "cf2170f2e621e8eea06afe4e3624c3a88ec7906d98210d9f91f9df7d05fea72f", + "size": 139751 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/count_tokens", + "status": "success", + "path": "en/api/ruby/beta/messages/count_tokens.md", + "sha256": "ddb11dc0411cf8edc80a9d618e5daaeb4a1dde9da12eb86b38d184b43662bfb1", + "size": 108659 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches", + "status": "success", + "path": "en/api/ruby/beta/messages/batches.md", + "sha256": "5421e19687381ebfccbfe59224abd9fc8d69476e0259f3c47ee5548e348cbad0", + "size": 278251 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches/create", + "status": "success", + "path": "en/api/ruby/beta/messages/batches/create.md", + "sha256": "eb328bac9a9f7d8596cfa1f5618ea61cb864898698e84ca92d3c55668ac80381", + "size": 124994 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/ruby/beta/messages/batches/retrieve.md", + "sha256": "75ba16ec42254bdb6142fb8d1839beee21f9b48c684a03b8aeb61f703072911e", + "size": 4485 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches/list", + "status": "success", + "path": "en/api/ruby/beta/messages/batches/list.md", + "sha256": "84ad9a7591c47d7199fe9359e2797ad1f57996ab57e4c4e8ad4987de5ff974e3", + "size": 4659 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/ruby/beta/messages/batches/cancel.md", + "sha256": "4f01bdba490e3356d81422581b0a913796221eda0161e85d2f97ba392cfd4ac5", + "size": 4797 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches/delete", + "status": "success", + "path": "en/api/ruby/beta/messages/batches/delete.md", + "sha256": "2cb2052103eb42bf97ae4be36c199b69dd806011622f84ee61554cbded0b1bd4", + "size": 1992 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/messages/batches/results", + "status": "success", + "path": "en/api/ruby/beta/messages/batches/results.md", + "sha256": "2ca0a5e66c8433509b58b69f3fa0bda1ea81d1fde980588447ebc7b4da8553ac", + "size": 35949 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/files", + "status": "success", + "path": "en/api/ruby/beta/files.md", + "sha256": "0eb58d88da679ee238e33d4b5f277fdb9cec97f4d3bc83d39077364f0e937cb4", + "size": 9833 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/files/upload", + "status": "success", + "path": "en/api/ruby/beta/files/upload.md", + "sha256": "ade468de7c3baa093898c70df517862ad2787d7f58119cecd917fb80956d89eb", + "size": 1915 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/files/list", + "status": "success", + "path": "en/api/ruby/beta/files/list.md", + "sha256": "ce44fbc5c61ee2d1e16d8cb393dcc390270ca2320718582f6565264c2cada4ec", + "size": 2230 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/files/download", + "status": "success", + "path": "en/api/ruby/beta/files/download.md", + "sha256": "7b2f7a85975c49199bcc87773f3a67ee3dbe4d11ecbd30ad05941b82d835c964", + "size": 1360 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/ruby/beta/files/retrieve_metadata.md", + "sha256": "e3a2683562cb923eeb23e095fc7a4165f2a634f8e6450937b63065fe735e2360", + "size": 1947 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/files/delete", + "status": "success", + "path": "en/api/ruby/beta/files/delete.md", + "sha256": "cc6703f32129177395cd9381fda3727188ca9215e1e98dd340aa7950dfa2beef", + "size": 1547 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills", + "status": "success", + "path": "en/api/ruby/beta/skills.md", + "sha256": "6470a4a5cce2edb2a74486351a80faa33ba3e76bfb4197390d866f147832afb5", + "size": 18994 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/create", + "status": "success", + "path": "en/api/ruby/beta/skills/create.md", + "sha256": "397208af18053a14d9a1d3d23b5fb4b8c3ca11bba5a23edcd090530e2264a349", + "size": 2500 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/list", + "status": "success", + "path": "en/api/ruby/beta/skills/list.md", + "sha256": "8ed82ec7e7cf09da9ddb0bd19ea09f0da033d8760495e19b1c3e38e6a8cc50b2", + "size": 2676 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/retrieve", + "status": "success", + "path": "en/api/ruby/beta/skills/retrieve.md", + "sha256": "c713ff1023451c71d8b36091be27b3fc38f432fb1835605c1888655542a90dc5", + "size": 2327 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/delete", + "status": "success", + "path": "en/api/ruby/beta/skills/delete.md", + "sha256": "09f01cb43f6d6ac33de5a4697dd866da95d7dab4b9a41bf649b32a4c0510cd39", + "size": 1657 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/versions", + "status": "success", + "path": "en/api/ruby/beta/skills/versions.md", + "sha256": "8c6e9fcdeb087eb69e3dd759ba4ee2d1b5d547502b2d704f1a66ea86993fbaf3", + "size": 9820 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/versions/create", + "status": "success", + "path": "en/api/ruby/beta/skills/versions/create.md", + "sha256": "fbdd355f1841c43c924fe01d1ef8b5bbd10a4e90fc0e9d50ef529c2094b2dcf5", + "size": 2624 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/versions/list", + "status": "success", + "path": "en/api/ruby/beta/skills/versions/list.md", + "sha256": "01d1859a34047813f51dc23fd1601b2750cb87f6c15c1856d7891802198a5464", + "size": 2637 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/ruby/beta/skills/versions/retrieve.md", + "sha256": "d753c85ca1fa87b919013b6034c0ef2d9a34f44601f894222b5ea8c43ef22ec2", + "size": 2625 + }, + { + "url": "https://platform.claude.com/docs/en/api/ruby/beta/skills/versions/delete", + "status": "success", + "path": "en/api/ruby/beta/skills/versions/delete.md", + "sha256": "c2267756a90f7ea37b585c56f5d00e4e4ef59df1e81e2936590b06629de1ce41", + "size": 1919 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/completions", + "status": "success", + "path": "en/api/terraform/completions.md", + "sha256": "41b86ceb4a5e73908df5ae15fe1c47ab8c3eaa3f72a38e8714af09d71c07124e", + "size": 81752 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/completions/create", + "status": "success", + "path": "en/api/terraform/completions/create.md", + "sha256": "223bcb78588e3b4fdcb4ae8fcad52334c85b6b0d3d58e5cccc547fa2d831c742", + "size": 81777 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages", + "status": "success", + "path": "en/api/terraform/messages.md", + "sha256": "ec551ad40b9f2f9c22cf111f364cafc03d07e5ee8bea2ced109dbb5a46a8d10a", + "size": 81743 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/create", + "status": "success", + "path": "en/api/terraform/messages/create.md", + "sha256": "1c8791dc1002234c9a49688e084618c3a33cb5da7f86d7c9650fe47f25fd9878", + "size": 81768 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/count_tokens", + "status": "success", + "path": "en/api/terraform/messages/count_tokens.md", + "sha256": "235976feee48a32ccb23b1f8df22b2f86452f31d1a87c5477e4e4f95da2c133a", + "size": 81786 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches", + "status": "success", + "path": "en/api/terraform/messages/batches.md", + "sha256": "5d357eb665346db8710ae2bd47df3b09a1cf0143dec3e95c86703594c39a5af3", + "size": 81771 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches/create", + "status": "success", + "path": "en/api/terraform/messages/batches/create.md", + "sha256": "d24f59251d0d61ce217d6512962aed9b547d75d540ed98475307278d3ed035ff", + "size": 81796 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches/retrieve", + "status": "success", + "path": "en/api/terraform/messages/batches/retrieve.md", + "sha256": "75fc36a56b426491b66c7bf303f8f8885f5c77d1c1b10ecb7f65a4c6d90a2e6a", + "size": 81802 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches/list", + "status": "success", + "path": "en/api/terraform/messages/batches/list.md", + "sha256": "5999cb8a14d8ca34a8f55f1bf9f2769a5cf95614dce94ebd5e9f00452134af1c", + "size": 81790 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches/cancel", + "status": "success", + "path": "en/api/terraform/messages/batches/cancel.md", + "sha256": "68d125e445980703b95bc092c37a16a41b2506f5d7b3657af00dc26909c5d66f", + "size": 81796 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches/delete", + "status": "success", + "path": "en/api/terraform/messages/batches/delete.md", + "sha256": "61dd25c34055ceaa89ecd68fd41d5c5befccb56ce30a12a496a4ab04d419e232", + "size": 81796 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/messages/batches/results", + "status": "success", + "path": "en/api/terraform/messages/batches/results.md", + "sha256": "5149b7885f8bc869015fc8d3b77dca8a3a118c7c3407148ccd51226278c2655e", + "size": 81799 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/models", + "status": "success", + "path": "en/api/terraform/models.md", + "sha256": "e046fc88ea67fb42a55873a512ff13a852c2a6aa7c71be4bb4af3424504ddcfa", + "size": 81737 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/models/list", + "status": "success", + "path": "en/api/terraform/models/list.md", + "sha256": "b0f15b0ced21d3d835baec71c41a6dd3797c09968ed15cdeb187d39a8d364b80", + "size": 81756 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/models/retrieve", + "status": "success", + "path": "en/api/terraform/models/retrieve.md", + "sha256": "3a2c321d58002724fe9ff3a742edb1fca9922fad18e76460e2a2e7addc0baf05", + "size": 81768 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta", + "status": "success", + "path": "en/api/terraform/beta.md", + "sha256": "2759fa2d7ffe2ae70199b7457f30451633184351ebceea76a90d480ec2961fe2", + "size": 81731 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/models", + "status": "success", + "path": "en/api/terraform/beta/models.md", + "sha256": "65a4bae44341856388b6e0bbfffc38bc10e9936c27c3dbcc78a7520da4cc5af5", + "size": 81756 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/models/list", + "status": "success", + "path": "en/api/terraform/beta/models/list.md", + "sha256": "f2315625a1cfc0437970bedbdcd34bba0d62809e539bf5f822bcc327a74dc5a5", + "size": 81775 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/models/retrieve", + "status": "success", + "path": "en/api/terraform/beta/models/retrieve.md", + "sha256": "fff9e78823b84652125f2445c6f620b275e67eb8facaafd3434a1da248dc6fa9", + "size": 81787 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages", + "status": "success", + "path": "en/api/terraform/beta/messages.md", + "sha256": "9804155644ad33e7aeb5390f6b98551217152d79671656f058ec476a7ed24f1d", + "size": 81762 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/create", + "status": "success", + "path": "en/api/terraform/beta/messages/create.md", + "sha256": "a4499441b7f601da94884afa6add410cb68078cbccc8c53f4d0d9694fb6502ae", + "size": 81787 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/count_tokens", + "status": "success", + "path": "en/api/terraform/beta/messages/count_tokens.md", + "sha256": "7f21161310dce2be4b4b65939e9431f0feebe7bfd5c797fbcf9e3ff4b1ba0a93", + "size": 81805 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches", + "status": "success", + "path": "en/api/terraform/beta/messages/batches.md", + "sha256": "c041f9a91e83688cfde9c8db3b3b3d1cc6a48494ac256d0ddb04ec069f036ea1", + "size": 81790 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches/create", + "status": "success", + "path": "en/api/terraform/beta/messages/batches/create.md", + "sha256": "3469a7dbb2c3e9ea161ac840e6247bea24d328c454a602a8def7eba5b0d2c5e0", + "size": 81815 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/terraform/beta/messages/batches/retrieve.md", + "sha256": "70a78420bc0ab9bbb271372573196d47b9cc4e710aa1e1a3ce150c5a153980d4", + "size": 81821 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches/list", + "status": "success", + "path": "en/api/terraform/beta/messages/batches/list.md", + "sha256": "2c9b9e40dedef7525da27146c6efd0d55f0067071224f1931ed921dc4a7e1206", + "size": 81809 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/terraform/beta/messages/batches/cancel.md", + "sha256": "2ef3be1f5536f6408218680dc9484a2b0aecc40bcddf634e4ded80accfbd7bf6", + "size": 81815 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches/delete", + "status": "success", + "path": "en/api/terraform/beta/messages/batches/delete.md", + "sha256": "09cb27a294bf623f8e1a1d1976f254011e7dd8702a8b1479ef740071360d4c28", + "size": 81815 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/messages/batches/results", + "status": "success", + "path": "en/api/terraform/beta/messages/batches/results.md", + "sha256": "ed5a01d6247db1ef04fe234484ee8daba74125883dea568b26023d06c0bd5532", + "size": 81818 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/files", + "status": "success", + "path": "en/api/terraform/beta/files.md", + "sha256": "20c2e5112b108f268a6781e914c0007e62f02df7df145754b0b80f9a553599c3", + "size": 81753 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/files/upload", + "status": "success", + "path": "en/api/terraform/beta/files/upload.md", + "sha256": "90bf396bdc8af7fe3de3ceca73a6a70f4c770515e6b035c3b965596af1b025c8", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/files/list", + "status": "success", + "path": "en/api/terraform/beta/files/list.md", + "sha256": "a12ad7cbfb89b3f9c1b9e4336820796663afeeff319578bc8bbb856b97035b86", + "size": 81772 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/files/download", + "status": "success", + "path": "en/api/terraform/beta/files/download.md", + "sha256": "1114b63731ba402b64f57b1eb55def753848f85e9c596e76ac270a42d912522b", + "size": 81784 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/terraform/beta/files/retrieve_metadata.md", + "sha256": "0bd981aebe052d96731d49332a7f56e3b45f580373a223aa39194297d151caa3", + "size": 81811 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/files/delete", + "status": "success", + "path": "en/api/terraform/beta/files/delete.md", + "sha256": "b12d33f30a636e1f85b24a49324d7ab4a9dcc7c98529d131d5a2066572d0e0e7", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills", + "status": "success", + "path": "en/api/terraform/beta/skills.md", + "sha256": "51065db02c5496892e54ca89e6c6ea990294c3467131f4f56490642237cbc44a", + "size": 81756 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/create", + "status": "success", + "path": "en/api/terraform/beta/skills/create.md", + "sha256": "3e7758a137374d07c77a81a78f3cacb4e90a15cb43d98b2c594576594b6b0784", + "size": 81781 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/list", + "status": "success", + "path": "en/api/terraform/beta/skills/list.md", + "sha256": "aad853b2f1e1ad3e674c84d101be56d1aa2c837060237e4727c96c143f60118a", + "size": 81775 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/retrieve", + "status": "success", + "path": "en/api/terraform/beta/skills/retrieve.md", + "sha256": "e1341fb541c0cf2aba37548f5a8306863a3506a3b3d7c8e9b3df69c064012a1f", + "size": 81787 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/delete", + "status": "success", + "path": "en/api/terraform/beta/skills/delete.md", + "sha256": "d55ea74785bf0e712af84775453e4f4cae3b5996bf838a9a0179816a0276116f", + "size": 81781 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/versions", + "status": "success", + "path": "en/api/terraform/beta/skills/versions.md", + "sha256": "1de36a7ea3fb5b7a57e972358caf82f5c27ff46b0cc5893e6af989a5488fe71e", + "size": 81787 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/versions/create", + "status": "success", + "path": "en/api/terraform/beta/skills/versions/create.md", + "sha256": "d33babd256d509e807dcfe9876fa47c293c06ddf642b3ad9d602148c2decdaef", + "size": 81812 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/versions/list", + "status": "success", + "path": "en/api/terraform/beta/skills/versions/list.md", + "sha256": "117127a962c2f16981a56760fa4c83248c973fb8a9f7d17c8794303693269ac5", + "size": 81806 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/terraform/beta/skills/versions/retrieve.md", + "sha256": "e032f449379205d5e9ec2e8939be3212a6f1051d88b472fb1de3bd2d4cf01c7e", + "size": 81818 + }, + { + "url": "https://platform.claude.com/docs/en/api/terraform/beta/skills/versions/delete", + "status": "success", + "path": "en/api/terraform/beta/skills/versions/delete.md", + "sha256": "3149fbfd5d9005b955b677d043d6c5405e80c40df99394c5e85a43b02e3de7ba", + "size": 81812 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/completions", + "status": "success", + "path": "en/api/cli/completions.md", + "sha256": "1396bcf20cc663455d0ad30cc3e08fab452d9fe611162a83a8c3259ad407559a", + "size": 81734 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/completions/create", + "status": "success", + "path": "en/api/cli/completions/create.md", + "sha256": "6cbc65c612db07272c3ab8874c038c4a1c739a87619577a837a650d96c3dca02", + "size": 81759 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages", + "status": "success", + "path": "en/api/cli/messages.md", + "sha256": "08f41c92ef633bfc7f14c14bc50e2715e208dd31eb31e4f74b057ed81505818e", + "size": 81725 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/create", + "status": "success", + "path": "en/api/cli/messages/create.md", + "sha256": "a43c5b4a508948aec7bf54c7b3dde698d126cfcf120301822a2de4ba0d7541a5", + "size": 81750 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/count_tokens", + "status": "success", + "path": "en/api/cli/messages/count_tokens.md", + "sha256": "205403266f757e20eddb2b36229d68e916b5c72a785b29d76ab20404bf093e98", + "size": 81768 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches", + "status": "success", + "path": "en/api/cli/messages/batches.md", + "sha256": "c068f483654628e45c5159762b1be11b7f66c0b9116c5fb64e587cb24ac20cd6", + "size": 81753 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches/create", + "status": "success", + "path": "en/api/cli/messages/batches/create.md", + "sha256": "06b0c6a7a46e9b7d8b0495768c1a82c0dcc04259568148464f681a44011554af", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches/retrieve", + "status": "success", + "path": "en/api/cli/messages/batches/retrieve.md", + "sha256": "817156d3152791b7703d04c516f6d19e5cc63397859af4f93db861859f001c6a", + "size": 81784 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches/list", + "status": "success", + "path": "en/api/cli/messages/batches/list.md", + "sha256": "100f6b36178662d7672415a9409998c97efcf70a1db172af4a21f1b71cf3e73c", + "size": 81772 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches/cancel", + "status": "success", + "path": "en/api/cli/messages/batches/cancel.md", + "sha256": "fcc546bad718791fbd29a28af52448b738c31799c10d9d86de2eba2fe9c4561d", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches/delete", + "status": "success", + "path": "en/api/cli/messages/batches/delete.md", + "sha256": "9efe0ad3289882d3da819f7374445e1023a838f58f26c4f8f1438b30b70278b1", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/messages/batches/results", + "status": "success", + "path": "en/api/cli/messages/batches/results.md", + "sha256": "0bfbc194c64f6cea91a290f945e39de8396746f9a5602347e66d7c4f6a9fb496", + "size": 81781 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/models", + "status": "success", + "path": "en/api/cli/models.md", + "sha256": "68cb51e1cc9e2de9b86130c44c0dbd90d584554edd92a555b9cd2cec7375d53a", + "size": 81719 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/models/list", + "status": "success", + "path": "en/api/cli/models/list.md", + "sha256": "afb961b6f4eb6eeefbe13daba18e077b42396c24fff951c59599ec88d6e5d977", + "size": 81738 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/models/retrieve", + "status": "success", + "path": "en/api/cli/models/retrieve.md", + "sha256": "b17b35521fc80fb81ec28ac46f9d9589a3c33b160e1656e3d3813abd95498463", + "size": 81750 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta", + "status": "success", + "path": "en/api/cli/beta.md", + "sha256": "6772b32297a6e88a2371fc9f7def82e587472b64a134cde8c9228a1ee3011484", + "size": 81713 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/models", + "status": "success", + "path": "en/api/cli/beta/models.md", + "sha256": "957ef850adc0328df1b62dc9e5876ecb276985b7424a92899659d183779aff39", + "size": 81738 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/models/list", + "status": "success", + "path": "en/api/cli/beta/models/list.md", + "sha256": "87f2ee0d3e4f47718e9eda2054cc63cec7ea5307cf1fe4816df253ed6657c381", + "size": 81757 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/models/retrieve", + "status": "success", + "path": "en/api/cli/beta/models/retrieve.md", + "sha256": "f48c62a15b3fa1a795269ab49ebcf09547b463a1e7687381dd53c8cb3032ce6e", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages", + "status": "success", + "path": "en/api/cli/beta/messages.md", + "sha256": "98e87d70d9ac3d8d2d6a9b0b9181245026a5f32b8146952edacd8525112999bc", + "size": 81744 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/create", + "status": "success", + "path": "en/api/cli/beta/messages/create.md", + "sha256": "b4de78a9401da41cd36fe35249964287c315287fe1924446ec8fd8b13649a36b", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/count_tokens", + "status": "success", + "path": "en/api/cli/beta/messages/count_tokens.md", + "sha256": "692a15d602cb017ee7a0598efa1020e19409db69e203a725813d042ae71ef51a", + "size": 81787 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches", + "status": "success", + "path": "en/api/cli/beta/messages/batches.md", + "sha256": "db17bef787c3ca218aea8de095cc1a0c56ba54d16f67a6ebe6402521c4cca839", + "size": 81772 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches/create", + "status": "success", + "path": "en/api/cli/beta/messages/batches/create.md", + "sha256": "6f1b1b6030e3e2a8385f1ca424f75d5868a0ec84f7399d8c6b5096db71536c9e", + "size": 81797 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/cli/beta/messages/batches/retrieve.md", + "sha256": "7dd75ae801b40d665cc41647c0a6b57aac5de4db3e467c5f20a1ec80982d94c9", + "size": 81803 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches/list", + "status": "success", + "path": "en/api/cli/beta/messages/batches/list.md", + "sha256": "784b0b64bb6c9f639bda6194ebfeca62fe6939754163b2291094dc36c0e1099a", + "size": 81791 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/cli/beta/messages/batches/cancel.md", + "sha256": "b216e365874419eb4729f9bc948b4261be58149c362b010e7d188ad845a4683e", + "size": 81797 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches/delete", + "status": "success", + "path": "en/api/cli/beta/messages/batches/delete.md", + "sha256": "0a576ed78aa7e656055b2da9611e2257ee6e6265a5a607ffd30c208a7cf630d5", + "size": 81797 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/messages/batches/results", + "status": "success", + "path": "en/api/cli/beta/messages/batches/results.md", + "sha256": "241237e7f62299607704d735eac7ca773e725f73a6a6fd3af6bc45f216bc320a", + "size": 81800 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/files", + "status": "success", + "path": "en/api/cli/beta/files.md", + "sha256": "ea06d716600e45934bc339cb7d23af478167242c80a6b8ca8a4835420be20b41", + "size": 81735 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/files/upload", + "status": "success", + "path": "en/api/cli/beta/files/upload.md", + "sha256": "86c19108b126602fafeb0dff49b7149fff11acfc840c461676c5d73dd40d5fce", + "size": 81760 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/files/list", + "status": "success", + "path": "en/api/cli/beta/files/list.md", + "sha256": "b23da371fc40b9f26eb59962f7080096f97914a4f45e8b1c728ee9bd0b06089e", + "size": 81754 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/files/download", + "status": "success", + "path": "en/api/cli/beta/files/download.md", + "sha256": "eb718c2e4042fa893994b01d9de8e7668d96a865a876c02ec4f60a421abc66b9", + "size": 81766 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/cli/beta/files/retrieve_metadata.md", + "sha256": "87f46f8c120efed03b748b38eac87b83cd5e4d2f550d15bd1c5ef985f93bf085", + "size": 81793 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/files/delete", + "status": "success", + "path": "en/api/cli/beta/files/delete.md", + "sha256": "1e81d3e67e08c574ee5e72f16e175a59fec6ff6fc28140516f569de7444f7d78", + "size": 81760 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills", + "status": "success", + "path": "en/api/cli/beta/skills.md", + "sha256": "909d875d16f138ebb821e37c14dca56e7c49c4fcf9b8353d86f44519816865ae", + "size": 81738 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/create", + "status": "success", + "path": "en/api/cli/beta/skills/create.md", + "sha256": "9354740154315ce6ca9ef16b41e6c13173c9c9ed5029769e680e4aef05d16f52", + "size": 81763 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/list", + "status": "success", + "path": "en/api/cli/beta/skills/list.md", + "sha256": "968ad22fdbae4c13419cce3c89dc7e533349afc62ec8d1cdaabce98f88102f98", + "size": 81757 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/retrieve", + "status": "success", + "path": "en/api/cli/beta/skills/retrieve.md", + "sha256": "b63bc72c4b215467ff8156f634b52312b56d66d6ebf8e09cb75884ac1917ca98", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/delete", + "status": "success", + "path": "en/api/cli/beta/skills/delete.md", + "sha256": "716a97803af18d10f686a5825cbd03a73f5f8c3dc0108eaa5c2372f6c6c23621", + "size": 81763 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/versions", + "status": "success", + "path": "en/api/cli/beta/skills/versions.md", + "sha256": "a173ff91e918aef7876739a1e6cf2ed7020e0e7981826a54254b2031bacfa314", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/versions/create", + "status": "success", + "path": "en/api/cli/beta/skills/versions/create.md", + "sha256": "62fff132e2f9274a296232aa13a05097f5d693ccb02786d60c2cc39e8c1c5ae5", + "size": 81794 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/versions/list", + "status": "success", + "path": "en/api/cli/beta/skills/versions/list.md", + "sha256": "fc0eb6d88d55d9a9f6f9e9e26239f8b11adc183012e8064f27ba35a5309c57d9", + "size": 81788 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/cli/beta/skills/versions/retrieve.md", + "sha256": "96963e2a8c530440791a1a121b3abe001d14e6ba40c2487f714983bd0fb5ab7c", + "size": 81800 + }, + { + "url": "https://platform.claude.com/docs/en/api/cli/beta/skills/versions/delete", + "status": "success", + "path": "en/api/cli/beta/skills/versions/delete.md", + "sha256": "ceed3d5c66a4b78440a018da1184e6f12c1ed4c31db379e5995c3c69bcea24a5", + "size": 81794 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/completions", + "status": "success", + "path": "en/api/php/completions.md", + "sha256": "021095cdfb6ac63ab1843f11d8020f1c217ee78328e9f6ad57f57a81c0b16a77", + "size": 81734 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/completions/create", + "status": "success", + "path": "en/api/php/completions/create.md", + "sha256": "615d505e5ab3f3978a40bed17fd76a1dd5e8150415b2d8d60b71495558148880", + "size": 81759 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages", + "status": "success", + "path": "en/api/php/messages.md", + "sha256": "dbf3d5382cdd54d4dd88df6262804f70a42fea270c4118cc7abe19f6d1ab11af", + "size": 81725 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/create", + "status": "success", + "path": "en/api/php/messages/create.md", + "sha256": "4c8c972a2295d698026f967805cc4921f5925d0b9430db69ad9a31511642a7b6", + "size": 81750 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/count_tokens", + "status": "success", + "path": "en/api/php/messages/count_tokens.md", + "sha256": "a119cdf31afec59f3d32f791c78901b4cdd7fef5cf8dd5bc1a37548e03b93449", + "size": 81768 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches", + "status": "success", + "path": "en/api/php/messages/batches.md", + "sha256": "5393a3b3f037893b8bc0dfa907de20825b58d1d5ec2d1e34d27b30310de164c3", + "size": 81753 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches/create", + "status": "success", + "path": "en/api/php/messages/batches/create.md", + "sha256": "d37df84278d3985a82bd71fc76e39db59e25581f0c5aabcd92f9b65a29b786e2", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches/retrieve", + "status": "success", + "path": "en/api/php/messages/batches/retrieve.md", + "sha256": "f3fdb32c78c5aa5e6643495e658079a49d5ae54db88eb85817e2b5bc1d387137", + "size": 81784 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches/list", + "status": "success", + "path": "en/api/php/messages/batches/list.md", + "sha256": "7c8556cdf2e9a178952da2badfd842e50f768fe2cd807e2a5061dcf4ff25a632", + "size": 81772 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches/cancel", + "status": "success", + "path": "en/api/php/messages/batches/cancel.md", + "sha256": "a19c1c15f03692b3ba34830e156827e1314d622f23fcd459b482f94148202e10", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches/delete", + "status": "success", + "path": "en/api/php/messages/batches/delete.md", + "sha256": "dbea4fa872b896ab80ead6d5e509f8d57e8b2bfc9f9b440e7fb3152eba784e09", + "size": 81778 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/messages/batches/results", + "status": "success", + "path": "en/api/php/messages/batches/results.md", + "sha256": "2e035a77fb5d79d011c03d9a417dc1269a5b44f80019b6065a0f9d7da56d1149", + "size": 81781 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/models", + "status": "success", + "path": "en/api/php/models.md", + "sha256": "261109b0c963eded93e56771611387bdc5d713c67ed30e84b5d6bd1a091a4c66", + "size": 81719 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/models/list", + "status": "success", + "path": "en/api/php/models/list.md", + "sha256": "0bf0cb6b6252badcd00acc20372ce483948c008f606fd380d3cc17fb6df5e458", + "size": 81738 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/models/retrieve", + "status": "success", + "path": "en/api/php/models/retrieve.md", + "sha256": "a4ac640fb000c838dd6dfa91fb20855b295e4fb085f16860bc8f4d416d29e79a", + "size": 81750 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta", + "status": "success", + "path": "en/api/php/beta.md", + "sha256": "a16cdd72706232b6eb2dd10f63073c8c3f9922071e11609e2f9b432809097549", + "size": 81713 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/models", + "status": "success", + "path": "en/api/php/beta/models.md", + "sha256": "479fde331665c95b6ea3cad6f366e0b70b7bbd394ab8cfd925ab90463ed6b9a9", + "size": 81738 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/models/list", + "status": "success", + "path": "en/api/php/beta/models/list.md", + "sha256": "3910654fd5784151caf5bfe7305b2e5788758821922143c0acb9254c9d54cfcf", + "size": 81757 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/models/retrieve", + "status": "success", + "path": "en/api/php/beta/models/retrieve.md", + "sha256": "201b8da85818cb552cd0e503c35901599b322003acb798a92616c6fb97de4155", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages", + "status": "success", + "path": "en/api/php/beta/messages.md", + "sha256": "0e4765dc87cb9cf6e5aab341f5f670d69e5f93b076ef03163178fa53655dd3b4", + "size": 81744 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/create", + "status": "success", + "path": "en/api/php/beta/messages/create.md", + "sha256": "28b4e632a0007a9025a7da1579dd121c74183692db8961073c1fc7636c792d9b", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/count_tokens", + "status": "success", + "path": "en/api/php/beta/messages/count_tokens.md", + "sha256": "08062c3e483151540412b6a4bf2da6d18dd03143df724f13c6af3316e13a1c3c", + "size": 81787 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches", + "status": "success", + "path": "en/api/php/beta/messages/batches.md", + "sha256": "030c4557dd92fad5c820792d601fd11fef376e3758199c83602989cc808b353f", + "size": 81772 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches/create", + "status": "success", + "path": "en/api/php/beta/messages/batches/create.md", + "sha256": "eacc7a44a65596032bd16a6babacb45a7fe52910ebf807e74edd60b43fff6820", + "size": 81797 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/php/beta/messages/batches/retrieve.md", + "sha256": "c34d156a04e8e2633177854b849210bee6ffd34460d18602bd9b5aeee68d765b", + "size": 81803 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches/list", + "status": "success", + "path": "en/api/php/beta/messages/batches/list.md", + "sha256": "aedbe8048b3f4c492973000d7415c4b2f90e965c9c4e220111f30e40bf859177", + "size": 81791 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/php/beta/messages/batches/cancel.md", + "sha256": "37c7c9dcf90db1fd84a6cedcfcd3850b0f809e481f339f215500767146db1a46", + "size": 81797 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches/delete", + "status": "success", + "path": "en/api/php/beta/messages/batches/delete.md", + "sha256": "e073dabf24ed90be96db22a6eb4355352891a3109430e59303fe86a6fe274a4c", + "size": 81797 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/messages/batches/results", + "status": "success", + "path": "en/api/php/beta/messages/batches/results.md", + "sha256": "89520a3877e2d5e2022a2e20bc8bd0af256a2c3b898c2258de3299bf90d15dd7", + "size": 81800 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/files", + "status": "success", + "path": "en/api/php/beta/files.md", + "sha256": "9dd490854cdab7e9192c639538bb5aebbce13c7a2763123154c51035bebc2761", + "size": 81735 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/files/upload", + "status": "success", + "path": "en/api/php/beta/files/upload.md", + "sha256": "31481e5d4ca850e24ccfce1c702b6272ce695e9a912e2170b85a6b2873f6ecec", + "size": 81760 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/files/list", + "status": "success", + "path": "en/api/php/beta/files/list.md", + "sha256": "082989b5afa7f6053b136daf48b60a990d4fef94cdf62a80b060e900351f37a4", + "size": 81754 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/files/download", + "status": "success", + "path": "en/api/php/beta/files/download.md", + "sha256": "e3b64d97e61f4953e0cd648826a63714555bebdbb7911b1e9a76f5d07777abaa", + "size": 81766 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/php/beta/files/retrieve_metadata.md", + "sha256": "3ceb2727c9c79c95e9034e6564e5eb1a21403fea9d5ddf884151d8f0d7556dba", + "size": 81793 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/files/delete", + "status": "success", + "path": "en/api/php/beta/files/delete.md", + "sha256": "8bdd0012120d1421044ab7961415b9eb4d1838942cae2395dc1ceb4bb06a0e40", + "size": 81760 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills", + "status": "success", + "path": "en/api/php/beta/skills.md", + "sha256": "bf9fd562bb671631a691047519697f6c2f4a10e6a477df6684cf042e527f67fe", + "size": 81738 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/create", + "status": "success", + "path": "en/api/php/beta/skills/create.md", + "sha256": "f93f7824d19da6c5ab4d80e78a79bce46e6e537a7e4766b754317a07efa74882", + "size": 81763 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/list", + "status": "success", + "path": "en/api/php/beta/skills/list.md", + "sha256": "67d41805fa3a8f19f87ad1f9c77a6a1d5936d82e65e9085402cb4cc57b0f95a3", + "size": 81757 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/retrieve", + "status": "success", + "path": "en/api/php/beta/skills/retrieve.md", + "sha256": "706cff170f23b7f85436cedce950cedf8cba287bcc0dc64bd129b572d17f543a", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/delete", + "status": "success", + "path": "en/api/php/beta/skills/delete.md", + "sha256": "7fc6449e5219fd0068b1ede2b753be33cf6bd5c3cd9f3f65cb2df7b5688cf253", + "size": 81763 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/versions", + "status": "success", + "path": "en/api/php/beta/skills/versions.md", + "sha256": "17d42e2ff42bc9d61b36a38de548fdfb7027625f2c5ebd4f564ba5243fe07fab", + "size": 81769 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/versions/create", + "status": "success", + "path": "en/api/php/beta/skills/versions/create.md", + "sha256": "9e8cbb09c660a56e81b7796abc19028c809d5a7fe30d56e125785501c1db303f", + "size": 81794 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/versions/list", + "status": "success", + "path": "en/api/php/beta/skills/versions/list.md", + "sha256": "7cb0fd3f78916cc242ffa6bcb546962844b40ccd4a17ca6430805519ecbcb733", + "size": 81788 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/php/beta/skills/versions/retrieve.md", + "sha256": "f77d7c73a72221aac9308e7ed42a9707e02474e58c2d1d9566a3987e7d48b4c2", + "size": 81800 + }, + { + "url": "https://platform.claude.com/docs/en/api/php/beta/skills/versions/delete", + "status": "success", + "path": "en/api/php/beta/skills/versions/delete.md", + "sha256": "752be1cbf02989854084cf42a58c292da1cc4e792f841298018bd49cccf96791", + "size": 81794 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/completions", + "status": "success", + "path": "en/api/csharp/completions.md", + "sha256": "1755d2314a2c83145e7bad5c3ab724254dbf1fe2b285e990a2b1487022ca30c2", + "size": 14 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/completions/create", + "status": "success", + "path": "en/api/csharp/completions/create.md", + "sha256": "8f22aefc25a57008dd7596f767b9cc5b4a7689a73ece6e88500d3cf65226b167", + "size": 55 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages", + "status": "success", + "path": "en/api/csharp/messages.md", + "sha256": "39b069d04dea78fa3b7c175a12f17d62e09a16af5ee437f29ba4fae02063a7c9", + "size": 808931 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/create", + "status": "success", + "path": "en/api/csharp/messages/create.md", + "sha256": "011520ae3c70c440cd8707944bd180a335070f23780c03a64838af6c3c7f709e", + "size": 108043 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/count_tokens", + "status": "success", + "path": "en/api/csharp/messages/count_tokens.md", + "sha256": "56d13c5beaa50bd7f37e5149410f1a69b715672217d0c7bc3873cdebf2c40310", + "size": 85351 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches", + "status": "success", + "path": "en/api/csharp/messages/batches.md", + "sha256": "f874fe68ec6792c963ac5f8508d489fc4458bfb60cc8a0b355c76df7d110fde1", + "size": 222361 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/create", + "status": "success", + "path": "en/api/csharp/messages/batches/create.md", + "sha256": "3205ba87b32def4d05c65e413c2345d22405fa616f93b07a2b8a023a514189d9", + "size": 107613 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/retrieve", + "status": "success", + "path": "en/api/csharp/messages/batches/retrieve.md", + "sha256": "33403c909c4b95a8b56b758442a70d20ede48a00a669ac42134b0934e2589761", + "size": 3725 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/list", + "status": "success", + "path": "en/api/csharp/messages/batches/list.md", + "sha256": "bfba1ed1a3653d271e82086efc68a317c03a8e94200539974b3f3401235d8210", + "size": 4429 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/cancel", + "status": "success", + "path": "en/api/csharp/messages/batches/cancel.md", + "sha256": "de247760e68f0309114ec1bf7b81b476ab47802e1589bca69675311dc5e6889d", + "size": 4031 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/delete", + "status": "success", + "path": "en/api/csharp/messages/batches/delete.md", + "sha256": "d4b8ec3c4191b872bf3534a181f1b5b2c2708cbd96934a05b9c0f2f69fb4d59d", + "size": 1077 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/messages/batches/results", + "status": "success", + "path": "en/api/csharp/messages/batches/results.md", + "sha256": "0c8c135704e0bc66ddc113b16e0fa24634e5d507ce343e6d1967652ebfc0a9fb", + "size": 25988 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/models", + "status": "success", + "path": "en/api/csharp/models.md", + "sha256": "2859101400765aed986949b91e024ce5006dca413ab92071dfcc9d47f550b254", + "size": 25464 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/models/list", + "status": "success", + "path": "en/api/csharp/models/list.md", + "sha256": "99dad79bbb951dca903eb05d9f389acc61b37331d32494ffa54db36f84657a06", + "size": 7479 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/models/retrieve", + "status": "success", + "path": "en/api/csharp/models/retrieve.md", + "sha256": "65749f65adbeb941613be5722a0fb3b1de567d0d2ceb1ceddddbd6bd2b178b39", + "size": 6482 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta", + "status": "success", + "path": "en/api/csharp/beta.md", + "sha256": "bc67100777c6b7bb2954bffddafeddfdf7876927c78503e2b997d18705696a94", + "size": 1065265 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/models", + "status": "success", + "path": "en/api/csharp/beta/models.md", + "sha256": "ece74e433e653facc669cefe9fedb9a3e1c82ae4b06de956101c3159524af2b7", + "size": 25931 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/models/list", + "status": "success", + "path": "en/api/csharp/beta/models/list.md", + "sha256": "0925180268e26a9f42110c3ccc2709d43ac928529c156a17a8f114c6c93d81de", + "size": 7573 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/models/retrieve", + "status": "success", + "path": "en/api/csharp/beta/models/retrieve.md", + "sha256": "6aaf5f07c68f3f7d3437f2197da10cc472d4f89700c233a3e085ba8b70553038", + "size": 6588 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages", + "status": "success", + "path": "en/api/csharp/beta/messages.md", + "sha256": "feabc57fcd3dbbfddd20c50778604a4a13b60314b22b5af7970a6f48d318fbd8", + "size": 998925 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/create", + "status": "success", + "path": "en/api/csharp/beta/messages/create.md", + "sha256": "38f3e6382e70e9cd6b43504a01b80c231b7b9cda38043fc628de084a0e34dd31", + "size": 134589 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/count_tokens", + "status": "success", + "path": "en/api/csharp/beta/messages/count_tokens.md", + "sha256": "ab97907270984127aa41cca662860a7864787baf26bfe25aee5cf9504f88255c", + "size": 103781 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches", + "status": "success", + "path": "en/api/csharp/beta/messages/batches.md", + "sha256": "13881fe3b1d382ce0e02b29a462b8926fa7c02861877284ea5ef0084ce21bd18", + "size": 287261 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/create", + "status": "success", + "path": "en/api/csharp/beta/messages/batches/create.md", + "sha256": "52992f9a450e6d8424c1fd9b326d77bb7b699a689f8ffed0941718456b3ceb94", + "size": 132373 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/retrieve", + "status": "success", + "path": "en/api/csharp/beta/messages/batches/retrieve.md", + "sha256": "2f02a487d4098b5e1f7504cf4753e5506cb83ccf39242ea42489cf97077e3eac", + "size": 5049 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/list", + "status": "success", + "path": "en/api/csharp/beta/messages/batches/list.md", + "sha256": "dd000172be62477b240aa911c38c9d8c58227b11caa05645ccb18edefd608872", + "size": 5794 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/cancel", + "status": "success", + "path": "en/api/csharp/beta/messages/batches/cancel.md", + "sha256": "9be58fa1624c693ed3dd1b00e01e4e4789015dbabe0af425d5dd0678950487fc", + "size": 5355 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/delete", + "status": "success", + "path": "en/api/csharp/beta/messages/batches/delete.md", + "sha256": "9bc87017a76dc06279f394d39192bd8de689cc023d9737dab6a80a9c62094404", + "size": 2397 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/messages/batches/results", + "status": "success", + "path": "en/api/csharp/beta/messages/batches/results.md", + "sha256": "6de1fdd0f47f502a00980426727fdf790b8296c6334536ec023031c5ffd6d024", + "size": 35879 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/files", + "status": "success", + "path": "en/api/csharp/beta/files.md", + "sha256": "2c5a9f257bb37b9e303217a02047c93ed7108fe3890a3864ff9a082b7bf4d668", + "size": 12609 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/upload", + "status": "success", + "path": "en/api/csharp/beta/files/upload.md", + "sha256": "9d59e4068fc4e7cdbd6406591c61b7073bc683efc9407ffec6b0f519402ccd3c", + "size": 2420 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/list", + "status": "success", + "path": "en/api/csharp/beta/files/list.md", + "sha256": "8a25bfcae0462fe33aa272ea932d9a7289dd043a4b30ddc90ee4e7f151574187", + "size": 3129 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/download", + "status": "success", + "path": "en/api/csharp/beta/files/download.md", + "sha256": "93c6972387481aaf3817a2bb12f53665dfe6eecb05dc561efd1b8e7f26a7f076", + "size": 1756 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/retrieve_metadata", + "status": "success", + "path": "en/api/csharp/beta/files/retrieve_metadata.md", + "sha256": "02ade2e4c4f3138b62fb65b9c1f53918fcb940bda29571f05814f75f4fe4f69c", + "size": 2438 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/files/delete", + "status": "success", + "path": "en/api/csharp/beta/files/delete.md", + "sha256": "4aff8b3867f991d4ccc6d8d3996b28ece228dee1a7a12d995e4fd65cac1ac132", + "size": 1969 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills", + "status": "success", + "path": "en/api/csharp/beta/skills.md", + "sha256": "ab11ae485ceb79ee354b8f2ad15eb39e0150ccf5c01fc42483001a6d535811fe", + "size": 24055 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/create", + "status": "success", + "path": "en/api/csharp/beta/skills/create.md", + "sha256": "4a666c02626b531e94f1c578e06ba99c915dd8e5c0ce34504c32e80d05173b8b", + "size": 3015 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/list", + "status": "success", + "path": "en/api/csharp/beta/skills/list.md", + "sha256": "1dc7b6e0e457a83bba16ad6d1940d3f06e8645bdbaefbe6f53da40595e6e5816", + "size": 3760 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/retrieve", + "status": "success", + "path": "en/api/csharp/beta/skills/retrieve.md", + "sha256": "10bcf4146586a612c4462ffd5913cdf2f2a4871466d866f08dde66c1268f81e4", + "size": 2806 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/delete", + "status": "success", + "path": "en/api/csharp/beta/skills/delete.md", + "sha256": "1637ce8517abd8e39fc498de4d5da8f6f395ce0fac19824e9d5316c996092074", + "size": 2092 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions", + "status": "success", + "path": "en/api/csharp/beta/skills/versions.md", + "sha256": "51f6eac052116ff9057ec9cae879578d8a98414e0ac873d8157c5db7439a8662", + "size": 12368 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/create", + "status": "success", + "path": "en/api/csharp/beta/skills/versions/create.md", + "sha256": "35e8c3f6a7cb29605a739b07ce6a18894c70fadfb11dca76ced8cb7a3bed9462", + "size": 3163 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/list", + "status": "success", + "path": "en/api/csharp/beta/skills/versions/list.md", + "sha256": "ab08c153302e1300a76198cbd07373ad4f82f4dfe26c1001697bc61aa6d58e41", + "size": 3588 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/retrieve", + "status": "success", + "path": "en/api/csharp/beta/skills/versions/retrieve.md", + "sha256": "8f39412b366868d34d858df261f3555f4d0ab05484ff54e8801db1021ac5d8a7", + "size": 3180 + }, + { + "url": "https://platform.claude.com/docs/en/api/csharp/beta/skills/versions/delete", + "status": "success", + "path": "en/api/csharp/beta/skills/versions/delete.md", + "sha256": "2bb49e0849e801a666adbf7f67c41174bfbec5fb0030342d283430454df3cfc5", + "size": 2422 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin", + "status": "success", + "path": "en/api/admin.md", + "sha256": "84005638a33739039bd4911c7ae28394a37d1d790d31445cc5560be27b9c00de", + "size": 53215 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/organizations", + "status": "success", + "path": "en/api/admin/organizations.md", + "sha256": "30bb81a5770079e13d84552647fec9963b8ad8fe87bc5a42101d098031f96052", + "size": 733 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/organizations/me", + "status": "success", + "path": "en/api/admin/organizations/me.md", + "sha256": "0f7eba6d67fb306efec9878cddabcb3fcc29eab07b6ebfb9edbabd19b5389b5a", + "size": 410 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/invites", + "status": "success", + "path": "en/api/admin/invites.md", + "sha256": "4edc4780989fe45cc483ebdc1e74a9c82706c96c28ef07381551ce966cc06372", + "size": 4972 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/invites/create", + "status": "success", + "path": "en/api/admin/invites/create.md", + "sha256": "c22555172c0176e525abe4fc0efab5a90a08be5ba53228b584a7dd7c20ea1c7a", + "size": 1165 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/invites/retrieve", + "status": "success", + "path": "en/api/admin/invites/retrieve.md", + "sha256": "19e33c789fadcdb330c8f05e88dfe0ccdcf367fc9665761301ba85bb1ff06f36", + "size": 980 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/invites/list", + "status": "success", + "path": "en/api/admin/invites/list.md", + "sha256": "d487ad768c8b8b9bf0a5d3916d209d10d14d78b9124a0385fabf3a99543724d2", + "size": 1636 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/invites/delete", + "status": "success", + "path": "en/api/admin/invites/delete.md", + "sha256": "17e962d49b249dcf0fcecf40c329a5a5afa77acc8aa0dbb2d2b20a609c883490", + "size": 319 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/users", + "status": "success", + "path": "en/api/admin/users.md", + "sha256": "a9fad3b3137a34f01711182946734a6b89536af2b1c046c4901c39827ed990d1", + "size": 4059 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/users/retrieve", + "status": "success", + "path": "en/api/admin/users/retrieve.md", + "sha256": "ee53f820d7d7b0d8bf692e9a7093896521051fe5e84587536f24691c33ab4f61", + "size": 732 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/users/list", + "status": "success", + "path": "en/api/admin/users/list.md", + "sha256": "0b76d3fc34fca4cef5e685bcc52364f9518b823da6eab8018d05f79514adf834", + "size": 1449 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/users/update", + "status": "success", + "path": "en/api/admin/users/update.md", + "sha256": "f9d2cc9bcfea6555f14766fb0ff677b3680c8f4b55b1ecd8df00812a6eb6ef89", + "size": 949 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/users/delete", + "status": "success", + "path": "en/api/admin/users/delete.md", + "sha256": "24332f9ac0db1f38048a5173bccf527cd9f0f1e216e8805d44ecb58e39a895a0", + "size": 299 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces", + "status": "success", + "path": "en/api/admin/workspaces.md", + "sha256": "21771a08e6af07d5628fab75dfe72048d4618f05b30d70cd9729f1d8ae7add6c", + "size": 14979 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/create", + "status": "success", + "path": "en/api/admin/workspaces/create.md", + "sha256": "2ae5612a3b90ba7e1d92af39fb63021bd961ee08ec2dcf253a09c3643ad15770", + "size": 2393 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/retrieve", + "status": "success", + "path": "en/api/admin/workspaces/retrieve.md", + "sha256": "712e308dfc8639e77eed7b71bbf7ac79b5e9fe569ca8c0c0ade733c79ca3a311", + "size": 1393 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/list", + "status": "success", + "path": "en/api/admin/workspaces/list.md", + "sha256": "9b8d2b08dbb044bcbf43186e969babfee9c618462f776b7d3d93f779522f4969", + "size": 2147 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/update", + "status": "success", + "path": "en/api/admin/workspaces/update.md", + "sha256": "6a4949d246eb41cbd532566865ec15feb6e1664af708b0c295127c1868c8a902", + "size": 2089 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/archive", + "status": "success", + "path": "en/api/admin/workspaces/archive.md", + "sha256": "05595ed7f6dbf5bb12c0a547942e19b33c57e5211ee436ee8307f7fa759445cd", + "size": 1405 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/members", + "status": "success", + "path": "en/api/admin/workspaces/members.md", + "sha256": "a663ddb00e43a484fb4b4062238583c8fe34831989d1c2db52a33c1cea24bbc3", + "size": 5533 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/members/create", + "status": "success", + "path": "en/api/admin/workspaces/members/create.md", + "sha256": "be48bc1e3c5e927b93197412ab43cd8c2297039ebb2aa21550f22cdfd4a89fad", + "size": 1050 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/members/retrieve", + "status": "success", + "path": "en/api/admin/workspaces/members/retrieve.md", + "sha256": "3d8e9c815d01f139e35a977703497ded039129c6168dc8b5a840d390f64a8ea5", + "size": 807 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/members/list", + "status": "success", + "path": "en/api/admin/workspaces/members/list.md", + "sha256": "7dfa8e482ed76a66bcf5e3c8bd1650977b05190c52e0ff2d1c66e624886fc33a", + "size": 1476 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/members/update", + "status": "success", + "path": "en/api/admin/workspaces/members/update.md", + "sha256": "27028ebb7cf3e1c827cf4579c0c953ead89b1bb3fdadcea03a99fbca60d63ddd", + "size": 1078 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/workspaces/members/delete", + "status": "success", + "path": "en/api/admin/workspaces/members/delete.md", + "sha256": "3717b10778895a9cd3831f94f08446361af830386ed8c48a0858b9dfc939a4bd", + "size": 492 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/api_keys", + "status": "success", + "path": "en/api/admin/api_keys.md", + "sha256": "240219aa05bd7e445f5bca793506082ea001026a7c67e539df87383c60c1ea99", + "size": 4484 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/api_keys/retrieve", + "status": "success", + "path": "en/api/admin/api_keys/retrieve.md", + "sha256": "a6bad1e5081b72517c86bc9d3a860909d77a7badb71713d976b140789f5d82bf", + "size": 1104 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/api_keys/list", + "status": "success", + "path": "en/api/admin/api_keys/list.md", + "sha256": "c9710b86c55ad986c63a7330b561c6bba17f603828058d06c0800bae0d3357f5", + "size": 2051 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/api_keys/update", + "status": "success", + "path": "en/api/admin/api_keys/update.md", + "sha256": "3f93fd3aa72e457fe47fbdfac3e569dfa515d291123fa61a2bd38c0504a0efac", + "size": 1315 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/usage_report", + "status": "success", + "path": "en/api/admin/usage_report.md", + "sha256": "50892ca01d4c21aef3f2a06cb2ac20ec3c28f0413c369eb8bcd79c5bb9e99a7b", + "size": 17041 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/usage_report/retrieve_messages", + "status": "success", + "path": "en/api/admin/usage_report/retrieve_messages.md", + "sha256": "4c2a60e7b4dcad6a8cadd54bbad65eae8eaac593530007a45130c36df992a0d0", + "size": 5718 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/usage_report/retrieve_claude_code", + "status": "success", + "path": "en/api/admin/usage_report/retrieve_claude_code.md", + "sha256": "289cb47899c4247ef043bec7aeaccc1aacd8318a4bd5ae659c8def2fa7ad5403", + "size": 4409 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/cost_report", + "status": "success", + "path": "en/api/admin/cost_report.md", + "sha256": "86544e6392cdf3c8e7afc874dc569db4980a4abab7e0e296fa15c5ea457bce3e", + "size": 6932 + }, + { + "url": "https://platform.claude.com/docs/en/api/admin/cost_report/retrieve", + "status": "success", + "path": "en/api/admin/cost_report/retrieve.md", + "sha256": "bebae0d75b22cbb34be23794c71b98c36106cf1e1aefd9e6c5e042a69d985ded", + "size": 3986 + }, { "url": "https://code.claude.com/docs/en/agent-teams", "status": "success", @@ -50,15 +4292,15 @@ "url": "https://code.claude.com/docs/en/channels", "status": "success", "path": "en/docs/claude-code/channels.md", - "sha256": "cc18c6eef3e661c38ee9ab7268eaf88ff573ba5955daf7aa95546ed80f2f7830", - "size": 15143 + "sha256": "c5b269ea0470e22ad31ce287fcb4ac45400b24a929a786f5d9298bd50f0802d2", + "size": 15592 }, { "url": "https://code.claude.com/docs/en/channels-reference", "status": "success", "path": "en/docs/claude-code/channels-reference.md", - "sha256": "7d6f96b30ece6bfbe7831a0941b5fe7b61265fd03f956c84fae4dd280a33ea96", - "size": 23386 + "sha256": "a5c6e5f5581a74a336807a5bdb4da51a920984f3c63c37c9005727e44a0bfbc0", + "size": 43446 }, { "url": "https://code.claude.com/docs/en/checkpointing", @@ -85,8 +4327,8 @@ "url": "https://code.claude.com/docs/en/cli-reference", "status": "success", "path": "en/docs/claude-code/cli-reference.md", - "sha256": "759db9ff2db9dac8765e21a73e6e99a7f943da7223b72e10f061a483d0f73651", - "size": 29334 + "sha256": "57b1c1c43cd6014037e15467725989c8e0633ea3b1c32fad1cfd7b5da739320a", + "size": 32520 }, { "url": "https://code.claude.com/docs/en/code-review", @@ -155,7 +4397,7 @@ "url": "https://code.claude.com/docs/en/env-vars", "status": "success", "path": "en/docs/claude-code/env-vars.md", - "sha256": "7c0df67db979230ebfc9336b89ccda6b653107e890746fbe619d6ae2c12fee2e", + "sha256": "30649aabeca6609c39cf044b9b5542b99db2d81cadb61d18495bfc150850e634", "size": 69951 }, { @@ -197,8 +4439,8 @@ "url": "https://code.claude.com/docs/en/headless", "status": "success", "path": "en/docs/claude-code/headless.md", - "sha256": "16df64837072f406d59733b8f3412cba6ad8445a708efe396986c0a5386ef1a5", - "size": 9473 + "sha256": "33ba27b6bd42db5e981d55f470ee1eac40e4c2b45d36a9e5b6e24805ecf46669", + "size": 11548 }, { "url": "https://code.claude.com/docs/en/hooks", @@ -218,15 +4460,15 @@ "url": "https://code.claude.com/docs/en/how-claude-code-works", "status": "success", "path": "en/docs/claude-code/how-claude-code-works.md", - "sha256": "3d0820f35fe3c70846237e9db2570846c8e667ce768f2e7dcca66ecd22db2fa2", - "size": 18436 + "sha256": "4b825bac3f6179d734038f777add047d88d249cccf9804405b27be345300a4da", + "size": 18475 }, { "url": "https://code.claude.com/docs/en/interactive-mode", "status": "success", "path": "en/docs/claude-code/interactive-mode.md", - "sha256": "1232bf50c2baa1355ccecbe1f318e24093a7b69957054f64a0b0fe791ed66b6f", - "size": 20424 + "sha256": "a1b8232208d1b6e6c5b2427b730ca2a5f1ebe85d74b835b1cdf37c983beccd4d", + "size": 21342 }, { "url": "https://code.claude.com/docs/en/jetbrains", @@ -260,8 +4502,8 @@ "url": "https://code.claude.com/docs/en/mcp", "status": "success", "path": "en/docs/claude-code/mcp.md", - "sha256": "bbdb3c532af84f431b4d55ce500764b99a31090bab02243ea2ffe132a2cec1e6", - "size": 50306 + "sha256": "f15349d1f16dad0580df14e5efabbe5d1e22a120484a5f681261d9a2f63e9143", + "size": 50523 }, { "url": "https://code.claude.com/docs/en/memory", @@ -316,8 +4558,8 @@ "url": "https://code.claude.com/docs/en/permissions", "status": "success", "path": "en/docs/claude-code/permissions.md", - "sha256": "ede47dabbb5e229023ae26565fcb5785df5d076c8a6d0d8006dbe634ed99262e", - "size": 18520 + "sha256": "d6ef58dd7349d9c7ae7d1bb3c8525925366da1e598c7a93667d6ee83c02dfcf5", + "size": 19044 }, { "url": "https://code.claude.com/docs/en/plugin-marketplaces", @@ -386,8 +4628,8 @@ "url": "https://code.claude.com/docs/en/settings", "status": "success", "path": "en/docs/claude-code/settings.md", - "sha256": "d162ad920895efd83abff67ac0c00145d02d2a8119f5be7d769358f862b46d5f", - "size": 70431 + "sha256": "5a8345ce8eedadebde807791e572953c46342402ea3eecdd99e028223eb8974e", + "size": 70863 }, { "url": "https://code.claude.com/docs/en/setup", @@ -472,11 +4714,53 @@ "path": "en/docs/claude-code/zero-data-retention.md", "sha256": "1f0d099cd9c062470ccbd16f86fea0804e1d660de9dca1de00a0e2b9846682c9", "size": 6219 + }, + { + "url": "https://www.anthropic.com/engineering/claude-code-best-practices", + "status": "success", + "path": "blog/engineering/claude-code-best-practices.md", + "sha256": "9760d576b552b9f882780c08af2788945b85530d10bdab6a5bc28842920b37a5", + "size": 17368 + }, + { + "url": "https://www.anthropic.com/engineering/claude-code-sandboxing", + "status": "success", + "path": "blog/engineering/claude-code-sandboxing.md", + "sha256": "2f6f9df5925dee4efcfc6d3ea98bf3c9c8e91392270aa7f0cbb52e05b9b69311", + "size": 8687 + }, + { + "url": "https://www.anthropic.com/news/anthropic-acquires-bun-as-claude-code-reaches-usd1b-milestone", + "status": "success", + "path": "blog/news/anthropic-acquires-bun-as-claude-code-reaches-usd1b-milestone.md", + "sha256": "616ab8916015e1ea1ff583b8ae3ac288084c3c9b0db84f05154d9a91a3fd9cee", + "size": 4656 + }, + { + "url": "https://www.anthropic.com/news/claude-code-on-team-and-enterprise", + "status": "success", + "path": "blog/news/claude-code-on-team-and-enterprise.md", + "sha256": "6f6ae00c4cb2ea1c565f32610ae51eff1d8063e838a6728170032c7b70075598", + "size": 5530 + }, + { + "url": "https://www.anthropic.com/news/claude-code-security", + "status": "success", + "path": "blog/news/claude-code-security.md", + "sha256": "b091025b75105466c519aaeb55ed568fbad1b12746f95534cc875d9cacf2a605", + "size": 6161 + }, + { + "url": "https://www.anthropic.com/news/enabling-claude-code-to-work-more-autonomously", + "status": "success", + "path": "blog/news/enabling-claude-code-to-work-more-autonomously.md", + "sha256": "70d6bb249c1a9bd6589e7702ad289b0835cc57abecf212e1b7125ee2e6a1db39", + "size": 5072 } ], "summary": { - "total": 67, - "downloaded": 67, + "total": 679, + "downloaded": 679, "skipped": 0, "failed": 0, "success_rate": 100.0 diff --git a/content/blog/engineering/claude-code-best-practices.md b/content/blog/engineering/claude-code-best-practices.md index b99b855f8..85ce0a5ae 100644 --- a/content/blog/engineering/claude-code-best-practices.md +++ b/content/blog/engineering/claude-code-best-practices.md @@ -328,7 +328,7 @@ Learn Terms and policies -[Privacy policy](https://www.anthropic.com/legal/privacy)[Disclosure policy](https://www.anthropic.com/responsible-disclosure-policy)[Usage policy](https://www.anthropic.com/legal/aup)[Commercial terms](https://www.anthropic.com/legal/commercial-terms)[Consumer terms](https://www.anthropic.com/legal/consumer-terms) +[Privacy choices](https://www.anthropic.com/engineering/claude-code-best-practices#)[Privacy policy](https://www.anthropic.com/legal/privacy)[Disclosure policy](https://www.anthropic.com/responsible-disclosure-policy)[Usage policy](https://www.anthropic.com/legal/aup)[Commercial terms](https://www.anthropic.com/legal/commercial-terms)[Consumer terms](https://www.anthropic.com/legal/consumer-terms) Assistant diff --git a/content/blog/engineering/claude-code-sandboxing.md b/content/blog/engineering/claude-code-sandboxing.md index 7aea163e2..42515ed94 100644 --- a/content/blog/engineering/claude-code-sandboxing.md +++ b/content/blog/engineering/claude-code-sandboxing.md @@ -68,7 +68,7 @@ Our new sandboxed bash tool and Claude Code on the web offer substantial improve To get started with these tools: 1. Run `/sandbox` in Claude and check out [our docs](https://docs.claude.com/en/docs/claude-code/sandboxing) on how to configure this sandbox. -2. Go to [claude.com/code](http://claude.ai/redirect/website.v1.34b4a3b3-f71a-408f-94a7-0b4932e595cf/code) to try out Claude Code on the web. +2. Go to [claude.com/code](http://claude.ai/redirect/website.v1.06b686e8-9fbc-4d2f-ab23-409b29b3d2b4/code) to try out Claude Code on the web. Or, if you're building your own agents, check out our [open-sourced sandboxing code](https://github.com/anthropic-experimental/sandbox-runtime), and consider integrating it into your work. We look forward to seeing what you build. diff --git a/content/en/about-claude/models/migration-guide.md b/content/en/about-claude/models/migration-guide.md index b5e9418b2..b9f5faff8 100644 --- a/content/en/about-claude/models/migration-guide.md +++ b/content/en/about-claude/models/migration-guide.md @@ -50,7 +50,7 @@ These are not required but will improve your experience: ) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -89,7 +89,7 @@ These are not required but will improve your experience: } ``` - ```go Go hidelines={1..13,-1} + ```go Go hidelines={1..11,-1} package main import ( @@ -123,7 +123,7 @@ These are not required but will improve your experience: } ``` - ```java Java hidelines={1..10,-1} + ```java Java hidelines={1..5,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -152,7 +152,7 @@ These are not required but will improve your experience: } ``` - ```php PHP + ```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -665,7 +665,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -698,7 +698,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..4,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -729,7 +729,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -857,7 +857,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -890,7 +890,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..4,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -921,7 +921,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1046,7 +1046,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1080,7 +1080,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..10,-1} +```java Java nocheck hidelines={1..4,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -1108,7 +1108,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/about-claude/use-case-guides/content-moderation.md b/content/en/about-claude/use-case-guides/content-moderation.md index 3659f60d5..22b37fa36 100644 --- a/content/en/about-claude/use-case-guides/content-moderation.md +++ b/content/en/about-claude/use-case-guides/content-moderation.md @@ -113,7 +113,7 @@ When selecting a model, it’s important to consider the size of your data. If c In order to use Claude for content moderation, Claude must understand the moderation requirements of your application. Let’s start by writing a prompt that allows you to define your moderation needs: -```python nocheck +```python nocheck hidelines={1} import anthropic import json @@ -190,7 +190,7 @@ Content moderation is a classification problem. Thus, you can use the same techn One additional consideration is that instead of treating content moderation as a binary classification problem, you may instead create multiple categories to represent various risk levels. Creating multiple risk levels allows you to adjust the aggressiveness of your moderation. For example, you might want to automatically block user queries that are deemed high risk, while users with many medium risk queries are flagged for human review. -```python nocheck hidelines={1..6} +```python nocheck hidelines={1} import anthropic import json @@ -289,7 +289,7 @@ In complex scenarios, it may be helpful to consider additional strategies to imp In addition to listing the unsafe categories in the prompt, further improvements can be made by providing definitions and phrases related to each category. -```python nocheck hidelines={1..6} +```python nocheck hidelines={1} import anthropic import json @@ -387,7 +387,7 @@ Notably, the definition for the `Specialized Advice` category now specifies the To reduce costs in situations where real-time moderation isn't necessary, consider moderating messages in batches. Include multiple messages within the prompt's context, and ask Claude to assess which messages should be moderated. -```python nocheck hidelines={1..6} +```python nocheck hidelines={1} import anthropic import json diff --git a/content/en/about-claude/use-case-guides/legal-summarization.md b/content/en/about-claude/use-case-guides/legal-summarization.md index bf4474298..ac8ec5001 100644 --- a/content/en/about-claude/use-case-guides/legal-summarization.md +++ b/content/en/about-claude/use-case-guides/legal-summarization.md @@ -152,7 +152,7 @@ Claude can adapt to various summarization styles. You can change the details of Here’s an example of how to create a prompt that ensures the generated summaries follow a consistent structure when analyzing sublease agreements: -```python nocheck hidelines={1..4,-1} +```python nocheck hidelines={1..2} import anthropic # Initialize the Anthropic client @@ -252,7 +252,7 @@ Legal summarization often involves handling long documents or many related docum Here's an example of how to perform meta-summarization: -```python nocheck hidelines={1..4,-1} +```python nocheck hidelines={1..2} import anthropic # Initialize the Anthropic client diff --git a/content/en/about-claude/use-case-guides/ticket-routing.md b/content/en/about-claude/use-case-guides/ticket-routing.md index 957761839..27da05445 100644 --- a/content/en/about-claude/use-case-guides/ticket-routing.md +++ b/content/en/about-claude/use-case-guides/ticket-routing.md @@ -344,7 +344,7 @@ It’s hard to know how well your prompt works without deploying it in a test pr Let’s build the deployment structure. Start by defining the method signature for wrapping our call to Claude. We'll take the method we’ve already begun to write, which has `ticket_contents` as input, and now return a tuple of `reasoning` and `intent` as output. If you have an existing automation using traditional ML, you'll want to follow that method signature instead. -```python nocheck +```python nocheck hidelines={1} import anthropic import re @@ -385,7 +385,7 @@ def classify_support_request(ticket_contents): ``` This code: -* Imports the Anthropic library and creates a client instance using your API key. +* Creates a client instance using your API key. * Defines a `classify_support_request` function that takes a `ticket_contents` string. * Sends the `ticket_contents` to Claude for classification using the `classification_prompt` * Returns the model's `reasoning` and `intent` extracted from the response. @@ -410,7 +410,7 @@ You may need to assess Claude on other axes depending on what factors that are i To assess this, we first have to modify the script we wrote and add a function to compare the predicted intent with the actual intent and calculate the percentage of correct predictions. We also have to add in cost calculation and time measurement functionality. -```python nocheck hidelines={1..8} +```python nocheck hidelines={1} import anthropic import re diff --git a/content/en/agents-and-tools/agent-skills/quickstart.md b/content/en/agents-and-tools/agent-skills/quickstart.md index acbadddef..60373c1e2 100644 --- a/content/en/agents-and-tools/agent-skills/quickstart.md +++ b/content/en/agents-and-tools/agent-skills/quickstart.md @@ -42,7 +42,7 @@ for skill in skills.data: print(f"{skill.id}: {skill.display_title}") ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -75,7 +75,7 @@ This API returns each Skill's metadata: its name and description. Claude loads t Now use the PowerPoint Skill to create a presentation about renewable energy. Specify Skills using the `container` parameter in the Messages API: -```python Python hidelines={1..4,-1} +```python Python import anthropic client = anthropic.Anthropic() @@ -100,7 +100,7 @@ response = client.beta.messages.create( print(response.content) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); diff --git a/content/en/agents-and-tools/mcp-connector.md b/content/en/agents-and-tools/mcp-connector.md index e410a823b..9f60e2ed6 100644 --- a/content/en/agents-and-tools/mcp-connector.md +++ b/content/en/agents-and-tools/mcp-connector.md @@ -69,7 +69,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -91,7 +91,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -166,7 +166,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-5..-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -209,7 +209,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..9,-1} +```java Java nocheck hidelines={1..2,4,6..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.BetaMcpToolset; @@ -242,7 +242,7 @@ public class Main { } ``` -```php PHP nocheck +```php PHP nocheck hidelines={1..4} beta->messages->create( echo $message; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/agents-and-tools/tool-use/code-execution-tool.md b/content/en/agents-and-tools/tool-use/code-execution-tool.md index 71fe66c0b..1aa24c711 100644 --- a/content/en/agents-and-tools/tool-use/code-execution-tool.md +++ b/content/en/agents-and-tools/tool-use/code-execution-tool.md @@ -75,7 +75,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -95,7 +95,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -124,7 +124,7 @@ async function main() { main().catch(console.error); ``` -```csharp C# hidelines={1..10,-1} +```csharp C# hidelines={1..11,-2..} using System; using System.Threading.Tasks; using Anthropic; @@ -155,7 +155,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -187,7 +187,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -212,7 +212,7 @@ public class CodeExecution { } ``` -```php PHP +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -352,7 +352,7 @@ const response = await client.messages.create({ }); ``` -```csharp C# hidelines={1..10,-1} +```csharp C# hidelines={1..11,-2..} using System; using System.Threading.Tasks; using Anthropic; @@ -378,7 +378,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -410,7 +410,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -435,7 +435,7 @@ public class CodeExecution { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -531,7 +531,7 @@ const response = await client.messages.create({ }); ``` -```csharp C# hidelines={1..10,-1} +```csharp C# hidelines={1..11,-2..} using System; using System.Threading.Tasks; using Anthropic; @@ -557,7 +557,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -589,7 +589,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -614,7 +614,7 @@ public class CodeExecutionExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -709,7 +709,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python nocheck hidelines={1..4} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -737,7 +737,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript nocheck +```typescript TypeScript nocheck hidelines={5..6,-3..-1} import Anthropic, { toFile } from "@anthropic-ai/sdk"; import { createReadStream } from "fs"; @@ -778,7 +778,7 @@ async function main() { main().catch(console.error); ``` -```csharp C# nocheck hidelines={1..9,-1} +```csharp C# nocheck hidelines={1..10,-2..} using Anthropic; using Anthropic.Models.Beta.Files; using Anthropic.Models.Beta.Messages; @@ -820,7 +820,7 @@ class Program } ``` -```go Go hidelines={12..15} +```go Go hidelines={11..15} package main import ( @@ -880,7 +880,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..15,-1} +```java Java nocheck hidelines={1..2,5..6,8..9,11..15,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.files.FileMetadata; @@ -928,7 +928,7 @@ public class CodeExecutionWithFiles { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $response; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1001,7 +1001,7 @@ When Claude creates files during code execution, you can retrieve these files us -```python Python nocheck hidelines={1..5} +```python Python nocheck hidelines={1..2} from anthropic import Anthropic # Initialize the client @@ -1043,7 +1043,7 @@ for file_id in extract_file_ids(response): print(f"Downloaded: {file_metadata.filename}") ``` -```typescript TypeScript nocheck hidelines={1} +```typescript TypeScript nocheck hidelines={5..6,-3..-1} import Anthropic from "@anthropic-ai/sdk"; import { writeFile } from "fs/promises"; @@ -1089,7 +1089,7 @@ async function main() { main().catch(console.error); ``` -```csharp C# nocheck hidelines={1..13,-1} +```csharp C# nocheck hidelines={1..14,-2..} using System; using System.IO; using System.Linq; @@ -1156,7 +1156,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..15,-1} +```go Go nocheck hidelines={1..13,65..66} package main import ( @@ -1239,7 +1239,7 @@ func extractFileIDs(response *anthropic.BetaMessage) []string { } ``` -```java Java nocheck hidelines={1..16,-1} +```java Java nocheck hidelines={1..6,11..16,40..41,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.http.HttpResponse; @@ -1299,7 +1299,7 @@ public class CodeExecutionFiles { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2014,7 +2014,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..5} +```python Python hidelines={1..6} import os from anthropic import Anthropic @@ -2052,7 +2052,7 @@ response2 = client.messages.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2106,7 +2106,7 @@ async function main() { main().catch(console.error); ``` -```csharp C# hidelines={1..10,-1} +```csharp C# hidelines={1..11,-2..} using Anthropic; using Anthropic.Models.Messages; using System; @@ -2144,7 +2144,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2201,7 +2201,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -2237,7 +2237,7 @@ public class ContainerReuse { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2409,7 +2409,7 @@ response = client.messages.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2488,7 +2488,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2531,7 +2531,7 @@ func main() { } ``` -```java Java hidelines={1..13,-1} +```java Java hidelines={1..5,7..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -2571,7 +2571,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/agents-and-tools/tool-use/computer-use-tool.md b/content/en/agents-and-tools/tool-use/computer-use-tool.md index 15207f808..866c30a54 100644 --- a/content/en/agents-and-tools/tool-use/computer-use-tool.md +++ b/content/en/agents-and-tools/tool-use/computer-use-tool.md @@ -123,7 +123,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -148,7 +148,7 @@ response = client.beta.messages.create( print(response) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -224,7 +224,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -264,7 +264,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..3,7..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.BetaMessage; @@ -297,7 +297,7 @@ public class ComputerUseExample { } ``` -```php PHP +```php PHP hidelines={1..4} beta->messages->create( echo $response; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -817,7 +817,7 @@ The computer use tool can be combined with other tools to create more powerful a }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -867,7 +867,7 @@ response = client.beta.messages.create( print(response) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -1055,7 +1055,7 @@ print(response) } ``` -```java Java hidelines={1..15,-1} +```java Java hidelines={1..5,9..15,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -1130,7 +1130,7 @@ public class MultipleToolsExample { ``` - ```php PHP hidelines={1..6} nocheck + ```php PHP hidelines={1..4} nocheck messages->create( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -725,7 +725,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..12,-1} +```java Java nocheck hidelines={1..2,7..12,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.AnthropicBeta; @@ -760,7 +760,7 @@ public class ContextManagementExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( ); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/agents-and-tools/tool-use/overview.md b/content/en/agents-and-tools/tool-use/overview.md index 7ca324706..a6630ca72 100644 --- a/content/en/agents-and-tools/tool-use/overview.md +++ b/content/en/agents-and-tools/tool-use/overview.md @@ -55,7 +55,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -84,7 +84,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript +```typescript TypeScript hidelines={1..7,-3..-1} import { Anthropic } from "@anthropic-ai/sdk"; const anthropic = new Anthropic({ @@ -212,7 +212,7 @@ func main() { } ``` -```java Java hidelines={1..14,-1} +```java Java hidelines={1..14,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -265,7 +265,7 @@ public class GetWeatherExample { } ``` -```php PHP +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -455,7 +455,7 @@ Then pass these converted tools to Claude: -```python Python nocheck hidelines={1..4} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -469,7 +469,7 @@ response = client.messages.create( ) ``` -```typescript TypeScript nocheck hidelines={1..3} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -509,7 +509,7 @@ class Program } ``` -```go Go nocheck hidelines={1..11,-5..-1} +```go Go nocheck hidelines={1..10,-1} package main import ( @@ -538,7 +538,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..10,-1} +```java Java nocheck hidelines={1..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; @@ -565,7 +565,7 @@ public class Main { } ``` -```php PHP hidelines={1..5} nocheck +```php PHP hidelines={1..4} nocheck messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -647,7 +647,7 @@ Here are a few code examples demonstrating various tool use patterns and techniq }' ``` - ```python Python hidelines={1..4,-1} + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -684,7 +684,7 @@ Here are a few code examples demonstrating various tool use patterns and techniq print(response) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -761,7 +761,7 @@ Here are a few code examples demonstrating various tool use patterns and techniq } ``` - ```go Go hidelines={1..12,-1} + ```go Go hidelines={1..10,-1} package main import ( @@ -808,7 +808,7 @@ Here are a few code examples demonstrating various tool use patterns and techniq } ``` - ```java Java hidelines={1..14,-1} + ```java Java hidelines={1..14,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -870,7 +870,7 @@ Here are a few code examples demonstrating various tool use patterns and techniq } ``` - ```php PHP hidelines={1..6} + ```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -685,7 +685,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python nocheck hidelines={1..4,-1} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -712,7 +712,7 @@ response = client.beta.messages.create( print(response) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -820,7 +820,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -871,7 +871,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..14,-1} +```java Java nocheck hidelines={1..4,9..14,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -920,7 +920,7 @@ public class McpClientExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $response; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1146,7 +1146,7 @@ Tool search works with [prompt caching](/docs/en/build-with-claude/prompt-cachin -```python Python nocheck hidelines={1..4} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1212,7 +1212,7 @@ response2 = client.messages.create( print(f"Cache read tokens: {response2.usage.cache_read_input_tokens or 0}") ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1338,7 +1338,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1409,7 +1409,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..18,-1} +```java Java nocheck hidelines={1..3,5..12,14..19,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -1497,7 +1497,7 @@ public class ToolSearchCaching { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->create( echo "Cache read tokens: " . ($response2->usage->cacheReadInputTokens ?? 0) . "\n"; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/agents-and-tools/tool-use/web-fetch-tool.md b/content/en/agents-and-tools/tool-use/web-fetch-tool.md index 0e8229e11..369468b72 100644 --- a/content/en/agents-and-tools/tool-use/web-fetch-tool.md +++ b/content/en/agents-and-tools/tool-use/web-fetch-tool.md @@ -107,7 +107,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -126,7 +126,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript +```typescript TypeScript hidelines={1..5,-3..-1} import { Anthropic } from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -180,7 +180,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -211,7 +211,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; @@ -236,7 +236,7 @@ public class WebFetchExample { } ``` -```php PHP +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -304,7 +304,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -323,7 +323,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -382,7 +382,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -415,7 +415,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; @@ -442,7 +442,7 @@ public class WebFetchExample { } ``` -```php PHP +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -701,7 +701,7 @@ The tool cannot fetch arbitrary URLs that Claude generates or URLs from containe Web fetch works seamlessly with web search for comprehensive information gathering: -```python hidelines={1..4} +```python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -737,7 +737,7 @@ In this workflow, Claude will: Web fetch works with [prompt caching](/docs/en/build-with-claude/prompt-caching). To enable prompt caching, add `cache_control` breakpoints in your request. Cached fetch results can be reused across conversation turns. -```python hidelines={1..4} +```python hidelines={1..2} import anthropic client = anthropic.Anthropic() diff --git a/content/en/agents-and-tools/tool-use/web-search-tool.md b/content/en/agents-and-tools/tool-use/web-search-tool.md index 6e83df712..0b161c9c7 100644 --- a/content/en/agents-and-tools/tool-use/web-search-tool.md +++ b/content/en/agents-and-tools/tool-use/web-search-tool.md @@ -87,7 +87,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -106,7 +106,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -188,7 +188,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; @@ -213,7 +213,7 @@ public class WebSearchExample { } ``` -```php PHP +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -288,7 +288,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -302,7 +302,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -391,7 +391,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; @@ -418,7 +418,7 @@ public class WebSearchExample { } ``` -```php PHP +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -656,7 +656,7 @@ For multi-turn conversations, set a `cache_control` breakpoint on or after the l For example, to use prompt caching with web search for a multi-turn conversation: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -725,7 +725,7 @@ response2 = client.messages.create( print(f"Cache read tokens: {response2.usage.cache_read_input_tokens or 0}") ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -848,7 +848,7 @@ var response2 = await client.Messages.Create(parameters2); Console.WriteLine($"Cache read tokens: {response2.Usage.CacheReadInputTokens ?? 0}"); ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -909,7 +909,7 @@ func main() { } ``` -```java Java hidelines={1..15,-1} +```java Java hidelines={1..2,4..9,12..16,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -978,7 +978,7 @@ public class WebSearchWithCache { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->create( echo "Cache read tokens: " . ($response2->usage->cacheReadInputTokens ?? 0) . "\n"; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/api/beta-headers.md b/content/en/api/beta-headers.md index a81142666..1af561735 100644 --- a/content/en/api/beta-headers.md +++ b/content/en/api/beta-headers.md @@ -27,7 +27,7 @@ When using the SDK, you can specify beta headers in the request options: -```python Python +```python Python hidelines={1..2} from anthropic import Anthropic client = Anthropic() @@ -40,7 +40,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); diff --git a/content/en/api/cli/beta.md b/content/en/api/cli/beta.md index e6f45ddea..420f091e9 100644 --- a/content/en/api/cli/beta.md +++ b/content/en/api/cli/beta.md @@ -1 +1 @@ -Not Found - Claude API Docs
    \ No newline at end of file +Not Found - Claude API Docs
      \ No newline at end of file diff --git a/content/en/api/cli/beta/files.md b/content/en/api/cli/beta/files.md index 6f4ca5b1b..a9f4b0bdf 100644 --- a/content/en/api/cli/beta/files.md +++ b/content/en/api/cli/beta/files.md @@ -1 +1 @@ -Not Found - Claude API Docs
        \ No newline at end of file +Not Found - Claude API Docs
          \ No newline at end of file diff --git a/content/en/api/cli/beta/files/delete.md b/content/en/api/cli/beta/files/delete.md index 275230498..d15669dd1 100644 --- a/content/en/api/cli/beta/files/delete.md +++ b/content/en/api/cli/beta/files/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
            \ No newline at end of file +Not Found - Claude API Docs
              \ No newline at end of file diff --git a/content/en/api/cli/beta/files/download.md b/content/en/api/cli/beta/files/download.md index c5690fd2a..c87ae096a 100644 --- a/content/en/api/cli/beta/files/download.md +++ b/content/en/api/cli/beta/files/download.md @@ -1 +1 @@ -Not Found - Claude API Docs
                \ No newline at end of file +Not Found - Claude API Docs
                  \ No newline at end of file diff --git a/content/en/api/cli/beta/files/list.md b/content/en/api/cli/beta/files/list.md index a177e1a24..b975e44f4 100644 --- a/content/en/api/cli/beta/files/list.md +++ b/content/en/api/cli/beta/files/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                    \ No newline at end of file +Not Found - Claude API Docs
                      \ No newline at end of file diff --git a/content/en/api/cli/beta/files/retrieve_metadata.md b/content/en/api/cli/beta/files/retrieve_metadata.md index 3101abc29..363e38a1a 100644 --- a/content/en/api/cli/beta/files/retrieve_metadata.md +++ b/content/en/api/cli/beta/files/retrieve_metadata.md @@ -1 +1 @@ -Not Found - Claude API Docs
                        \ No newline at end of file +Not Found - Claude API Docs
                          \ No newline at end of file diff --git a/content/en/api/cli/beta/files/upload.md b/content/en/api/cli/beta/files/upload.md index be889f0ef..e496acf71 100644 --- a/content/en/api/cli/beta/files/upload.md +++ b/content/en/api/cli/beta/files/upload.md @@ -1 +1 @@ -Not Found - Claude API Docs
                            \ No newline at end of file +Not Found - Claude API Docs
                              \ No newline at end of file diff --git a/content/en/api/cli/beta/messages.md b/content/en/api/cli/beta/messages.md index f5c97b8cb..8639be90f 100644 --- a/content/en/api/cli/beta/messages.md +++ b/content/en/api/cli/beta/messages.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                \ No newline at end of file +Not Found - Claude API Docs
                                  \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches.md b/content/en/api/cli/beta/messages/batches.md index 5f99f55f0..64782ce97 100644 --- a/content/en/api/cli/beta/messages/batches.md +++ b/content/en/api/cli/beta/messages/batches.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                    \ No newline at end of file +Not Found - Claude API Docs
                                      \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches/cancel.md b/content/en/api/cli/beta/messages/batches/cancel.md index 2118ea29c..9d34aba01 100644 --- a/content/en/api/cli/beta/messages/batches/cancel.md +++ b/content/en/api/cli/beta/messages/batches/cancel.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                        \ No newline at end of file +Not Found - Claude API Docs
                                          \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches/create.md b/content/en/api/cli/beta/messages/batches/create.md index 8a00c51d8..87d5f87b2 100644 --- a/content/en/api/cli/beta/messages/batches/create.md +++ b/content/en/api/cli/beta/messages/batches/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                            \ No newline at end of file +Not Found - Claude API Docs
                                              \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches/delete.md b/content/en/api/cli/beta/messages/batches/delete.md index e1925088b..31e68afa3 100644 --- a/content/en/api/cli/beta/messages/batches/delete.md +++ b/content/en/api/cli/beta/messages/batches/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                \ No newline at end of file +Not Found - Claude API Docs
                                                  \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches/list.md b/content/en/api/cli/beta/messages/batches/list.md index fae792a90..666e4c966 100644 --- a/content/en/api/cli/beta/messages/batches/list.md +++ b/content/en/api/cli/beta/messages/batches/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                      \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches/results.md b/content/en/api/cli/beta/messages/batches/results.md index 17d4b8888..1616d361b 100644 --- a/content/en/api/cli/beta/messages/batches/results.md +++ b/content/en/api/cli/beta/messages/batches/results.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                          \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/batches/retrieve.md b/content/en/api/cli/beta/messages/batches/retrieve.md index 1c5cb4b10..f01fac970 100644 --- a/content/en/api/cli/beta/messages/batches/retrieve.md +++ b/content/en/api/cli/beta/messages/batches/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                              \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/count_tokens.md b/content/en/api/cli/beta/messages/count_tokens.md index 30634b91b..351eebb46 100644 --- a/content/en/api/cli/beta/messages/count_tokens.md +++ b/content/en/api/cli/beta/messages/count_tokens.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                  \ No newline at end of file diff --git a/content/en/api/cli/beta/messages/create.md b/content/en/api/cli/beta/messages/create.md index 6c1b1361c..2a595abcd 100644 --- a/content/en/api/cli/beta/messages/create.md +++ b/content/en/api/cli/beta/messages/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                      \ No newline at end of file diff --git a/content/en/api/cli/beta/models.md b/content/en/api/cli/beta/models.md index 366d313b1..d25c8ec16 100644 --- a/content/en/api/cli/beta/models.md +++ b/content/en/api/cli/beta/models.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                          \ No newline at end of file diff --git a/content/en/api/cli/beta/models/list.md b/content/en/api/cli/beta/models/list.md index 19d3957df..df4e9e8f7 100644 --- a/content/en/api/cli/beta/models/list.md +++ b/content/en/api/cli/beta/models/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                              \ No newline at end of file diff --git a/content/en/api/cli/beta/models/retrieve.md b/content/en/api/cli/beta/models/retrieve.md index d539c90da..ea098f723 100644 --- a/content/en/api/cli/beta/models/retrieve.md +++ b/content/en/api/cli/beta/models/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/beta/skills.md b/content/en/api/cli/beta/skills.md index fd00a485f..8472d9733 100644 --- a/content/en/api/cli/beta/skills.md +++ b/content/en/api/cli/beta/skills.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                      \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/create.md b/content/en/api/cli/beta/skills/create.md index ae67b10d7..03358222f 100644 --- a/content/en/api/cli/beta/skills/create.md +++ b/content/en/api/cli/beta/skills/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                          \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/delete.md b/content/en/api/cli/beta/skills/delete.md index af514c8b4..613780863 100644 --- a/content/en/api/cli/beta/skills/delete.md +++ b/content/en/api/cli/beta/skills/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                              \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/list.md b/content/en/api/cli/beta/skills/list.md index cfbba6696..b73e8434f 100644 --- a/content/en/api/cli/beta/skills/list.md +++ b/content/en/api/cli/beta/skills/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/retrieve.md b/content/en/api/cli/beta/skills/retrieve.md index a9c4eb7c2..275283e84 100644 --- a/content/en/api/cli/beta/skills/retrieve.md +++ b/content/en/api/cli/beta/skills/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                      \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/versions.md b/content/en/api/cli/beta/skills/versions.md index 4844c56ca..a70818ec9 100644 --- a/content/en/api/cli/beta/skills/versions.md +++ b/content/en/api/cli/beta/skills/versions.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                          \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/versions/create.md b/content/en/api/cli/beta/skills/versions/create.md index 39a43b3b0..bcf77712f 100644 --- a/content/en/api/cli/beta/skills/versions/create.md +++ b/content/en/api/cli/beta/skills/versions/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                              \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/versions/delete.md b/content/en/api/cli/beta/skills/versions/delete.md index b21134094..73784a724 100644 --- a/content/en/api/cli/beta/skills/versions/delete.md +++ b/content/en/api/cli/beta/skills/versions/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/versions/list.md b/content/en/api/cli/beta/skills/versions/list.md index ab1f710cd..4afc2b6bc 100644 --- a/content/en/api/cli/beta/skills/versions/list.md +++ b/content/en/api/cli/beta/skills/versions/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                      \ No newline at end of file diff --git a/content/en/api/cli/beta/skills/versions/retrieve.md b/content/en/api/cli/beta/skills/versions/retrieve.md index 9e47a3cda..fbd3e2f0e 100644 --- a/content/en/api/cli/beta/skills/versions/retrieve.md +++ b/content/en/api/cli/beta/skills/versions/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                          \ No newline at end of file diff --git a/content/en/api/cli/completions.md b/content/en/api/cli/completions.md index 2970996fd..cf99ff95e 100644 --- a/content/en/api/cli/completions.md +++ b/content/en/api/cli/completions.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                              \ No newline at end of file diff --git a/content/en/api/cli/completions/create.md b/content/en/api/cli/completions/create.md index b82f7ec28..458e43a06 100644 --- a/content/en/api/cli/completions/create.md +++ b/content/en/api/cli/completions/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/messages.md b/content/en/api/cli/messages.md index cdb0c33aa..401627d09 100644 --- a/content/en/api/cli/messages.md +++ b/content/en/api/cli/messages.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/cli/messages/batches.md b/content/en/api/cli/messages/batches.md index 47a6e0372..dcf53a3e2 100644 --- a/content/en/api/cli/messages/batches.md +++ b/content/en/api/cli/messages/batches.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/cli/messages/batches/cancel.md b/content/en/api/cli/messages/batches/cancel.md index 6877bb801..0570a8faf 100644 --- a/content/en/api/cli/messages/batches/cancel.md +++ b/content/en/api/cli/messages/batches/cancel.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/cli/messages/batches/create.md b/content/en/api/cli/messages/batches/create.md index 0ab8a6ddc..a8aac470c 100644 --- a/content/en/api/cli/messages/batches/create.md +++ b/content/en/api/cli/messages/batches/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/messages/batches/delete.md b/content/en/api/cli/messages/batches/delete.md index aa3c478c1..59cb1d4b2 100644 --- a/content/en/api/cli/messages/batches/delete.md +++ b/content/en/api/cli/messages/batches/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/cli/messages/batches/list.md b/content/en/api/cli/messages/batches/list.md index 4157b48b2..4a2dbee40 100644 --- a/content/en/api/cli/messages/batches/list.md +++ b/content/en/api/cli/messages/batches/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/cli/messages/batches/results.md b/content/en/api/cli/messages/batches/results.md index f232e84fb..21197e728 100644 --- a/content/en/api/cli/messages/batches/results.md +++ b/content/en/api/cli/messages/batches/results.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/cli/messages/batches/retrieve.md b/content/en/api/cli/messages/batches/retrieve.md index a22381433..2e8d4c25e 100644 --- a/content/en/api/cli/messages/batches/retrieve.md +++ b/content/en/api/cli/messages/batches/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/messages/count_tokens.md b/content/en/api/cli/messages/count_tokens.md index 6c9019f5e..9c95c09f3 100644 --- a/content/en/api/cli/messages/count_tokens.md +++ b/content/en/api/cli/messages/count_tokens.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/cli/messages/create.md b/content/en/api/cli/messages/create.md index b1221c51c..e2fff9bf0 100644 --- a/content/en/api/cli/messages/create.md +++ b/content/en/api/cli/messages/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/cli/models.md b/content/en/api/cli/models.md index ad43e07bc..41d5888a8 100644 --- a/content/en/api/cli/models.md +++ b/content/en/api/cli/models.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/cli/models/list.md b/content/en/api/cli/models/list.md index 10fb6d5f7..8b42cacb3 100644 --- a/content/en/api/cli/models/list.md +++ b/content/en/api/cli/models/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/cli/models/retrieve.md b/content/en/api/cli/models/retrieve.md index e32c7103e..501db0f4f 100644 --- a/content/en/api/cli/models/retrieve.md +++ b/content/en/api/cli/models/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/client-sdks.md b/content/en/api/client-sdks.md index cb99cbd1f..8ef50446d 100644 --- a/content/en/api/client-sdks.md +++ b/content/en/api/client-sdks.md @@ -96,7 +96,7 @@ message = client.messages.create( print(message.content) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -124,7 +124,7 @@ var message = await client.Messages.Create(new MessageCreateParams Console.WriteLine(message.Content); ``` -```go Go hidelines={1..10,22} +```go Go hidelines={1..2,10..11,-1} package main import ( @@ -152,7 +152,7 @@ func main() { } ``` -```java Java hidelines={1..8,-1} +```java Java hidelines={6..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; diff --git a/content/en/api/errors.md b/content/en/api/errors.md index d924bbaa6..27c736ef0 100644 --- a/content/en/api/errors.md +++ b/content/en/api/errors.md @@ -61,7 +61,7 @@ Every API response includes a unique `request-id` header. This header contains a The official SDKs provide this value as a property on top-level response objects, containing the value of the `request-id` header: - ```python Python + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -74,7 +74,7 @@ The official SDKs provide this value as a property on top-level response objects print(f"Request ID: {message._request_id}") ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); diff --git a/content/en/api/openai-sdk.md b/content/en/api/openai-sdk.md index 41ab4ccfe..5b1160c6d 100644 --- a/content/en/api/openai-sdk.md +++ b/content/en/api/openai-sdk.md @@ -98,7 +98,7 @@ You can enable [extended thinking](/docs/en/build-with-claude/extended-thinking) - ```python Python nocheck hidelines={1..8} + ```python Python nocheck hidelines={1..9} import os from openai import OpenAI diff --git a/content/en/api/php/beta.md b/content/en/api/php/beta.md index 07aa7f7a3..6edf29df6 100644 --- a/content/en/api/php/beta.md +++ b/content/en/api/php/beta.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/files.md b/content/en/api/php/beta/files.md index f44ed1f92..f950881fb 100644 --- a/content/en/api/php/beta/files.md +++ b/content/en/api/php/beta/files.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/files/delete.md b/content/en/api/php/beta/files/delete.md index b346599da..8992e5c6d 100644 --- a/content/en/api/php/beta/files/delete.md +++ b/content/en/api/php/beta/files/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/files/download.md b/content/en/api/php/beta/files/download.md index 52a1bb873..5d5158715 100644 --- a/content/en/api/php/beta/files/download.md +++ b/content/en/api/php/beta/files/download.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/files/list.md b/content/en/api/php/beta/files/list.md index 3b9778958..e6f65898e 100644 --- a/content/en/api/php/beta/files/list.md +++ b/content/en/api/php/beta/files/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/files/retrieve_metadata.md b/content/en/api/php/beta/files/retrieve_metadata.md index 5c55724a5..817725d20 100644 --- a/content/en/api/php/beta/files/retrieve_metadata.md +++ b/content/en/api/php/beta/files/retrieve_metadata.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/files/upload.md b/content/en/api/php/beta/files/upload.md index a390e779d..2f618b49c 100644 --- a/content/en/api/php/beta/files/upload.md +++ b/content/en/api/php/beta/files/upload.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/messages.md b/content/en/api/php/beta/messages.md index 059f395bb..64e124d0e 100644 --- a/content/en/api/php/beta/messages.md +++ b/content/en/api/php/beta/messages.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches.md b/content/en/api/php/beta/messages/batches.md index 594173886..aa79ee3bf 100644 --- a/content/en/api/php/beta/messages/batches.md +++ b/content/en/api/php/beta/messages/batches.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches/cancel.md b/content/en/api/php/beta/messages/batches/cancel.md index f37b1986a..0f640aa8c 100644 --- a/content/en/api/php/beta/messages/batches/cancel.md +++ b/content/en/api/php/beta/messages/batches/cancel.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches/create.md b/content/en/api/php/beta/messages/batches/create.md index 100abbe0f..08e448d0b 100644 --- a/content/en/api/php/beta/messages/batches/create.md +++ b/content/en/api/php/beta/messages/batches/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches/delete.md b/content/en/api/php/beta/messages/batches/delete.md index 82b501782..bb94a017b 100644 --- a/content/en/api/php/beta/messages/batches/delete.md +++ b/content/en/api/php/beta/messages/batches/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches/list.md b/content/en/api/php/beta/messages/batches/list.md index 4a08c0d77..4f3da69ce 100644 --- a/content/en/api/php/beta/messages/batches/list.md +++ b/content/en/api/php/beta/messages/batches/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches/results.md b/content/en/api/php/beta/messages/batches/results.md index 4372e2b21..fe0f9db1d 100644 --- a/content/en/api/php/beta/messages/batches/results.md +++ b/content/en/api/php/beta/messages/batches/results.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/messages/batches/retrieve.md b/content/en/api/php/beta/messages/batches/retrieve.md index 096885b8b..0612e72ea 100644 --- a/content/en/api/php/beta/messages/batches/retrieve.md +++ b/content/en/api/php/beta/messages/batches/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/messages/count_tokens.md b/content/en/api/php/beta/messages/count_tokens.md index 4e2576687..6ef03e0e0 100644 --- a/content/en/api/php/beta/messages/count_tokens.md +++ b/content/en/api/php/beta/messages/count_tokens.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/messages/create.md b/content/en/api/php/beta/messages/create.md index 65a9afbe3..3f8e63dbd 100644 --- a/content/en/api/php/beta/messages/create.md +++ b/content/en/api/php/beta/messages/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/models.md b/content/en/api/php/beta/models.md index e8bc7a355..fec8fe978 100644 --- a/content/en/api/php/beta/models.md +++ b/content/en/api/php/beta/models.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/models/list.md b/content/en/api/php/beta/models/list.md index 4a3dd9833..0ce2611f1 100644 --- a/content/en/api/php/beta/models/list.md +++ b/content/en/api/php/beta/models/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/models/retrieve.md b/content/en/api/php/beta/models/retrieve.md index 0cc0b3b6b..816e762d6 100644 --- a/content/en/api/php/beta/models/retrieve.md +++ b/content/en/api/php/beta/models/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/skills.md b/content/en/api/php/beta/skills.md index 009d1f4a1..370bd0104 100644 --- a/content/en/api/php/beta/skills.md +++ b/content/en/api/php/beta/skills.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/skills/create.md b/content/en/api/php/beta/skills/create.md index 4295ea96c..c60840382 100644 --- a/content/en/api/php/beta/skills/create.md +++ b/content/en/api/php/beta/skills/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/skills/delete.md b/content/en/api/php/beta/skills/delete.md index 8c0964c1f..00415b448 100644 --- a/content/en/api/php/beta/skills/delete.md +++ b/content/en/api/php/beta/skills/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/skills/list.md b/content/en/api/php/beta/skills/list.md index a3415873b..24bc168ee 100644 --- a/content/en/api/php/beta/skills/list.md +++ b/content/en/api/php/beta/skills/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/skills/retrieve.md b/content/en/api/php/beta/skills/retrieve.md index 3652372a0..fc5b6c386 100644 --- a/content/en/api/php/beta/skills/retrieve.md +++ b/content/en/api/php/beta/skills/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/skills/versions.md b/content/en/api/php/beta/skills/versions.md index f4a6f34f6..68a7d3c7e 100644 --- a/content/en/api/php/beta/skills/versions.md +++ b/content/en/api/php/beta/skills/versions.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/beta/skills/versions/create.md b/content/en/api/php/beta/skills/versions/create.md index fd457f9c2..75d9043f4 100644 --- a/content/en/api/php/beta/skills/versions/create.md +++ b/content/en/api/php/beta/skills/versions/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/beta/skills/versions/delete.md b/content/en/api/php/beta/skills/versions/delete.md index 8d04de61f..325371d90 100644 --- a/content/en/api/php/beta/skills/versions/delete.md +++ b/content/en/api/php/beta/skills/versions/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/beta/skills/versions/list.md b/content/en/api/php/beta/skills/versions/list.md index c4c0aa6ef..c2a8475b9 100644 --- a/content/en/api/php/beta/skills/versions/list.md +++ b/content/en/api/php/beta/skills/versions/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/beta/skills/versions/retrieve.md b/content/en/api/php/beta/skills/versions/retrieve.md index ac50c88c3..d1c4bc95d 100644 --- a/content/en/api/php/beta/skills/versions/retrieve.md +++ b/content/en/api/php/beta/skills/versions/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/completions.md b/content/en/api/php/completions.md index 992511abf..aeb9a794e 100644 --- a/content/en/api/php/completions.md +++ b/content/en/api/php/completions.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/completions/create.md b/content/en/api/php/completions/create.md index 20327c45b..6f6e6473e 100644 --- a/content/en/api/php/completions/create.md +++ b/content/en/api/php/completions/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/messages.md b/content/en/api/php/messages.md index 019baebd6..e7ee99aa6 100644 --- a/content/en/api/php/messages.md +++ b/content/en/api/php/messages.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/messages/batches.md b/content/en/api/php/messages/batches.md index e3ccd9507..ca2cd1412 100644 --- a/content/en/api/php/messages/batches.md +++ b/content/en/api/php/messages/batches.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/messages/batches/cancel.md b/content/en/api/php/messages/batches/cancel.md index a72df2307..0780e5d05 100644 --- a/content/en/api/php/messages/batches/cancel.md +++ b/content/en/api/php/messages/batches/cancel.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/messages/batches/create.md b/content/en/api/php/messages/batches/create.md index d15169ed0..a85b97d6c 100644 --- a/content/en/api/php/messages/batches/create.md +++ b/content/en/api/php/messages/batches/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/messages/batches/delete.md b/content/en/api/php/messages/batches/delete.md index accd05c30..3778c48b1 100644 --- a/content/en/api/php/messages/batches/delete.md +++ b/content/en/api/php/messages/batches/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/messages/batches/list.md b/content/en/api/php/messages/batches/list.md index 9ae9bfa97..573d4215e 100644 --- a/content/en/api/php/messages/batches/list.md +++ b/content/en/api/php/messages/batches/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/messages/batches/results.md b/content/en/api/php/messages/batches/results.md index 4408634b3..09fe92b8c 100644 --- a/content/en/api/php/messages/batches/results.md +++ b/content/en/api/php/messages/batches/results.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/messages/batches/retrieve.md b/content/en/api/php/messages/batches/retrieve.md index e53ba8a81..39fabaa45 100644 --- a/content/en/api/php/messages/batches/retrieve.md +++ b/content/en/api/php/messages/batches/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/messages/count_tokens.md b/content/en/api/php/messages/count_tokens.md index 7b84f7813..a729035a6 100644 --- a/content/en/api/php/messages/count_tokens.md +++ b/content/en/api/php/messages/count_tokens.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/php/messages/create.md b/content/en/api/php/messages/create.md index df396bc3b..7d3779a7f 100644 --- a/content/en/api/php/messages/create.md +++ b/content/en/api/php/messages/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/php/models.md b/content/en/api/php/models.md index 9081238d8..7e0db174a 100644 --- a/content/en/api/php/models.md +++ b/content/en/api/php/models.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/php/models/list.md b/content/en/api/php/models/list.md index 91a1fdd93..5a8fe69ef 100644 --- a/content/en/api/php/models/list.md +++ b/content/en/api/php/models/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/php/models/retrieve.md b/content/en/api/php/models/retrieve.md index 86126b3fd..57848cf3a 100644 --- a/content/en/api/php/models/retrieve.md +++ b/content/en/api/php/models/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/sdks/php.md b/content/en/api/sdks/php.md index 21efdc87c..3f4d91ec8 100644 --- a/content/en/api/sdks/php.md +++ b/content/en/api/sdks/php.md @@ -28,7 +28,7 @@ PHP 8.1.0 or higher. This library uses named parameters to specify optional arguments. Parameters with a default value must be set by name. -```php +```php hidelines={1..4} withData("U3RhaW5s The SDK provides support for streaming responses using Server-Sent Events (SSE). -```php +```php hidelines={1..4} -```php hidelines={2..3,6..7} +```php hidelines={2..3,5..7} request`, like so: -```php hidelines={2..4} nocheck +```php hidelines={1..2} nocheck -```ruby hidelines={1..3} nocheck +```ruby hidelines={1} nocheck require "anthropic" anthropic = Anthropic::Client.new value = "example" @@ -373,10 +377,10 @@ If you want to explicitly send an extra param, you can do so with the `extra_que ### Undocumented endpoints -To make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `client.request`, like so: +To make requests to undocumented endpoints while retaining the benefit of auth, retries, and so on, you can make requests using `anthropic.request`, like so: ```ruby nocheck -response = client.request( +response = anthropic.request( method: :post, path: '/undocumented/endpoint', query: {"dog": "woof"}, diff --git a/content/en/api/sdks/typescript.md b/content/en/api/sdks/typescript.md index dbd0b13b2..2cc4c6562 100644 --- a/content/en/api/sdks/typescript.md +++ b/content/en/api/sdks/typescript.md @@ -88,7 +88,7 @@ console.log(message.usage); The SDK provides support for streaming responses using Server Sent Events (SSE). -```typescript hidelines={1..4} +```typescript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -110,7 +110,7 @@ If you need to cancel a stream, you can `break` from the loop or call `stream.co This library provides several conveniences for streaming messages, for example: -```typescript hidelines={1..4} +```typescript hidelines={1..5,-3..-1} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -547,7 +547,7 @@ If you need to, you can override it by setting default headers on a per-request Be aware that doing so may result in incorrect types and other unexpected or undefined behavior in the SDK. -```typescript nocheck hidelines={1..4} +```typescript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -572,7 +572,7 @@ This method returns as soon as the headers for a successful response are receive You can also use the `.withResponse()` method to get the raw `Response` along with the parsed data. Unlike `.asResponse()` this method consumes the body, returning once it is parsed. -```typescript hidelines={1..2} +```typescript const client = new Anthropic(); const response = await client.messages @@ -610,7 +610,7 @@ The log level can be configured in two ways: 1. Via the `ANTHROPIC_LOG` environment variable 2. Using the `logLevel` client option (overrides the environment variable if set) -```typescript +```typescript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic({ @@ -707,7 +707,7 @@ globalThis.fetch = fetch; Or pass it to the client: -```typescript nocheck +```typescript nocheck hidelines={1} import Anthropic from "@anthropic-ai/sdk"; import fetch from "my-fetch"; @@ -783,7 +783,7 @@ You can access most beta API features through the beta property of the client. T For example, to use the [Files API](/docs/en/build-with-claude/files): -```typescript nocheck hidelines={1..3} +```typescript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); diff --git a/content/en/api/terraform/beta.md b/content/en/api/terraform/beta.md index ddc8598cf..0282ac512 100644 --- a/content/en/api/terraform/beta.md +++ b/content/en/api/terraform/beta.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/files.md b/content/en/api/terraform/beta/files.md index 78dd0f852..3c838610f 100644 --- a/content/en/api/terraform/beta/files.md +++ b/content/en/api/terraform/beta/files.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/files/delete.md b/content/en/api/terraform/beta/files/delete.md index 0f0da4cf0..6aa0c75a2 100644 --- a/content/en/api/terraform/beta/files/delete.md +++ b/content/en/api/terraform/beta/files/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/files/download.md b/content/en/api/terraform/beta/files/download.md index 067fde111..d8b76a947 100644 --- a/content/en/api/terraform/beta/files/download.md +++ b/content/en/api/terraform/beta/files/download.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/files/list.md b/content/en/api/terraform/beta/files/list.md index 2fe2cf835..0756b964a 100644 --- a/content/en/api/terraform/beta/files/list.md +++ b/content/en/api/terraform/beta/files/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/files/retrieve_metadata.md b/content/en/api/terraform/beta/files/retrieve_metadata.md index 08429b8cd..a9497a3c7 100644 --- a/content/en/api/terraform/beta/files/retrieve_metadata.md +++ b/content/en/api/terraform/beta/files/retrieve_metadata.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/files/upload.md b/content/en/api/terraform/beta/files/upload.md index d1e1e9cf2..2cce8739a 100644 --- a/content/en/api/terraform/beta/files/upload.md +++ b/content/en/api/terraform/beta/files/upload.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages.md b/content/en/api/terraform/beta/messages.md index c29a951ce..91970d29c 100644 --- a/content/en/api/terraform/beta/messages.md +++ b/content/en/api/terraform/beta/messages.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches.md b/content/en/api/terraform/beta/messages/batches.md index 5dcd942f2..8537f5042 100644 --- a/content/en/api/terraform/beta/messages/batches.md +++ b/content/en/api/terraform/beta/messages/batches.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches/cancel.md b/content/en/api/terraform/beta/messages/batches/cancel.md index b4e0f268d..69dcc9591 100644 --- a/content/en/api/terraform/beta/messages/batches/cancel.md +++ b/content/en/api/terraform/beta/messages/batches/cancel.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches/create.md b/content/en/api/terraform/beta/messages/batches/create.md index 1f3cc8f2c..303426700 100644 --- a/content/en/api/terraform/beta/messages/batches/create.md +++ b/content/en/api/terraform/beta/messages/batches/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches/delete.md b/content/en/api/terraform/beta/messages/batches/delete.md index 0049e4042..922389f36 100644 --- a/content/en/api/terraform/beta/messages/batches/delete.md +++ b/content/en/api/terraform/beta/messages/batches/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches/list.md b/content/en/api/terraform/beta/messages/batches/list.md index 273f450a7..247049ed7 100644 --- a/content/en/api/terraform/beta/messages/batches/list.md +++ b/content/en/api/terraform/beta/messages/batches/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches/results.md b/content/en/api/terraform/beta/messages/batches/results.md index 75949a50d..618c22e7a 100644 --- a/content/en/api/terraform/beta/messages/batches/results.md +++ b/content/en/api/terraform/beta/messages/batches/results.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/batches/retrieve.md b/content/en/api/terraform/beta/messages/batches/retrieve.md index faa51770c..a63efdb97 100644 --- a/content/en/api/terraform/beta/messages/batches/retrieve.md +++ b/content/en/api/terraform/beta/messages/batches/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/count_tokens.md b/content/en/api/terraform/beta/messages/count_tokens.md index 23bcfc8b4..32d4d8240 100644 --- a/content/en/api/terraform/beta/messages/count_tokens.md +++ b/content/en/api/terraform/beta/messages/count_tokens.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/messages/create.md b/content/en/api/terraform/beta/messages/create.md index 00093f19b..455050839 100644 --- a/content/en/api/terraform/beta/messages/create.md +++ b/content/en/api/terraform/beta/messages/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/models.md b/content/en/api/terraform/beta/models.md index c1c0336c6..42d8621a5 100644 --- a/content/en/api/terraform/beta/models.md +++ b/content/en/api/terraform/beta/models.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/models/list.md b/content/en/api/terraform/beta/models/list.md index baca482aa..226d39856 100644 --- a/content/en/api/terraform/beta/models/list.md +++ b/content/en/api/terraform/beta/models/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/models/retrieve.md b/content/en/api/terraform/beta/models/retrieve.md index b09f2eacb..9425a6d75 100644 --- a/content/en/api/terraform/beta/models/retrieve.md +++ b/content/en/api/terraform/beta/models/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills.md b/content/en/api/terraform/beta/skills.md index 53f2b06a9..3025b9dfd 100644 --- a/content/en/api/terraform/beta/skills.md +++ b/content/en/api/terraform/beta/skills.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/create.md b/content/en/api/terraform/beta/skills/create.md index 2944f58d4..187ae728d 100644 --- a/content/en/api/terraform/beta/skills/create.md +++ b/content/en/api/terraform/beta/skills/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/delete.md b/content/en/api/terraform/beta/skills/delete.md index 3980cd0c3..298fd1f4e 100644 --- a/content/en/api/terraform/beta/skills/delete.md +++ b/content/en/api/terraform/beta/skills/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/list.md b/content/en/api/terraform/beta/skills/list.md index 4adcb8746..d7d648952 100644 --- a/content/en/api/terraform/beta/skills/list.md +++ b/content/en/api/terraform/beta/skills/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/retrieve.md b/content/en/api/terraform/beta/skills/retrieve.md index 1131b8e93..c22a158fa 100644 --- a/content/en/api/terraform/beta/skills/retrieve.md +++ b/content/en/api/terraform/beta/skills/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/versions.md b/content/en/api/terraform/beta/skills/versions.md index 3c14346e8..2d6bb4682 100644 --- a/content/en/api/terraform/beta/skills/versions.md +++ b/content/en/api/terraform/beta/skills/versions.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/versions/create.md b/content/en/api/terraform/beta/skills/versions/create.md index 6960f6213..036c26482 100644 --- a/content/en/api/terraform/beta/skills/versions/create.md +++ b/content/en/api/terraform/beta/skills/versions/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/versions/delete.md b/content/en/api/terraform/beta/skills/versions/delete.md index c95898a90..69e12e3e6 100644 --- a/content/en/api/terraform/beta/skills/versions/delete.md +++ b/content/en/api/terraform/beta/skills/versions/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/versions/list.md b/content/en/api/terraform/beta/skills/versions/list.md index 9b6edf199..a44e7828d 100644 --- a/content/en/api/terraform/beta/skills/versions/list.md +++ b/content/en/api/terraform/beta/skills/versions/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/beta/skills/versions/retrieve.md b/content/en/api/terraform/beta/skills/versions/retrieve.md index ce32034bb..8744edf10 100644 --- a/content/en/api/terraform/beta/skills/versions/retrieve.md +++ b/content/en/api/terraform/beta/skills/versions/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/completions.md b/content/en/api/terraform/completions.md index bb38ce003..9b5685d80 100644 --- a/content/en/api/terraform/completions.md +++ b/content/en/api/terraform/completions.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/completions/create.md b/content/en/api/terraform/completions/create.md index 7f9ad9213..238b26614 100644 --- a/content/en/api/terraform/completions/create.md +++ b/content/en/api/terraform/completions/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/messages.md b/content/en/api/terraform/messages.md index db60501c7..337f25166 100644 --- a/content/en/api/terraform/messages.md +++ b/content/en/api/terraform/messages.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches.md b/content/en/api/terraform/messages/batches.md index bc8d5c6a4..bea1c5390 100644 --- a/content/en/api/terraform/messages/batches.md +++ b/content/en/api/terraform/messages/batches.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches/cancel.md b/content/en/api/terraform/messages/batches/cancel.md index 1ded6a552..9ed0b7238 100644 --- a/content/en/api/terraform/messages/batches/cancel.md +++ b/content/en/api/terraform/messages/batches/cancel.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches/create.md b/content/en/api/terraform/messages/batches/create.md index fe574cccc..b5bd08e86 100644 --- a/content/en/api/terraform/messages/batches/create.md +++ b/content/en/api/terraform/messages/batches/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches/delete.md b/content/en/api/terraform/messages/batches/delete.md index c2194e358..b070359f7 100644 --- a/content/en/api/terraform/messages/batches/delete.md +++ b/content/en/api/terraform/messages/batches/delete.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches/list.md b/content/en/api/terraform/messages/batches/list.md index 1ad55d09b..cb0e9a59b 100644 --- a/content/en/api/terraform/messages/batches/list.md +++ b/content/en/api/terraform/messages/batches/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches/results.md b/content/en/api/terraform/messages/batches/results.md index eb65eef09..6a7ebd55e 100644 --- a/content/en/api/terraform/messages/batches/results.md +++ b/content/en/api/terraform/messages/batches/results.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/messages/batches/retrieve.md b/content/en/api/terraform/messages/batches/retrieve.md index cbbb39efe..f7a7379eb 100644 --- a/content/en/api/terraform/messages/batches/retrieve.md +++ b/content/en/api/terraform/messages/batches/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/messages/count_tokens.md b/content/en/api/terraform/messages/count_tokens.md index 5f5db8263..3fb77d0c6 100644 --- a/content/en/api/terraform/messages/count_tokens.md +++ b/content/en/api/terraform/messages/count_tokens.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/api/terraform/messages/create.md b/content/en/api/terraform/messages/create.md index 1ba5aabf5..222a4cc39 100644 --- a/content/en/api/terraform/messages/create.md +++ b/content/en/api/terraform/messages/create.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \ No newline at end of file diff --git a/content/en/api/terraform/models.md b/content/en/api/terraform/models.md index 0c394dde2..11923372a 100644 --- a/content/en/api/terraform/models.md +++ b/content/en/api/terraform/models.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \ No newline at end of file diff --git a/content/en/api/terraform/models/list.md b/content/en/api/terraform/models/list.md index e648b58a6..7e8a124de 100644 --- a/content/en/api/terraform/models/list.md +++ b/content/en/api/terraform/models/list.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \ No newline at end of file diff --git a/content/en/api/terraform/models/retrieve.md b/content/en/api/terraform/models/retrieve.md index 9bbb47c67..5e32ac546 100644 --- a/content/en/api/terraform/models/retrieve.md +++ b/content/en/api/terraform/models/retrieve.md @@ -1 +1 @@ -Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \ No newline at end of file +Not Found - Claude API Docs
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \ No newline at end of file diff --git a/content/en/build-with-claude/adaptive-thinking.md b/content/en/build-with-claude/adaptive-thinking.md index 281fc8981..c4f6d4b49 100644 --- a/content/en/build-with-claude/adaptive-thinking.md +++ b/content/en/build-with-claude/adaptive-thinking.md @@ -57,7 +57,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -81,7 +81,7 @@ for block in response.content: print(f"\nResponse: {block.text}") ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -190,7 +190,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..5,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -223,7 +223,7 @@ public class ExtendedThinkingExample { } ``` -```php PHP +```php PHP hidelines={1..4} content as $block) { } ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -317,7 +317,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -333,7 +333,7 @@ response = client.messages.create( print(response.content[0].text) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -389,7 +389,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -423,7 +423,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..5,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -454,7 +454,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -502,7 +502,7 @@ puts message.content.first.text Adaptive thinking works seamlessly with [streaming](/docs/en/build-with-claude/streaming). Thinking blocks are streamed via `thinking_delta` events just like manual thinking mode: -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -528,7 +528,7 @@ with client.messages.stream( print(event.delta.text, end="", flush=True) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -581,7 +581,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -626,7 +626,7 @@ func main() { } ``` -```java Java hidelines={1..8,-1} +```java Java hidelines={1..4,6..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -669,7 +669,7 @@ public class StreamingThinkingExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->batches->create( print_r($batch); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -445,7 +445,7 @@ The Message Batch's `processing_status` field indicates the stage of processing To poll a Message Batch, you'll need its `id`, which is provided in the response when creating a batch or by listing batches. You can implement a polling loop that checks the batch status periodically until processing has ended: -```bash Shell hidelines={2..15,23} +```bash Shell hidelines={2..16,23} #!/bin/sh MESSAGE_BATCH_ID=$(curl -s https://api.anthropic.com/v1/messages/batches \ --header "x-api-key: $ANTHROPIC_API_KEY" \ @@ -475,7 +475,7 @@ done echo "Batch $MESSAGE_BATCH_ID has finished processing" ``` -```python Python nocheck hidelines={1,3..5,-1} +```python Python nocheck hidelines={1} import anthropic import time @@ -494,7 +494,7 @@ while True: print(message_batch) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -579,7 +579,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..6,-1} +```java Java nocheck hidelines={1..2,4..6,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.batches.MessageBatch; @@ -604,7 +604,7 @@ public class MessageBatchPolling { } ``` -```php PHP hidelines={1..5} nocheck +```php PHP hidelines={1..4} nocheck messages->batches->list(limit: 20)->pagingEachItem() as $messa } ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -872,7 +872,7 @@ curl "https://api.anthropic.com/v1/messages/batches/msgbatch_01HkcTjaV5uDC8jWR4Z ``` -```python Python nocheck hidelines={1..4} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -895,7 +895,7 @@ for result in client.messages.batches.results( print(f"Request expired {result.custom_id}") ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -962,7 +962,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -997,7 +997,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..9,-1} +```java Java nocheck hidelines={1..2,6..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.http.StreamResponse; @@ -1042,7 +1042,7 @@ public class BatchResultsExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->batches->resultsStream(messageBatchID: 'msgbatch_01H } ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1132,7 +1132,7 @@ curl --request POST https://api.anthropic.com/v1/messages/batches/$MESSAGE_BATCH --header "anthropic-version: 2023-06-01" ``` -```python Python nocheck hidelines={1..4,-1} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1145,7 +1145,7 @@ message_batch = client.messages.batches.cancel( print(message_batch) ``` -```typescript TypeScript nocheck +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -1172,7 +1172,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..12,-1} package main import ( @@ -1196,7 +1196,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..7,-1} +```java Java nocheck hidelines={1..2,4..7,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.batches.*; @@ -1215,7 +1215,7 @@ public class BatchCancelExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->batches->cancel( echo $messageBatch; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1330,7 +1330,7 @@ curl https://api.anthropic.com/v1/messages/batches \ }' ``` -```python Python hidelines={1,4..6} +```python Python hidelines={1} import anthropic from anthropic.types.message_create_params import MessageCreateParamsNonStreaming from anthropic.types.messages.batch_create_params import Request @@ -1391,7 +1391,7 @@ message_batch = client.messages.batches.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -1519,7 +1519,7 @@ public class Program } ``` -```go Go hidelines={1..12,-1} +```go Go hidelines={1..10,-1} package main import ( @@ -1581,7 +1581,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..2,4..5,7..11,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -1653,7 +1653,7 @@ public class BatchExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->batches->create( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/build-with-claude/citations.md b/content/en/build-with-claude/citations.md index ab20c12fa..55b237037 100644 --- a/content/en/build-with-claude/citations.md +++ b/content/en/build-with-claude/citations.md @@ -47,7 +47,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -78,7 +78,7 @@ response = client.messages.create( print(response) ``` -```java Java hidelines={1..8,-1} +```java Java hidelines={1..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.*; @@ -235,7 +235,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -275,7 +275,7 @@ response = client.messages.create( print(response) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); diff --git a/content/en/build-with-claude/claude-in-microsoft-foundry.md b/content/en/build-with-claude/claude-in-microsoft-foundry.md index 069ff0aac..b5db6d93b 100644 --- a/content/en/build-with-claude/claude-in-microsoft-foundry.md +++ b/content/en/build-with-claude/claude-in-microsoft-foundry.md @@ -217,7 +217,7 @@ Console.WriteLine( -```java Java nocheck hidelines={1..5} +```java Java nocheck import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.foundry.backends.FoundryBackend; @@ -393,7 +393,7 @@ Console.WriteLine( -```java Java nocheck hidelines={1..4,7..8} +```java Java nocheck hidelines={1..2,4,8} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.foundry.backends.FoundryBackend; diff --git a/content/en/build-with-claude/claude-on-amazon-bedrock.md b/content/en/build-with-claude/claude-on-amazon-bedrock.md index dcc30372a..9579733bb 100644 --- a/content/en/build-with-claude/claude-on-amazon-bedrock.md +++ b/content/en/build-with-claude/claude-on-amazon-bedrock.md @@ -61,7 +61,7 @@ implementation("com.anthropic:anthropic-java-bedrock:2.18.0") ``` -```java Java nocheck hidelines={1..9,-1} +```java Java nocheck hidelines={7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.bedrock.backends.BedrockBackend; @@ -237,7 +237,7 @@ The following examples show how to print a list of all the Claude models availab ``` - ```java Java nocheck hidelines={1..8,-1} + ```java Java nocheck hidelines={6..8,-2..} import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.bedrock.BedrockClient; import software.amazon.awssdk.services.bedrock.model.ListFoundationModelsRequest; @@ -332,7 +332,7 @@ The following examples show how to generate text from Claude on Bedrock: ``` - ```typescript TypeScript nocheck hidelines={1..21} + ```typescript TypeScript nocheck import AnthropicBedrock from "@anthropic-ai/bedrock-sdk"; const client = new AnthropicBedrock({ @@ -421,7 +421,7 @@ The following examples show how to generate text from Claude on Bedrock: ``` - ```java Java nocheck hidelines={1..9,-1} + ```java Java nocheck hidelines={6..9,-2..} import com.anthropic.bedrock.backends.BedrockBackend; import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; @@ -583,7 +583,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..5} +```java Java nocheck import com.anthropic.bedrock.backends.BedrockBackend; import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; @@ -695,7 +695,7 @@ message = client.messages.create( ) ``` -```typescript TypeScript nocheck hidelines={1..6} +```typescript TypeScript nocheck import AnthropicBedrock from "@anthropic-ai/bedrock-sdk"; const client = new AnthropicBedrock({ @@ -728,7 +728,7 @@ var response = await client.Messages.Create(new MessageCreateParams }); ``` -```go Go hidelines={1..10,-1} +```go Go hidelines={1..2,9..10,-1} package main import ( @@ -755,7 +755,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..5} +```java Java nocheck import com.anthropic.bedrock.backends.BedrockBackend; import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; @@ -827,7 +827,7 @@ message = client.messages.create( ) ``` -```typescript TypeScript nocheck hidelines={1..7} +```typescript TypeScript nocheck import AnthropicBedrock from "@anthropic-ai/bedrock-sdk"; const client = new AnthropicBedrock({ @@ -859,7 +859,7 @@ var response = await client.Messages.Create(new MessageCreateParams }); ``` -```go Go hidelines={1..10,-1} +```go Go hidelines={1..2,9..10,-1} package main import ( @@ -887,7 +887,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..5} +```java Java nocheck import com.anthropic.bedrock.backends.BedrockBackend; import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; diff --git a/content/en/build-with-claude/claude-on-vertex-ai.md b/content/en/build-with-claude/claude-on-vertex-ai.md index 4655fe231..d9faaa471 100644 --- a/content/en/build-with-claude/claude-on-vertex-ai.md +++ b/content/en/build-with-claude/claude-on-vertex-ai.md @@ -56,7 +56,7 @@ implementation("com.anthropic:anthropic-java-vertex:2.18.0") ``` -```java Java nocheck hidelines={1..9,-1} +```java Java nocheck hidelines={7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.vertex.backends.VertexBackend; @@ -174,7 +174,7 @@ The following examples show how to generate text from Claude on Vertex AI: ``` - ```typescript TypeScript nocheck hidelines={1..2} + ```typescript TypeScript nocheck import { AnthropicVertex } from "@anthropic-ai/vertex-sdk"; const projectId = "MY_PROJECT_ID"; @@ -229,7 +229,7 @@ The following examples show how to generate text from Claude on Vertex AI: ``` - ```go Go nocheck hidelines={1..11,-1} + ```go Go nocheck hidelines={1..2,10..11,-1} package main import ( @@ -261,7 +261,7 @@ The following examples show how to generate text from Claude on Vertex AI: ``` - ```java Java nocheck hidelines={1..9,-1} + ```java Java nocheck hidelines={6..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Message; @@ -415,7 +415,7 @@ message = client.messages.create( print(message) ``` -```typescript TypeScript nocheck hidelines={1..2} +```typescript TypeScript nocheck import { AnthropicVertex } from "@anthropic-ai/vertex-sdk"; const projectId = "MY_PROJECT_ID"; @@ -462,7 +462,7 @@ var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` -```go Go nocheck hidelines={1..10,-1} +```go Go nocheck hidelines={1..2,9..10,-1} package main import ( @@ -489,7 +489,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..5} +```java Java nocheck import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -577,7 +577,7 @@ message = client.messages.create( print(message) ``` -```typescript TypeScript nocheck hidelines={1..2} +```typescript TypeScript nocheck import { AnthropicVertex } from "@anthropic-ai/vertex-sdk"; const projectId = "MY_PROJECT_ID"; @@ -624,7 +624,7 @@ var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` -```go Go nocheck hidelines={1..10,-1} +```go Go nocheck hidelines={1..2,9..10,-1} package main import ( @@ -651,7 +651,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..5} +```java Java nocheck import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; diff --git a/content/en/build-with-claude/compaction.md b/content/en/build-with-claude/compaction.md index ad1f7b31c..e41d4f0f4 100644 --- a/content/en/build-with-claude/compaction.md +++ b/content/en/build-with-claude/compaction.md @@ -79,7 +79,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -98,7 +98,7 @@ response = client.beta.messages.create( messages.append({"role": "assistant", "content": response.content}) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -172,7 +172,7 @@ class Program } } ``` -```go Go hidelines={1..13,-3..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -212,7 +212,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..4,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -243,7 +243,7 @@ public class CompactionExample { } ``` -```php PHP +```php PHP hidelines={1..4} 'assistant', 'content' => $response->content]; echo $response->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -312,7 +312,7 @@ puts response Configure when compaction triggers using the `trigger` parameter: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -333,7 +333,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript hidelines={1..3} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -358,7 +358,7 @@ const response = await client.beta.messages.create({ } as unknown as Anthropic.Beta.Messages.MessageCreateParamsNonStreaming); ``` -```csharp C# hidelines={1..12,-2..-1} +```csharp C# hidelines={1..13,-2..} using System; using System.Collections.Generic; using System.Threading.Tasks; @@ -392,7 +392,7 @@ class Program } } ``` -```go Go hidelines={1..14,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -427,7 +427,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..4,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -460,7 +460,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} beta->messages->create( echo $message; ``` -```ruby Ruby hidelines={4} +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -527,7 +527,7 @@ You have written a partial transcript for the initial task above. Please write a You can provide custom instructions via the `instructions` parameter to replace this prompt entirely. Custom instructions don't supplement the default; they completely replace it: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -548,7 +548,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript nocheck hidelines={1..3} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -608,7 +608,7 @@ class Program } } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -646,7 +646,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..4,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -678,7 +678,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..3} beta->messages->create( echo $response->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -742,7 +742,7 @@ Use `pause_after_compaction` to pause the API after generating the compaction su When enabled, the API returns a message with the `compaction` stop reason after generating the compaction block: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -772,7 +772,7 @@ if response.stop_reason == "compaction": ) ``` -```typescript TypeScript hidelines={1..3} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -873,7 +873,7 @@ class Program } } ``` -```go Go hidelines={1..12,-3..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -930,7 +930,7 @@ func main() { } ``` -```java Java hidelines={1..12,-1} +```java Java hidelines={1..4,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -981,7 +981,7 @@ public class CompactionPauseExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} stopReason === 'compaction') { echo $response; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1069,7 +1069,7 @@ puts response When a model works on long tasks with many tool-use iterations, total token consumption can grow significantly. You can combine `pause_after_compaction` with a compaction counter to estimate cumulative usage and gracefully wrap up the task once a budget is reached: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1134,7 +1134,7 @@ A long-running conversation may result in multiple compactions. The last compact You must pass the `compaction` block back to the API on subsequent requests to continue the conversation with the shortened prompt. The simplest approach is to append the entire response content to your messages: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1161,7 +1161,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript hidelines={1..3} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1253,7 +1253,7 @@ class Program } } ``` -```go Go hidelines={1..13,-6..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1307,7 +1307,7 @@ func main() { } ``` -```java Java +```java Java hidelines={1..4,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1351,7 +1351,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $nextResponse->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1436,7 +1436,7 @@ When the API receives a `compaction` block, all content blocks before it are ign When streaming responses with compaction enabled, you'll receive a `content_block_start` event when compaction begins. The compaction block streams differently from text blocks. You'll receive a `content_block_start` event, followed by a single `content_block_delta` with the complete summary content (no intermediate streaming), and then a `content_block_stop` event. -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1467,7 +1467,7 @@ with client.beta.messages.stream( messages.append({"role": "assistant", "content": message.content}) ``` -```typescript TypeScript nocheck hidelines={1..3} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1509,7 +1509,7 @@ messages.push({ }); ``` -```csharp C# hidelines={1..12,-2..-1} +```csharp C# hidelines={1..13,-2..} using System; using System.Collections.Generic; using System.Threading.Tasks; @@ -1563,7 +1563,7 @@ class Program } } ``` -```go Go hidelines={1..14,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1615,7 +1615,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..3,6..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1661,7 +1661,7 @@ public class CompactionStreamingExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1787,7 +1787,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript hidelines={1..3} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1849,7 +1849,7 @@ class Program } } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1887,7 +1887,7 @@ func main() { } ``` -```java Java hidelines={1..14,-1} +```java Java hidelines={1..5,9..12,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1924,7 +1924,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..3} beta->messages->create( echo $response->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2027,7 +2027,7 @@ When using server tools (like web search), the compaction trigger is checked at The token counting endpoint (`/v1/messages/count_tokens`) applies existing `compaction` blocks in your prompt but does not trigger new compactions. Use it to check your effective token count after previous compactions: -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -2043,7 +2043,7 @@ print(f"Current tokens: {count_response.input_tokens}") print(f"Original tokens: {count_response.context_management.original_input_tokens}") ``` -```typescript TypeScript hidelines={1..3} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2064,7 +2064,7 @@ console.log(`Current tokens: ${countResponse.input_tokens}`); console.log(`Original tokens: ${countResponse.context_management!.original_input_tokens}`); ``` -```csharp C# hidelines={1..12,-2..-1} +```csharp C# hidelines={1..13,-2..} using System; using System.Collections.Generic; using System.Threading.Tasks; @@ -2095,7 +2095,7 @@ class Program } } ``` -```go Go hidelines={1..14,-7..-5,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2129,7 +2129,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..2,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.BetaMessageTokensCount; @@ -2157,7 +2157,7 @@ public class Main { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} inputTokens . "\n"; echo "Original tokens: " . $countResponse->contextManagement->originalInputTokens . "\n"; ``` -```ruby Ruby hidelines={4} +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2205,7 +2205,7 @@ puts "Original tokens: #{count_response.context_management.original_input_tokens Here's a complete example of a long-running conversation with compaction: -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -2245,7 +2245,7 @@ print(chat("Now add rate limiting and error handling")) # ... continue as long as needed ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2393,7 +2393,7 @@ func main() { } ``` -```java Java hidelines={1..12,-1} +```java Java hidelines={1..5,9..12,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -2449,7 +2449,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..4} +```php PHP hidelines={1..3} -```python Python +```python Python hidelines={1} import anthropic from typing import Any @@ -2597,7 +2597,7 @@ print(chat("Now add rate limiting and error handling")) # ... continue as long as needed ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2845,7 +2845,7 @@ func main() { } ``` -```java Java hidelines={1..12,-1} +```java Java hidelines={1..5,10..13,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -2934,7 +2934,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} beta->messages->create( echo $response; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -527,7 +527,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -582,7 +582,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..16,-1} +```java Java nocheck hidelines={1..4,13..16,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -634,7 +634,7 @@ public class ContextManagementExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $message; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -869,7 +869,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-5..-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -908,7 +908,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..13,-1} +```java Java nocheck hidelines={1..4,10..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -946,7 +946,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $message; ``` -```ruby Ruby hidelines={4} +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1171,7 +1171,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..13,-5..-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1223,7 +1223,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..16,-1} +```java Java nocheck hidelines={1..4,13..16,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1272,7 +1272,7 @@ public class ContextManagementExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $message; ``` -```ruby Ruby hidelines={4} +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1562,7 +1562,7 @@ Console.WriteLine($"After clearing: {response.InputTokens}"); Console.WriteLine($"Savings: {(response.ContextManagement?.OriginalInputTokens ?? 0) - response.InputTokens} tokens"); ``` -```go Go hidelines={1..11,-8..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1609,7 +1609,7 @@ func main() { } ``` -```java Java hidelines={1..13,-1} +```java Java hidelines={1..2,10..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.BetaMessageTokensCount; @@ -1650,7 +1650,7 @@ public class TokenCountExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} inputTokens . "\n"; echo "Savings: " . ($response->contextManagement->originalInputTokens - $response->inputTokens) . " tokens\n"; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1825,7 +1825,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-5..-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1860,7 +1860,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..12,-1} +```java Java nocheck hidelines={1..4,9..12,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1891,7 +1891,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $response; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1975,7 +1975,7 @@ Add `compaction_control` to your `tool_runner` call: -```python Python nocheck hidelines={1..4} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1999,7 +1999,7 @@ for message in runner: final = runner.until_done() ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2069,7 +2069,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..13,-6..-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -2111,7 +2111,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..12,-1} +```java Java nocheck hidelines={1..4,8,10..12,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -2148,7 +2148,7 @@ public class CompactionExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo "Tokens used: " . $response->usage->inputTokens . "\n"; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2503,7 +2503,7 @@ class CompactionLogging } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..13,19..20} package main import ( @@ -2558,7 +2558,7 @@ func chat(client anthropic.Client, messages *[]anthropic.BetaMessageParam, userM } ``` -```java Java nocheck hidelines={1..13,-1} +```java Java nocheck hidelines={1..5,8..13,25..26,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -2616,7 +2616,7 @@ public class CompactionLogging { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..5} nocheck messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/build-with-claude/extended-thinking.md b/content/en/build-with-claude/extended-thinking.md index 350e088ea..60549a388 100644 --- a/content/en/build-with-claude/extended-thinking.md +++ b/content/en/build-with-claude/extended-thinking.md @@ -81,7 +81,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -106,7 +106,7 @@ for block in response.content: print(f"\nResponse: {block.text}") ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -178,7 +178,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -215,7 +215,7 @@ func main() { } ``` -```java Java hidelines={1..8,-1} +```java Java hidelines={1..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -247,7 +247,7 @@ public class ExtendedThinkingExample { } ``` -```php PHP +```php PHP hidelines={1..4} content as $block) { } ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -393,7 +393,7 @@ curl https://api.anthropic.com/v1/messages \ -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -426,7 +426,7 @@ for block in response.content: TypeScript SDK types don't yet include `display`. The type assertion passes it through at runtime; the SDK forwards unknown parameters to the API. -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -641,7 +641,7 @@ public class ThinkingDisplay { Native SDK support for the `display` field is coming soon. Until then, you can use a direct HTTP request: -```php PHP +```php PHP hidelines={1..2} Native SDK support for the `display` field is coming soon. Until then, you can use a direct HTTP request: -```ruby Ruby hidelines={1..4} +```ruby Ruby require "net/http" require "json" require "uri" @@ -781,7 +781,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -821,7 +821,7 @@ with client.messages.stream( print("\nBlock complete.") ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -931,7 +931,7 @@ public class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -990,7 +990,7 @@ func main() { } ``` -```java Java hidelines={1..7,-1} +```java Java hidelines={1..7,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -1029,7 +1029,7 @@ public class ExtendedThinkingStreaming { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1516,7 +1516,7 @@ The API response includes thinking, text, and tool_use blocks: Now let's continue the conversation and use the tool -```python Python hidelines={1..4} +```python Python hidelines={1} import anthropic from typing import Any @@ -1695,7 +1695,7 @@ public class Program } ``` -```go Go hidelines={1..13,-6..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1769,7 +1769,7 @@ func main() { } ``` -```java Java hidelines={1..18,-1} +```java Java hidelines={1..10,13..18,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.ContentBlockParam; @@ -1858,7 +1858,7 @@ public class ExtendedThinkingToolUse { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $continuation; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2174,7 +2174,7 @@ User: [Text response, cache=True]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -```python Python hidelines={1,4..5} +```python Python hidelines={1} from anthropic import Anthropic import requests from bs4 import BeautifulSoup @@ -2528,7 +2528,7 @@ func main() { } ``` -```java Java hidelines={1..15,-1} +```java Java hidelines={1..2,4..15,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -2615,7 +2615,7 @@ public class ThinkingCacheExample { } ``` -```php PHP hidelines={1..7} +```php PHP hidelines={1..5} messages->create( echo "Third response usage: " . json_encode($response3->usage) . "\n"; ``` -```ruby Ruby +```ruby Ruby hidelines={1} require "anthropic" require "net/http" require "uri" @@ -2767,7 +2767,7 @@ puts "Third response usage: #{response3.usage}"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -```python Python hidelines={1,4..5} +```python Python hidelines={1} from anthropic import Anthropic import requests from bs4 import BeautifulSoup @@ -3105,7 +3105,7 @@ public class Program } ``` -```go Go hidelines={1..41,-5..-1} +```go Go hidelines={1..41,-1} package main import ( @@ -3216,7 +3216,7 @@ func main() { } ``` -```java Java hidelines={1..16,-1} +```java Java hidelines={1..2,4..16,94..95,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -3441,7 +3441,7 @@ $response3 = $client->messages->create( echo "Third response usage: " . json_encode($response3->usage) . "\n"; ``` -```ruby Ruby +```ruby Ruby hidelines={1} require "anthropic" require "net/http" require "uri" diff --git a/content/en/build-with-claude/fast-mode.md b/content/en/build-with-claude/fast-mode.md index 34fb95f44..9c4147d87 100644 --- a/content/en/build-with-claude/fast-mode.md +++ b/content/en/build-with-claude/fast-mode.md @@ -48,7 +48,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -66,7 +66,7 @@ response = client.beta.messages.create( print(response.content[0].text) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -110,7 +110,7 @@ var response = await client.Beta.Messages.Create(new MessageCreateParams Console.WriteLine(response); ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -140,7 +140,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.AnthropicBeta; @@ -166,7 +166,7 @@ public class FastModeExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $response->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -297,7 +297,7 @@ var response = await client.Beta.Messages.Create(new MessageCreateParams Console.WriteLine(response.Usage.Speed); // "fast" or "standard" ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -327,7 +327,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.AnthropicBeta; @@ -353,7 +353,7 @@ public class FastModeUsage { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} -```python Python nocheck hidelines={1..4} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -612,7 +612,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..2,5..11,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.errors.InternalServerException; @@ -662,7 +662,7 @@ public class FastModeFallback { } ``` -```php PHP hidelines={1..10} +```php PHP hidelines={1..3,8} -```bash Shell hidelines={3} +```bash Shell hidelines={3..4} # Example: Reading a text file and sending it as plain text # Note: For files with special characters, consider base64 encoding TEXT_CONTENT="This is a sample document. It has multiple lines." @@ -412,7 +412,7 @@ curl https://api.anthropic.com/v1/messages \ EOF ``` -```python Python nocheck hidelines={2..4,-1} +```python Python nocheck hidelines={2..5} import pandas as pd import anthropic @@ -511,7 +511,7 @@ class Program } ``` -```go Go hidelines={12..15} +```go Go hidelines={11..15} package main import ( @@ -553,7 +553,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..11,-1} +```java Java nocheck hidelines={1..11,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -584,7 +584,7 @@ public class FileUploadExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -690,14 +690,14 @@ curl https://api.anthropic.com/v1/files \ -H "anthropic-beta: files-api-2025-04-14" ``` -```python Python hidelines={1..3} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() files = client.beta.files.list() ``` -```typescript TypeScript +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -727,7 +727,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -751,7 +751,7 @@ func main() { } ``` -```java Java hidelines={1..6,-1} +```java Java hidelines={1..2,4..6,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.files.FileListPage; @@ -766,7 +766,7 @@ public class ListFiles { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->files->list( print_r($files); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -981,7 +981,7 @@ try (HttpResponse response = client.beta().files().download(fileId)) { } ```` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->create( echo json_encode($response->usage); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -317,7 +317,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -339,7 +339,7 @@ response = client.messages.create( print(response.usage.model_dump_json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -361,7 +361,7 @@ const response = await client.messages.create({ console.log(response.usage); ``` -```csharp C# hidelines={1..8,-1} +```csharp C# hidelines={1..9,-2..} using System; using System.Threading.Tasks; using Anthropic; @@ -405,7 +405,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -439,7 +439,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..2,4..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -468,7 +468,7 @@ public class AutomaticCachingExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..3,5} messages->create( echo json_encode($response->usage); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -918,7 +918,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -947,7 +947,7 @@ response = client.messages.create( print(response.model_dump_json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -976,7 +976,7 @@ const response = await client.messages.create({ console.log(response); ``` -```csharp C# hidelines={1..9,-1} +```csharp C# hidelines={1..10,-2..} using System; using System.Threading.Tasks; using System.Collections.Generic; @@ -1024,7 +1024,7 @@ public class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1061,7 +1061,7 @@ func main() { } ``` -```java Java hidelines={1..12,-1} +```java Java hidelines={1..2,4..12,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -1101,7 +1101,7 @@ public class LegalDocumentAnalysisExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1233,7 +1233,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1283,7 +1283,7 @@ response = client.messages.create( print(response.model_dump_json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1338,7 +1338,7 @@ const response = await client.messages.create({ console.log(response); ``` -```csharp C# hidelines={1..9,-1} +```csharp C# hidelines={1..10,-2..} using System; using System.Text.Json; using System.Threading.Tasks; @@ -1401,7 +1401,7 @@ public class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1463,7 +1463,7 @@ func main() { } ``` -```java Java hidelines={1..15,-1} +```java Java hidelines={1..3,5..15,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -1553,7 +1553,7 @@ public class ToolsWithCacheControlExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1731,7 +1731,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1777,7 +1777,7 @@ response = client.messages.create( print(response.model_dump_json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1827,7 +1827,7 @@ const response = await client.messages.create({ console.log(response); ``` -```csharp C# hidelines={1..5} +```csharp C# hidelines={1..6} using Anthropic; using Anthropic.Models.Messages; using System.Collections.Generic; @@ -1881,7 +1881,7 @@ var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1926,7 +1926,7 @@ func main() { } ``` -```java Java hidelines={1..13,-1} +```java Java hidelines={1..2,4..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.CacheControlEphemeral; @@ -1979,7 +1979,7 @@ public class ConversationWithCacheControlExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2193,7 +2193,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -2288,7 +2288,7 @@ response = client.messages.create( print(response.model_dump_json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2390,7 +2390,7 @@ const response = await client.messages.create({ console.log(response); ``` -```csharp C# hidelines={1..10,-1} +```csharp C# hidelines={1..11,-2..} using System; using System.Collections.Generic; using System.Text.Json; @@ -2511,7 +2511,7 @@ public class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2598,7 +2598,7 @@ func main() { } ``` -```java Java hidelines={1..19,-1} +```java Java hidelines={1..3,5..19,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -2730,7 +2730,7 @@ public class MultipleCacheBreakpointsExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -3129,7 +3129,7 @@ Note: Starting February 5, 2026, caches will be isolated per workspace instead o ``` - ```typescript TypeScript nocheck hidelines={1..4} + ```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -3151,7 +3151,7 @@ Note: Starting February 5, 2026, caches will be isolated per workspace instead o ``` - ```php PHP hidelines={1..6} nocheck + ```php PHP hidelines={1..4} nocheck content[0]->text; ``` - ```ruby Ruby + ```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/build-with-claude/search-results.md b/content/en/build-with-claude/search-results.md index 54b60f95f..cf212a68b 100644 --- a/content/en/build-with-claude/search-results.md +++ b/content/en/build-with-claude/search-results.md @@ -87,7 +87,7 @@ The most powerful use case is returning search results from your custom tools. T -```python Python nocheck +```python Python nocheck hidelines={1} from anthropic import Anthropic from anthropic.types import ( MessageParam, @@ -179,7 +179,7 @@ if response.content[0].type == "tool_use": ) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -387,7 +387,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..12,-1} +```go Go nocheck hidelines={1..12,77..78} package main import ( @@ -488,7 +488,7 @@ func searchKnowledgeBase(query string) []anthropic.ToolResultBlockParamContentUn } ``` -```java Java nocheck hidelines={1..19,-1} +```java Java nocheck hidelines={1..3,5..7,9..19,75..76,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.ContentBlockParam; @@ -596,7 +596,7 @@ public class SearchKnowledgeBaseExample { } ``` -```php PHP nocheck +```php PHP nocheck hidelines={1..4} messages->create( echo json_encode($message, JSON_PRETTY_PRINT); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1308,7 +1308,7 @@ Claude can cite specific blocks using the `start_block_index` and `end_block_ind You can use both tool-based and top-level search results in the same conversation: -```python nocheck hidelines={1..2} +```python nocheck from anthropic.types import MessageParam, SearchResultBlockParam, TextBlockParam # First message with top-level search results @@ -1343,7 +1343,7 @@ messages = [ Both methods support mixing search results with other content: -```python nocheck hidelines={1..2} +```python nocheck from anthropic.types import SearchResultBlockParam, TextBlockParam # In tool results diff --git a/content/en/build-with-claude/skills-guide.md b/content/en/build-with-claude/skills-guide.md index 7efa96e3a..231535c2c 100644 --- a/content/en/build-with-claude/skills-guide.md +++ b/content/en/build-with-claude/skills-guide.md @@ -110,7 +110,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -129,7 +129,7 @@ response = client.beta.messages.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -215,7 +215,7 @@ public class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -261,7 +261,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..4,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -296,7 +296,7 @@ public class Main { } ``` -```php PHP +```php PHP hidelines={1..4} beta->messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -419,7 +419,7 @@ echo "Downloaded: $FILENAME" -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -472,7 +472,7 @@ for file_id in extract_file_ids(response): -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -636,7 +636,7 @@ class Program -```go Go hidelines={1..15,-1} +```go Go hidelines={1..15,72..73} package main import ( @@ -729,7 +729,7 @@ func extractFileIDs(response *anthropic.BetaMessage) []string { -```java Java nocheck hidelines={1..17,-1} +```java Java nocheck hidelines={1..4,8,10..17,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -802,7 +802,7 @@ public class SkillsFileDownload { The PHP SDK doesn't include a file download method. Use `retrieveMetadata()` for file info, then download the file content via the REST API. -```php PHP nocheck +```php PHP nocheck hidelines={1..4} -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -960,7 +960,7 @@ curl -X DELETE "https://api.anthropic.com/v1/files/$FILE_ID" \ -H "anthropic-beta: files-api-2025-04-14" ``` -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -980,7 +980,7 @@ for file in files.data: client.beta.files.delete(file_id=file_id, betas=["files-api-2025-04-14"]) ``` -```typescript TypeScript nocheck hidelines={1..3} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1036,7 +1036,7 @@ class Program } ``` -```go Go nocheck hidelines={1..12,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1079,7 +1079,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..7,-1} +```java Java nocheck hidelines={1..2,5..7,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.files.FileMetadata; @@ -1106,7 +1106,7 @@ public class FileManagement { } ``` -```php PHP hidelines={1..5} nocheck +```php PHP hidelines={1..4} nocheck beta->files->delete( ); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1330,7 +1330,7 @@ public class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1394,7 +1394,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..4,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1450,7 +1450,7 @@ public class ContainerReuse { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $response2; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1659,7 +1659,7 @@ for i in range(max_retries): ) ``` -```typescript TypeScript nocheck hidelines={1..3} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1769,7 +1769,7 @@ for (int i = 0; i < maxRetries; i++) } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -1840,7 +1840,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..14,-1} +```java Java nocheck hidelines={1..5,9..10,12..14,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -1913,7 +1913,7 @@ public class Main { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $message; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2402,7 +2402,7 @@ curl -X POST "https://api.anthropic.com/v1/skills" \ -F "files[]=@financial_skill/analyze.py;filename=financial_skill/analyze.py" ``` -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -2582,7 +2582,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..10,-1} +```java Java nocheck hidelines={1..2,5..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.skills.SkillCreateParams; @@ -2620,7 +2620,7 @@ public class SkillCreate { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck id}\n"; echo "Latest version: {$skill->latestVersion}\n"; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2769,7 +2769,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2809,7 +2809,7 @@ func main() { } ``` -```java Java hidelines={1..8,-1} +```java Java hidelines={1..2,6..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.skills.SkillListParams; @@ -2842,7 +2842,7 @@ public class ListSkills { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->skills->list( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2975,7 +2975,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..7,-1} +```java Java nocheck hidelines={1..2,5..7,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.skills.SkillRetrieveParams; @@ -2999,7 +2999,7 @@ public class RetrieveSkill { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck latestVersion . "\n"; echo "Created: " . $skill->createdAt . "\n"; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -3065,7 +3065,7 @@ client.beta.skills.delete( ) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -3173,7 +3173,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..9,-1} +```java Java nocheck hidelines={1..2,7..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.skills.SkillDeleteParams; @@ -3214,7 +3214,7 @@ public class DeleteSkill { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->skills->delete( ); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -3522,7 +3522,7 @@ class Program } ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..13,87..88} package main import ( @@ -3620,7 +3620,7 @@ func mustOpen(path string) *os.File { } ``` -```java Java nocheck hidelines={1..13,-1} +```java Java nocheck hidelines={1..4,10..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -3688,7 +3688,7 @@ public class SkillVersioning { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $latestResponse; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -3954,7 +3954,7 @@ const response = await client.beta.messages.create({ }); ``` -```csharp C# nocheck hidelines={1..6,-1} +```csharp C# nocheck hidelines={1..7} using System; using System.Threading.Tasks; using Anthropic; @@ -4016,7 +4016,7 @@ var message = await client.Beta.Messages.Create(parameters); Console.WriteLine(message); ``` -```go Go nocheck hidelines={1..13,-1} +```go Go nocheck hidelines={1..11,-1} package main import ( @@ -4071,7 +4071,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..11,-1} +```java Java nocheck hidelines={1..4,8..11,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -4118,7 +4118,7 @@ public class CustomSkillExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck beta->messages->create( echo $message->content[0]->text; ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -4417,7 +4417,7 @@ public class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -4502,7 +4502,7 @@ func main() { } ``` -```java Java hidelines={1..11,-1} +```java Java hidelines={1..4,8..11,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -4570,7 +4570,7 @@ public class SkillsCaching { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} beta->messages->create( echo $response2; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -4677,7 +4677,7 @@ Handle Skill-related errors gracefully: -```python Python nocheck +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -4824,7 +4824,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..10,-1} +```java Java nocheck hidelines={1..4,8..10,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.beta.messages.MessageCreateParams; @@ -4867,7 +4867,7 @@ public class SkillErrorHandling { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck - ```python Python + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -23,7 +23,7 @@ The [Python](https://github.com/anthropics/anthropic-sdk-python) and [TypeScript print(text, end="", flush=True) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -64,7 +64,7 @@ The [Python](https://github.com/anthropics/anthropic-sdk-python) and [TypeScript } ``` - ```go Go hidelines={1..13,-1} + ```go Go hidelines={1..11,-1} package main import ( @@ -102,7 +102,7 @@ The [Python](https://github.com/anthropics/anthropic-sdk-python) and [TypeScript } ``` - ```java Java hidelines={1..6,-1} + ```java Java hidelines={1..6,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -130,7 +130,7 @@ The [Python](https://github.com/anthropics/anthropic-sdk-python) and [TypeScript } ``` - ```php PHP + ```php PHP hidelines={1..4} - ```python Python hidelines={1..4,-1} + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -185,7 +185,7 @@ If you don't need to process text as it arrives, the SDKs provide a way to use s print(message.content[0].text) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -234,7 +234,7 @@ If you don't need to process text as it arrives, the SDKs provide a way to use s } ``` - ```go Go hidelines={1..13,-1} + ```go Go hidelines={1..11,-1} package main import ( @@ -271,7 +271,7 @@ If you don't need to process text as it arrives, the SDKs provide a way to use s } ``` - ```java Java hidelines={1..9,-1} + ```java Java hidelines={1..2,4..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.helpers.MessageAccumulator; @@ -300,7 +300,7 @@ If you don't need to process text as it arrives, the SDKs provide a way to use s } ``` - ```php PHP hidelines={1..5} + ```php PHP hidelines={1..4} messages->create( echo $response->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -494,7 +494,7 @@ var contact = JsonSerializer.Deserialize>(json); Console.WriteLine($"{contact["name"]} ({contact["email"]})"); ``` -```go Go hidelines={1..2,4..7,28..29,-1} +```go Go hidelines={1..2,4..7,27..29,-1} package main import ( @@ -552,7 +552,7 @@ func main() { } ``` -```java Java hidelines={1..6,15..16,-1} +```java Java hidelines={1..7,14..16,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -585,7 +585,7 @@ public class NativeSchemaExample { } ``` -```php PHP hidelines={1..8} +```php PHP hidelines={1..3,6} content[0]->text, true); echo $data['name'] . ' (' . $data['email'] . ')'; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -658,7 +658,7 @@ The `parse()` method automatically transforms your Pydantic model, validates the
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -```python hidelines={2,11} +```python hidelines={2..4,9..12} from pydantic import BaseModel import anthropic @@ -820,7 +820,7 @@ The Go SDK works with raw JSON schemas. Define a Go struct with json tags, gener
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -```go hidelines={1..2,4..7,27..28,-1} +```go hidelines={1..2,4..7,26..28,-1} package main import ( @@ -888,7 +888,7 @@ Pass a Java class to `outputConfig()` and the SDK automatically derives a JSON s
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -```java hidelines={1..6} +```java hidelines={1..7} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -941,7 +941,7 @@ Key points: - **Version compatibility**: Local validation may fail while remote validation succeeds if the SDK version is outdated. - **Disabling local validation**: Pass `JsonSchemaLocalValidation.NO` if you encounter compatibility issues: -```java hidelines={1..2,4..6,8..15,22..23} +```java hidelines={1..2,4..15,22..23} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonSchemaLocalValidation; @@ -1001,7 +1001,7 @@ Each class must define at least one property for the JSON schema. A validation e You can use Jackson Databind annotations to enrich the JSON schema derived from your Java classes: -```java hidelines={1..4,34} +```java hidelines={4..5,-2..} import com.fasterxml.jackson.annotation.JsonClassDescription; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonPropertyDescription; @@ -1049,7 +1049,7 @@ If you use `@JsonProperty(required = false)`, the `false` value is ignored. Anth You can also use OpenAPI Swagger 2 `@Schema` and `@ArraySchema` annotations for type-specific constraints: -```java hidelines={1..3,19} +```java hidelines={3..4,-2..} import io.swagger.v3.oas.annotations.media.ArraySchema; import io.swagger.v3.oas.annotations.media.Schema; import java.util.List; @@ -1086,7 +1086,7 @@ The PHP SDK passes raw JSON schemas as associative arrays via `OutputConfig::wit
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              -```php +```php hidelines={1..3,6} -```ruby +```ruby hidelines={1..2} require "anthropic" class ContactInfo < Anthropic::BaseModel @@ -1214,7 +1214,7 @@ Extract structured data from unstructured text: -```python Python nocheck hidelines={1..2} +```python Python nocheck from pydantic import BaseModel from typing import List @@ -1327,7 +1327,7 @@ public class InvoiceExtraction } ``` -```go Go hidelines={1..13,-10..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1392,7 +1392,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..6,8..10} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -1450,7 +1450,7 @@ public class InvoiceExtraction { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1543,13 +1543,13 @@ Classify content with structured categories: -```python Python hidelines={1..3} +```python Python hidelines={1} from anthropic import Anthropic - -client = Anthropic() from pydantic import BaseModel from typing import List +client = Anthropic() + class Classification(BaseModel): category: str @@ -1590,7 +1590,7 @@ const response = await client.messages.parse({ }); ``` -```csharp C# hidelines={1..6,-1} +```csharp C# hidelines={1..7} using System.Collections.Generic; using System.Text.Json; using Anthropic; @@ -1685,7 +1685,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..6,8..9} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -1729,7 +1729,7 @@ public class ClassificationExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1799,13 +1799,13 @@ Generate API-ready responses: -```python Python hidelines={1..3} +```python Python hidelines={1} from anthropic import Anthropic - -client = Anthropic() from pydantic import BaseModel from typing import List, Optional +client = Anthropic() + class APIResponse(BaseModel): status: str @@ -1844,7 +1844,7 @@ const response = await client.messages.parse({ }); ``` -```csharp C# hidelines={1..6,-1} +```csharp C# hidelines={1..7} using System.Collections.Generic; using System.Text.Json; using Anthropic; @@ -1886,7 +1886,7 @@ var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` -```go Go hidelines={1..13,-10..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -1948,7 +1948,7 @@ func main() { } ``` -```java Java hidelines={1..10,-1} +```java Java hidelines={1..6,8..9} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -1957,21 +1957,44 @@ import com.anthropic.models.messages.StructuredMessageCreateParams; import com.anthropic.models.messages.Model; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; -import java.util.Map; public class StructuredOutputExample { + static class APIData { + @JsonProperty("message") + public String message; + + @JsonProperty("resource_id") + public String resourceId; + } + + static class APIError { + @JsonProperty("code") + public String code; + + @JsonProperty("message") + public String message; + } + + static class APIMetadata { + @JsonProperty("request_id") + public String requestId; + + @JsonProperty("timestamp") + public String timestamp; + } + static class APIResponse { @JsonProperty("status") public String status; @JsonProperty("data") - public Map data; + public APIData data; @JsonProperty("errors") - public List> errors; + public List errors; @JsonProperty("metadata") - public Map metadata; + public APIMetadata metadata; } public static void main(String[] args) { @@ -1991,7 +2014,7 @@ public class StructuredOutputExample { } ``` -```php PHP hidelines={1..5} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2124,7 +2147,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -2244,7 +2267,7 @@ public class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2294,7 +2317,7 @@ func main() { } ``` -```java Java hidelines={1..13,-1} +```java Java hidelines={1..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -2349,7 +2372,7 @@ public class StrictToolExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2466,7 +2489,7 @@ Ensure tool parameters exactly match your schema: -```python Python hidelines={1..3} +```python Python hidelines={1..2} from anthropic import Anthropic client = Anthropic() @@ -2501,7 +2524,7 @@ response = client.messages.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2576,7 +2599,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2628,7 +2651,7 @@ func main() { } ``` -```java Java hidelines={1..13,-1} +```java Java hidelines={1..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -2680,7 +2703,7 @@ public class StrictToolExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( ); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -2759,7 +2782,7 @@ Build reliable multi-step agents with guaranteed tool parameters: -```python Python hidelines={1..3} +```python Python hidelines={1..2} from anthropic import Anthropic client = Anthropic() @@ -2806,7 +2829,7 @@ response = client.messages.create( ) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -2916,7 +2939,7 @@ class Program } ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -2975,7 +2998,7 @@ func main() { } ``` -```java Java hidelines={1..13,-1} +```java Java hidelines={1..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -3046,7 +3069,7 @@ public class StrictToolExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -3250,7 +3273,7 @@ for (const block of response.content) { } ``` -```csharp C# hidelines={1..6,-1} +```csharp C# hidelines={1..7} using System.Collections.Generic; using System.Text.Json; using Anthropic; @@ -3306,7 +3329,7 @@ var message = await client.Messages.Create(parameters); Console.WriteLine(message); ``` -```go Go hidelines={1..13,-5..-1} +```go Go hidelines={1..11,-1} package main import ( @@ -3364,7 +3387,7 @@ func main() { } ``` -```java Java hidelines={1..15,-1} +```java Java hidelines={1..15,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -3424,7 +3447,7 @@ public class StructuredOutputExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new diff --git a/content/en/build-with-claude/token-counting.md b/content/en/build-with-claude/token-counting.md index 405aaae2c..5b4cb4de0 100644 --- a/content/en/build-with-claude/token-counting.md +++ b/content/en/build-with-claude/token-counting.md @@ -45,7 +45,7 @@ curl https://api.anthropic.com/v1/messages/count_tokens \ }' ``` -```python Python +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -59,7 +59,7 @@ response = client.messages.count_tokens( print(response.json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -103,7 +103,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -134,7 +134,7 @@ func main() { } ``` -```java Java hidelines={1..9,-1} +```java Java hidelines={1..2,5..9,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCountTokensParams; @@ -158,7 +158,7 @@ public class CountTokensExample { } ``` -```php PHP +```php PHP hidelines={1..4} messages->countTokens( echo json_encode($response); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -237,7 +237,7 @@ curl https://api.anthropic.com/v1/messages/count_tokens \ }' ``` -```python Python hidelines={1..4,-1} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -266,7 +266,7 @@ response = client.messages.count_tokens( print(response.json()) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -382,7 +382,7 @@ func main() { } ``` -```java Java hidelines={1..14,-1} +```java Java hidelines={1..3,6..14,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.core.JsonValue; @@ -434,7 +434,7 @@ public class CountTokensWithToolsExample { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->countTokens( echo json_encode($response, JSON_PRETTY_PRINT); ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -534,7 +534,7 @@ curl https://api.anthropic.com/v1/messages/count_tokens \ EOF ``` -```python Python nocheck hidelines={-1} +```python Python nocheck hidelines={1} import anthropic import base64 import httpx @@ -567,7 +567,7 @@ response = client.messages.count_tokens( print(response.json()) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -706,7 +706,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..19,-1} +```java Java nocheck hidelines={1..2,4..5,8..19,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Base64ImageSource; @@ -765,7 +765,7 @@ public class CountTokensImageExample { } ``` -```php PHP hidelines={1..4,9..10} nocheck +```php PHP hidelines={1..4} nocheck messages->countTokens( print_r($response); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1} require "anthropic" require "base64" require "net/http" @@ -886,7 +886,7 @@ curl https://api.anthropic.com/v1/messages/count_tokens \ }' ``` -```python Python nocheck hidelines={1..4,-1} +```python Python nocheck hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -920,7 +920,7 @@ response = client.messages.count_tokens( print(response.json()) ``` -```typescript TypeScript nocheck hidelines={1..4} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -1056,7 +1056,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..13,-1} +```java Java nocheck hidelines={1..3,6..7,9..13,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.ContentBlockParam; @@ -1104,7 +1104,7 @@ public class CountTokensThinkingExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->countTokens( echo json_encode($response); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1230,7 +1230,7 @@ curl https://api.anthropic.com/v1/messages/count_tokens \ EOF ``` -```python Python nocheck hidelines={-1} +```python Python nocheck import base64 import anthropic @@ -1383,7 +1383,7 @@ func main() { } ``` -```java Java nocheck hidelines={1..17,-1} +```java Java nocheck hidelines={1..2,4,8..17,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.Base64PdfSource; @@ -1432,7 +1432,7 @@ public class CountTokensPdfExample { } ``` -```php PHP hidelines={1..6} nocheck +```php PHP hidelines={1..4} nocheck messages->countTokens( echo json_encode($response); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1} require "anthropic" require "base64" diff --git a/content/en/build-with-claude/vision.md b/content/en/build-with-claude/vision.md index 5ba7e2c05..8128f2683 100644 --- a/content/en/build-with-claude/vision.md +++ b/content/en/build-with-claude/vision.md @@ -163,7 +163,7 @@ async Task DownloadAndEncodeImageAsync(string url) // For URL-based images, you can use the URLs directly in your requests ``` -```go Go hidelines={1..8,30..37} +```go Go hidelines={1..9,-8..} package main import ( @@ -234,7 +234,7 @@ public class ImageHandlingExample { } ``` -```php PHP nocheck +```php PHP nocheck hidelines={1} beta->messages->create( print_r($message->content); ``` -```ruby Ruby nocheck +```ruby Ruby nocheck hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -1149,7 +1149,7 @@ Ask Claude to describe one image. - ```python Python hidelines={1..6} + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1215,7 +1215,7 @@ Ask Claude to describe the differences between multiple images. - ```python Python hidelines={1..8} + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -1302,7 +1302,7 @@ Ask Claude to describe the differences between multiple images, while giving it - ```python Python hidelines={1..8} + ```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() diff --git a/content/en/build-with-claude/working-with-messages.md b/content/en/build-with-claude/working-with-messages.md index 8020787de..537177cb4 100644 --- a/content/en/build-with-claude/working-with-messages.md +++ b/content/en/build-with-claude/working-with-messages.md @@ -29,7 +29,7 @@ This feature is eligible for [Zero Data Retention (ZDR)](/docs/en/build-with-cla }' ``` - ```python Python + ```python Python hidelines={1..2} import anthropic message = anthropic.Anthropic().messages.create( @@ -40,7 +40,7 @@ This feature is eligible for [Zero Data Retention (ZDR)](/docs/en/build-with-cla print(message) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -77,7 +77,7 @@ This feature is eligible for [Zero Data Retention (ZDR)](/docs/en/build-with-cla } ``` - ```go Go hidelines={1..13,-1} + ```go Go hidelines={1..11,-1} package main import ( @@ -105,7 +105,7 @@ This feature is eligible for [Zero Data Retention (ZDR)](/docs/en/build-with-cla } ``` - ```java Java hidelines={1..8,-1} + ```java Java hidelines={1..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -128,7 +128,7 @@ This feature is eligible for [Zero Data Retention (ZDR)](/docs/en/build-with-cla } ``` - ```php PHP + ```php PHP hidelines={1..4} content[0]->text; ``` - ```ruby Ruby + ```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -204,7 +204,7 @@ curl https://api.anthropic.com/v1/messages \ }' ``` -```python Python hidelines={1..2,-1} +```python Python hidelines={1..2} import anthropic message = anthropic.Anthropic().messages.create( @@ -219,7 +219,7 @@ message = anthropic.Anthropic().messages.create( print(message) ``` -```typescript TypeScript hidelines={1..4} +```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -265,7 +265,7 @@ class Program } ``` -```go Go hidelines={1..13,-1} +```go Go hidelines={1..11,-1} package main import ( @@ -295,7 +295,7 @@ func main() { } ``` -```java Java hidelines={1..8,-1} +```java Java hidelines={1..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -320,7 +320,7 @@ public class MultiTurnConversation { } ``` -```php PHP hidelines={1..6} +```php PHP hidelines={1..4} messages->create( echo $message->content[0]->text; ``` -```ruby Ruby +```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -400,7 +400,7 @@ You can pre-fill part of Claude's response in the last position of the input mes }' ``` - ```python Python hidelines={1..2,-1} + ```python Python hidelines={1..2} import anthropic message = anthropic.Anthropic().messages.create( @@ -417,7 +417,7 @@ You can pre-fill part of Claude's response in the last position of the input mes print(message) ``` - ```typescript TypeScript hidelines={1..4} + ```typescript TypeScript hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -464,7 +464,7 @@ You can pre-fill part of Claude's response in the last position of the input mes } ``` - ```go Go hidelines={1..13,-1} + ```go Go hidelines={1..11,-1} package main import ( @@ -493,7 +493,7 @@ You can pre-fill part of Claude's response in the last position of the input mes } ``` - ```java Java hidelines={1..8,-1} + ```java Java hidelines={1..8,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -517,7 +517,7 @@ You can pre-fill part of Claude's response in the last position of the input mes } ``` - ```php PHP hidelines={1..6} + ```php PHP hidelines={1..4} content[0]->text; ``` - ```ruby Ruby + ```ruby Ruby hidelines={1..2} require "anthropic" client = Anthropic::Client.new @@ -635,7 +635,7 @@ Claude can read both text and images in requests. Images can be supplied using t ``` - ```python Python nocheck hidelines={-1} + ```python Python nocheck hidelines={1} import anthropic import base64 import httpx @@ -691,7 +691,7 @@ Claude can read both text and images in requests. Images can be supplied using t ``` - ```typescript TypeScript nocheck hidelines={1..4} + ```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic(); @@ -908,7 +908,7 @@ Claude can read both text and images in requests. Images can be supplied using t ``` - ```java Java nocheck hidelines={1..12,-1} + ```java Java nocheck hidelines={1..12,-2..} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.*; @@ -979,7 +979,7 @@ Claude can read both text and images in requests. Images can be supplied using t ``` - ```php PHP hidelines={1..6} nocheck + ```php PHP hidelines={1..4} nocheck Build an MCP server that pushes webhooks, alerts, and chat messages into a Claude Code session. Reference for the channel contract: capability declaration, notification events, reply tools, and sender gating. +> Build an MCP server that pushes webhooks, alerts, and chat messages into a Claude Code session. Reference for the channel contract: capability declaration, notification events, reply tools, sender gating, and permission relay. Channels are in [research preview](/en/channels#research-preview) and require Claude Code v2.1.80 or later. They require claude.ai login. Console and API key authentication is not supported. Team and Enterprise organizations must [explicitly enable them](/en/channels#enterprise-controls). @@ -12,7 +12,7 @@ A channel is an MCP server that pushes events into a Claude Code session so Claude can react to things happening outside the terminal. -You can build a one-way or two-way channel. One-way channels forward alerts, webhooks, or monitoring events for Claude to act on. Two-way channels like chat bridges also [expose a reply tool](#expose-a-reply-tool) so Claude can send messages back. +You can build a one-way or two-way channel. One-way channels forward alerts, webhooks, or monitoring events for Claude to act on. Two-way channels like chat bridges also [expose a reply tool](#expose-a-reply-tool) so Claude can send messages back. A channel with a trusted sender path can also opt in to [relay permission prompts](#relay-permission-prompts) so you can approve or deny tool use remotely. This page covers: @@ -23,6 +23,7 @@ This page covers: * [Notification format](#notification-format): the event payload * [Expose a reply tool](#expose-a-reply-tool): let Claude send messages back * [Gate inbound messages](#gate-inbound-messages): sender checks to prevent prompt injection +* [Relay permission prompts](#relay-permission-prompts): forward tool approval prompts to remote channels To use an existing channel instead of building one, see [Channels](/en/channels). Telegram, Discord, and fakechat are included in the research preview. @@ -152,6 +153,11 @@ This example uses [Bun](https://bun.sh) as the runtime for its built-in HTTP ser ``` In your Claude Code terminal, you'll see Claude receive the message and start responding: reading files, running commands, or whatever the message calls for. This is a one-way channel, so Claude acts in your session but doesn't send anything back through the webhook. To add replies, see [Expose a reply tool](#expose-a-reply-tool). + + If the event doesn't arrive, the diagnosis depends on what `curl` returned: + + * **`curl` succeeds but nothing reaches Claude**: run `/mcp` in your session to check the server's status. "Failed to connect" usually means a dependency or import error in your server file; check the debug log at `~/.claude/debug/.txt` for the stderr trace. + * **`curl` fails with "connection refused"**: the port is either not bound yet or a stale process from an earlier run is holding it. `lsof -i :` shows what's listening; `kill` the stale process before restarting your session. @@ -177,15 +183,16 @@ The bypass is per-entry. Combining this flag with `--channels` doesn't extend th ## Server options -A channel sets these options in the [`Server`](https://modelcontextprotocol.io/docs/concepts/servers) constructor. The `instructions` and `capabilities.tools` fields are [standard MCP](https://modelcontextprotocol.io/docs/concepts/servers); `capabilities.experimental['claude/channel']` is the channel-specific addition: +A channel sets these options in the [`Server`](https://modelcontextprotocol.io/docs/concepts/servers) constructor. The `instructions` and `capabilities.tools` fields are [standard MCP](https://modelcontextprotocol.io/docs/concepts/servers); `capabilities.experimental['claude/channel']` and `capabilities.experimental['claude/channel/permission']` are the channel-specific additions: -| Field | Type | Description | -| :-------------------------------------------- | :------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `capabilities.experimental['claude/channel']` | `object` | Required. Always `{}`. Presence registers the notification listener. | -| `capabilities.tools` | `object` | Two-way only. Always `{}`. Standard MCP tool capability. See [Expose a reply tool](#expose-a-reply-tool). | -| `instructions` | `string` | Recommended. Added to Claude's system prompt. Tell Claude what events to expect, what the `` tag attributes mean, whether to reply, and if so which tool to use and which attribute to pass back (like `chat_id`). | +| Field | Type | Description | +| :------------------------------------------------------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `capabilities.experimental['claude/channel']` | `object` | Required. Always `{}`. Presence registers the notification listener. | +| `capabilities.experimental['claude/channel/permission']` | `object` | Optional. Always `{}`. Declares that this channel can receive permission relay requests. When declared, Claude Code forwards tool approval prompts to your channel so you can approve or deny them remotely. See [Relay permission prompts](#relay-permission-prompts). | +| `capabilities.tools` | `object` | Two-way only. Always `{}`. Standard MCP tool capability. See [Expose a reply tool](#expose-a-reply-tool). | +| `instructions` | `string` | Recommended. Added to Claude's system prompt. Tell Claude what events to expect, what the `` tag attributes mean, whether to reply, and if so which tool to use and which attribute to pass back (like `chat_id`). | -To create a one-way channel, omit `capabilities.tools`. This example shows a two-way setup with all three options set: +To create a one-way channel, omit `capabilities.tools`. This example shows a two-way setup with the channel capability, tools, and instructions set: ```ts theme={null} import { Server } from '@modelcontextprotocol/sdk/server/index.js' @@ -284,8 +291,9 @@ To add these to the [webhook receiver above](#example-build-a-webhook-receiver): mcp.setRequestHandler(CallToolRequestSchema, async req => { if (req.params.name === 'reply') { const { chat_id, text } = req.params.arguments as { chat_id: string; text: string } - // your platform's send API - await yourPlatform.send(chat_id, text) + // send() is your outbound: POST to your chat platform, or for local + // testing the SSE broadcast shown in the full example below. + send(`Reply to ${chat_id}: ${text}`) return { content: [{ type: 'text', text: 'sent' }] } } throw new Error(`unknown tool: ${req.params.name}`) @@ -302,7 +310,7 @@ To add these to the [webhook receiver above](#example-build-a-webhook-receiver): -Here's the complete `webhook.ts` with two-way support, combining the one-way receiver from the walkthrough with the reply tool additions: +Here's the complete `webhook.ts` with two-way support. Outbound replies stream over `GET /events` using [Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events) (SSE), so `curl -N localhost:8788/events` can watch them live; inbound chat arrives on `POST /`: ```ts title="Full webhook.ts with reply tool" expandable theme={null} #!/usr/bin/env bun @@ -310,6 +318,14 @@ import { Server } from '@modelcontextprotocol/sdk/server/index.js' import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js' import { ListToolsRequestSchema, CallToolRequestSchema } from '@modelcontextprotocol/sdk/types.js' +// --- Outbound: write to any curl -N listeners on /events -------------------- +// A real bridge would POST to your chat platform instead. +const listeners = new Set<(chunk: string) => void>() +function send(text: string) { + const chunk = text.split('\n').map(l => `data: ${l}\n`).join('') + '\n' + for (const emit of listeners) emit(chunk) +} + const mcp = new Server( { name: 'webhook', version: '0.0.1' }, { @@ -339,8 +355,7 @@ mcp.setRequestHandler(ListToolsRequestSchema, async () => ({ mcp.setRequestHandler(CallToolRequestSchema, async req => { if (req.params.name === 'reply') { const { chat_id, text } = req.params.arguments as { chat_id: string; text: string } - // your platform's send API — replace with your real integration - console.error(`Reply to ${chat_id}: ${text}`) + send(`Reply to ${chat_id}: ${text}`) return { content: [{ type: 'text', text: 'sent' }] } } throw new Error(`unknown tool: ${req.params.name}`) @@ -352,14 +367,33 @@ let nextId = 1 Bun.serve({ port: 8788, hostname: '127.0.0.1', + idleTimeout: 0, // don't close idle SSE streams async fetch(req) { + const url = new URL(req.url) + + // GET /events: SSE stream so curl -N can watch Claude's replies live + if (req.method === 'GET' && url.pathname === '/events') { + const stream = new ReadableStream({ + start(ctrl) { + ctrl.enqueue(': connected\n\n') // so curl shows something immediately + const emit = (chunk: string) => ctrl.enqueue(chunk) + listeners.add(emit) + req.signal.addEventListener('abort', () => listeners.delete(emit)) + }, + }) + return new Response(stream, { + headers: { 'Content-Type': 'text/event-stream', 'Cache-Control': 'no-cache' }, + }) + } + + // POST: forward to Claude as a channel event const body = await req.text() const chat_id = String(nextId++) await mcp.notification({ method: 'notifications/claude/channel', params: { content: body, - meta: { chat_id, path: new URL(req.url).pathname, method: req.method }, + meta: { chat_id, path: url.pathname, method: req.method }, }, }) return new Response('ok') @@ -389,6 +423,318 @@ Gate on the sender's identity, not the chat or room identity: `message.from.id` The [Telegram](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/telegram) and [Discord](https://github.com/anthropics/claude-plugins-official/tree/main/external_plugins/discord) channels gate on a sender allowlist the same way. They bootstrap the list by pairing: the user DMs the bot, the bot replies with a pairing code, the user approves it in their Claude Code session, and their platform ID is added. See either implementation for the full pairing flow. +## Relay permission prompts + + + Permission relay requires Claude Code v2.1.81 or later. Earlier versions ignore the `claude/channel/permission` capability. + + +When Claude calls a tool that needs approval, the local terminal dialog opens and the session waits. A two-way channel can opt in to receive the same prompt in parallel and relay it to you on another device. Both stay live: you can answer in the terminal or on your phone, and Claude Code applies whichever answer arrives first and closes the other. + +Relay covers tool-use approvals like `Bash`, `Write`, and `Edit`. Project trust and MCP server consent dialogs don't relay; those only appear in the local terminal. + +### How relay works + +When a permission prompt opens, the relay loop has four steps: + +1. Claude Code generates a short request ID and notifies your server +2. Your server forwards the prompt and ID to your chat app +3. The remote user replies with a yes or no and that ID +4. Your inbound handler parses the reply into a verdict, and Claude Code applies it only if the ID matches an open request + +The local terminal dialog stays open through all of this. If someone at the terminal answers before the remote verdict arrives, that answer is applied instead and the pending remote request is dropped. + +Sequence diagram: Claude Code sends a permission_request notification to the channel server, the server formats and sends the prompt to the chat app, the human replies with a verdict, and the server parses that reply into a permission notification back to Claude Code + +### Permission request fields + +The outbound notification from Claude Code is `notifications/claude/channel/permission_request`. Like the [channel notification](#notification-format), the transport is standard MCP but the method and schema are Claude Code extensions. The `params` object has four string fields your server formats into the outgoing prompt: + +| Field | Description | +| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `request_id` | Five lowercase letters drawn from `a`-`z` without `l`, so it never reads as a `1` or `I` when typed on a phone. Include it in your outgoing prompt so it can be echoed in the reply. Claude Code only accepts a verdict that carries an ID it issued. The local terminal dialog doesn't display this ID, so your outbound handler is the only way to learn it. | +| `tool_name` | Name of the tool Claude wants to use, for example `Bash` or `Write`. | +| `description` | Human-readable summary of what this specific tool call does, the same text the local terminal dialog shows. For a Bash call this is Claude's description of the command, or the command itself if none was given. | +| `input_preview` | The tool's arguments as a JSON string, truncated to 200 characters. For Bash this is the command; for Write it's the file path and a prefix of the content. Omit it from your prompt if you only have room for a one-line message. Your server decides what to show. | + +The verdict your server sends back is `notifications/claude/channel/permission` with two fields: `request_id` echoing the ID above, and `behavior` set to `'allow'` or `'deny'`. Allow lets the tool call proceed; deny rejects it, the same as answering No in the local dialog. Neither verdict affects future calls. + +### Add relay to a chat bridge + +Adding permission relay to a two-way channel takes three components: + +1. A `claude/channel/permission: {}` entry under `experimental` capabilities in your `Server` constructor so Claude Code knows to forward prompts +2. A notification handler for `notifications/claude/channel/permission_request` that formats the prompt and sends it out through your platform API +3. A check in your inbound message handler that recognizes `yes ` or `no ` and emits a `notifications/claude/channel/permission` verdict instead of forwarding the text to Claude + +Only declare the capability if your channel [authenticates the sender](#gate-inbound-messages), because anyone who can reply through your channel can approve or deny tool use in your session. + +To add these to a two-way chat bridge like the one assembled in [Expose a reply tool](#expose-a-reply-tool): + + + + In your `Server` constructor, add `claude/channel/permission: {}` alongside `claude/channel` under `experimental`: + + ```ts theme={null} + capabilities: { + experimental: { + 'claude/channel': {}, + 'claude/channel/permission': {}, // opt in to permission relay + }, + tools: {}, + }, + ``` + + + + Register a notification handler between your `Server` constructor and `mcp.connect()`. Claude Code calls it with the [four request fields](#permission-request-fields) when a permission dialog opens. Your handler formats the prompt for your platform and includes instructions for replying with the ID: + + ```ts theme={null} + import { z } from 'zod' + + // setNotificationHandler routes by z.literal on the method field, + // so this schema is both the validator and the dispatch key + const PermissionRequestSchema = z.object({ + method: z.literal('notifications/claude/channel/permission_request'), + params: z.object({ + request_id: z.string(), // five lowercase letters, include verbatim in your prompt + tool_name: z.string(), // e.g. "Bash", "Write" + description: z.string(), // human-readable summary of this call + input_preview: z.string(), // tool args as JSON, truncated to ~200 chars + }), + }) + + mcp.setNotificationHandler(PermissionRequestSchema, async ({ params }) => { + // send() is your outbound: POST to your chat platform, or for local + // testing the SSE broadcast shown in the full example below. + send( + `Claude wants to run ${params.tool_name}: ${params.description}\n\n` + + // the ID in the instruction is what your inbound handler parses in Step 3 + `Reply "yes ${params.request_id}" or "no ${params.request_id}"`, + ) + }) + ``` + + + + Your inbound handler is the loop or callback that receives messages from your platform: the same place you [gate on sender](#gate-inbound-messages) and emit `notifications/claude/channel` to forward chat to Claude. Add a check before the chat-forwarding call that recognizes the verdict format and emits the permission notification instead. + + The regex matches the ID format Claude Code generates: five letters, never `l`. The `/i` flag tolerates phone autocorrect capitalizing the reply; lowercase the captured ID before sending it back. + + ```ts theme={null} + // matches "y abcde", "yes abcde", "n abcde", "no abcde" + // [a-km-z] is the ID alphabet Claude Code uses (lowercase, skips 'l') + // /i tolerates phone autocorrect; lowercase the capture before sending + const PERMISSION_REPLY_RE = /^\s*(y|yes|n|no)\s+([a-km-z]{5})\s*$/i + + async function onInbound(message: PlatformMessage) { + if (!allowed.has(message.from.id)) return // gate on sender first + + const m = PERMISSION_REPLY_RE.exec(message.text) + if (m) { + // m[1] is the verdict word, m[2] is the request ID + // emit the verdict notification back to Claude Code instead of chat + await mcp.notification({ + method: 'notifications/claude/channel/permission', + params: { + request_id: m[2].toLowerCase(), // normalize in case of autocorrect caps + behavior: m[1].toLowerCase().startsWith('y') ? 'allow' : 'deny', + }, + }) + return // handled as verdict, don't also forward as chat + } + + // didn't match verdict format: fall through to the normal chat path + await mcp.notification({ + method: 'notifications/claude/channel', + params: { content: message.text, meta: { chat_id: String(message.chat.id) } }, + }) + } + ``` + + + +Claude Code also keeps the local terminal dialog open, so you can answer in either place, and the first answer to arrive is applied. A remote reply that doesn't exactly match the expected format fails in one of two ways, and in both cases the dialog stays open: + +* **Different format**: your inbound handler's regex fails to match, so text like `approve it` or `yes` without an ID falls through as a normal message to Claude. +* **Right format, wrong ID**: your server emits a verdict, but Claude Code finds no open request with that ID and drops it silently. + +### Full example + +The assembled `webhook.ts` below combines all three extensions from this page: the reply tool, sender gating, and permission relay. If you're starting here, you'll also need the [project setup and `.mcp.json` entry](#example-build-a-webhook-receiver) from the initial walkthrough. + +To make both directions testable from curl, the HTTP listener serves two paths: + +* **`GET /events`**: holds an SSE stream open and pushes each outbound message as a `data:` line, so `curl -N` can watch Claude's replies and permission prompts arrive live. +* **`POST /`**: the inbound side, the same handler as earlier, now with the verdict-format check inserted before the chat-forward branch. + +```ts title="Full webhook.ts with permission relay" expandable theme={null} +#!/usr/bin/env bun +import { Server } from '@modelcontextprotocol/sdk/server/index.js' +import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js' +import { ListToolsRequestSchema, CallToolRequestSchema } from '@modelcontextprotocol/sdk/types.js' +import { z } from 'zod' + +// --- Outbound: write to any curl -N listeners on /events -------------------- +// A real bridge would POST to your chat platform instead. +const listeners = new Set<(chunk: string) => void>() +function send(text: string) { + const chunk = text.split('\n').map(l => `data: ${l}\n`).join('') + '\n' + for (const emit of listeners) emit(chunk) +} + +// Sender allowlist. For the local walkthrough we trust the single X-Sender +// header value "dev"; a real bridge would check the platform's user ID. +const allowed = new Set(['dev']) + +const mcp = new Server( + { name: 'webhook', version: '0.0.1' }, + { + capabilities: { + experimental: { + 'claude/channel': {}, + 'claude/channel/permission': {}, // opt in to permission relay + }, + tools: {}, + }, + instructions: + 'Messages arrive as . ' + + 'Reply with the reply tool, passing the chat_id from the tag.', + }, +) + +// --- reply tool: Claude calls this to send a message back ------------------- +mcp.setRequestHandler(ListToolsRequestSchema, async () => ({ + tools: [{ + name: 'reply', + description: 'Send a message back over this channel', + inputSchema: { + type: 'object', + properties: { + chat_id: { type: 'string', description: 'The conversation to reply in' }, + text: { type: 'string', description: 'The message to send' }, + }, + required: ['chat_id', 'text'], + }, + }], +})) + +mcp.setRequestHandler(CallToolRequestSchema, async req => { + if (req.params.name === 'reply') { + const { chat_id, text } = req.params.arguments as { chat_id: string; text: string } + send(`Reply to ${chat_id}: ${text}`) + return { content: [{ type: 'text', text: 'sent' }] } + } + throw new Error(`unknown tool: ${req.params.name}`) +}) + +// --- permission relay: Claude Code (not Claude) calls this when a dialog opens +const PermissionRequestSchema = z.object({ + method: z.literal('notifications/claude/channel/permission_request'), + params: z.object({ + request_id: z.string(), + tool_name: z.string(), + description: z.string(), + input_preview: z.string(), + }), +}) + +mcp.setNotificationHandler(PermissionRequestSchema, async ({ params }) => { + send( + `Claude wants to run ${params.tool_name}: ${params.description}\n\n` + + `Reply "yes ${params.request_id}" or "no ${params.request_id}"`, + ) +}) + +await mcp.connect(new StdioServerTransport()) + +// --- HTTP on :8788: GET /events streams outbound, POST routes inbound ------- +const PERMISSION_REPLY_RE = /^\s*(y|yes|n|no)\s+([a-km-z]{5})\s*$/i +let nextId = 1 + +Bun.serve({ + port: 8788, + hostname: '127.0.0.1', + idleTimeout: 0, // don't close idle SSE streams + async fetch(req) { + const url = new URL(req.url) + + // GET /events: SSE stream so curl -N can watch replies and prompts live + if (req.method === 'GET' && url.pathname === '/events') { + const stream = new ReadableStream({ + start(ctrl) { + ctrl.enqueue(': connected\n\n') // so curl shows something immediately + const emit = (chunk: string) => ctrl.enqueue(chunk) + listeners.add(emit) + req.signal.addEventListener('abort', () => listeners.delete(emit)) + }, + }) + return new Response(stream, { + headers: { 'Content-Type': 'text/event-stream', 'Cache-Control': 'no-cache' }, + }) + } + + // everything else is inbound: gate on sender first + const body = await req.text() + const sender = req.headers.get('X-Sender') ?? '' + if (!allowed.has(sender)) return new Response('forbidden', { status: 403 }) + + // check for verdict format before treating as chat + const m = PERMISSION_REPLY_RE.exec(body) + if (m) { + await mcp.notification({ + method: 'notifications/claude/channel/permission', + params: { + request_id: m[2].toLowerCase(), + behavior: m[1].toLowerCase().startsWith('y') ? 'allow' : 'deny', + }, + }) + return new Response('verdict recorded') + } + + // normal chat: forward to Claude as a channel event + const chat_id = String(nextId++) + await mcp.notification({ + method: 'notifications/claude/channel', + params: { content: body, meta: { chat_id, path: url.pathname } }, + }) + return new Response('ok') + }, +}) +``` + +Test the verdict path in three terminals. The first is your Claude Code session, started with the [development flag](#test-during-the-research-preview) so it spawns `webhook.ts`: + +```bash theme={null} +claude --dangerously-load-development-channels server:webhook +``` + +In the second, stream the outbound side so you can see Claude's replies and any permission prompts as they fire: + +```bash theme={null} +curl -N localhost:8788/events +``` + +In the third, send a message that will make Claude try to run a command: + +```bash theme={null} +curl -d "list the files in this directory" -H "X-Sender: dev" localhost:8788 +``` + +The local permission dialog opens in your Claude Code terminal. A moment later the prompt appears in the `/events` stream, including the five-letter ID. Approve it from the remote side: + +```bash theme={null} +curl -d "yes " -H "X-Sender: dev" localhost:8788 +``` + +The local dialog closes and the tool runs. Claude's reply comes back through the `reply` tool and lands in the stream too. + +The three channel-specific pieces in this file: + +* **Capabilities** in the `Server` constructor: `claude/channel` registers the notification listener, `claude/channel/permission` opts in to permission relay, `tools` lets Claude discover the reply tool. +* **Outbound paths**: the `reply` tool handler is what Claude calls for conversational responses; the `PermissionRequestSchema` notification handler is what Claude Code calls when a permission dialog opens. Both call `send()` to broadcast over `/events`, but they're triggered by different parts of the system. +* **HTTP handler**: `GET /events` holds an SSE stream open so curl can watch outbound live; `POST` is inbound, gated on the `X-Sender` header. A `yes ` or `no ` body goes to Claude Code as a verdict notification and never reaches Claude; anything else is forwarded to Claude as a channel event. + ## Package as a plugin To make your channel installable and shareable, wrap it in a [plugin](/en/plugins) and publish it to a [marketplace](/en/plugin-marketplaces). Users install it with `/plugin install`, then enable it per session with `--channels plugin:@`. diff --git a/content/en/docs/claude-code/channels.md b/content/en/docs/claude-code/channels.md index 88b2740e2..ef64b59c5 100644 --- a/content/en/docs/claude-code/channels.md +++ b/content/en/docs/claude-code/channels.md @@ -217,7 +217,7 @@ To try the fakechat demo, you'll need: -If Claude hits a permission prompt while you're away from the terminal, the session pauses until you approve locally. For unattended use, [`--dangerously-skip-permissions`](/en/permissions#permission-modes) bypasses prompts, but only use it in environments you trust. +If Claude hits a permission prompt while you're away from the terminal, the session pauses until you respond. Channel servers that declare the [permission relay capability](/en/channels-reference#relay-permission-prompts) can forward these prompts to you so you can approve or deny remotely. For unattended use, [`--dangerously-skip-permissions`](/en/permissions#permission-modes) bypasses prompts entirely, but only use it in environments you trust. ## Security @@ -234,6 +234,8 @@ On top of that, you control which servers are enabled each session with `--chann Being in `.mcp.json` isn't enough to push messages: a server also has to be named in `--channels`. +The allowlist also gates [permission relay](/en/channels-reference#relay-permission-prompts) if the channel declares it. Anyone who can reply through the channel can approve or deny tool use in your session, so only allowlist senders you trust with that authority. + ## Enterprise controls Channels are controlled by the `channelsEnabled` setting in [managed settings](/en/settings). diff --git a/content/en/docs/claude-code/cli-reference.md b/content/en/docs/claude-code/cli-reference.md index fe05711a7..adf691432 100644 --- a/content/en/docs/claude-code/cli-reference.md +++ b/content/en/docs/claude-code/cli-reference.md @@ -31,62 +31,63 @@ You can start sessions, pipe content, resume conversations, and manage updates w Customize Claude Code's behavior with these command-line flags: -| Flag | Description | Example | -| :---------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------- | -| `--add-dir` | Add additional working directories for Claude to access (validates each path exists as a directory) | `claude --add-dir ../apps ../lib` | -| `--agent` | Specify an agent for the current session (overrides the `agent` setting) | `claude --agent my-custom-agent` | -| `--agents` | Define custom subagents dynamically via JSON. Uses the same field names as subagent [frontmatter](/en/sub-agents#supported-frontmatter-fields), plus a `prompt` field for the agent's instructions | `claude --agents '{"reviewer":{"description":"Reviews code","prompt":"You are a code reviewer"}}'` | -| `--allow-dangerously-skip-permissions` | Enable permission bypassing as an option without immediately activating it. Allows composing with `--permission-mode` (use with caution) | `claude --permission-mode plan --allow-dangerously-skip-permissions` | -| `--allowedTools` | Tools that execute without prompting for permission. See [permission rule syntax](/en/settings#permission-rule-syntax) for pattern matching. To restrict which tools are available, use `--tools` instead | `"Bash(git log *)" "Bash(git diff *)" "Read"` | -| `--append-system-prompt` | Append custom text to the end of the default system prompt | `claude --append-system-prompt "Always use TypeScript"` | -| `--append-system-prompt-file` | Load additional system prompt text from a file and append to the default prompt | `claude --append-system-prompt-file ./extra-rules.txt` | -| `--betas` | Beta headers to include in API requests (API key users only) | `claude --betas interleaved-thinking` | -| `--channels` | (Research preview) MCP servers whose [channel](/en/channels) notifications Claude should listen for in this session. Space-separated list of `plugin:@` entries. Requires Claude.ai authentication | `claude --channels plugin:my-notifier@my-marketplace` | -| `--chrome` | Enable [Chrome browser integration](/en/chrome) for web automation and testing | `claude --chrome` | -| `--continue`, `-c` | Load the most recent conversation in the current directory | `claude --continue` | -| `--dangerously-load-development-channels` | Enable [channels](/en/channels-reference#test-during-the-research-preview) that are not on the approved allowlist, for local development. Accepts `plugin:@` and `server:` entries. Prompts for confirmation | `claude --dangerously-load-development-channels server:webhook` | -| `--dangerously-skip-permissions` | Skip permission prompts (use with caution). See [permission modes](/en/permissions#permission-modes) for what this does and does not skip | `claude --dangerously-skip-permissions` | -| `--debug` | Enable debug mode with optional category filtering (for example, `"api,hooks"` or `"!statsig,!file"`) | `claude --debug "api,mcp"` | -| `--disable-slash-commands` | Disable all skills and commands for this session | `claude --disable-slash-commands` | -| `--disallowedTools` | Tools that are removed from the model's context and cannot be used | `"Bash(git log *)" "Bash(git diff *)" "Edit"` | -| `--effort` | Set the [effort level](/en/model-config#adjust-effort-level) for the current session. Options: `low`, `medium`, `high`, `max` (Opus 4.6 only). Session-scoped and does not persist to settings | `claude --effort high` | -| `--fallback-model` | Enable automatic fallback to specified model when default model is overloaded (print mode only) | `claude -p --fallback-model sonnet "query"` | -| `--fork-session` | When resuming, create a new session ID instead of reusing the original (use with `--resume` or `--continue`) | `claude --resume abc123 --fork-session` | -| `--from-pr` | Resume sessions linked to a specific GitHub PR. Accepts a PR number or URL. Sessions are automatically linked when created via `gh pr create` | `claude --from-pr 123` | -| `--ide` | Automatically connect to IDE on startup if exactly one valid IDE is available | `claude --ide` | -| `--init` | Run initialization hooks and start interactive mode | `claude --init` | -| `--init-only` | Run initialization hooks and exit (no interactive session) | `claude --init-only` | -| `--include-partial-messages` | Include partial streaming events in output (requires `--print` and `--output-format=stream-json`) | `claude -p --output-format stream-json --include-partial-messages "query"` | -| `--input-format` | Specify input format for print mode (options: `text`, `stream-json`) | `claude -p --output-format json --input-format stream-json` | -| `--json-schema` | Get validated JSON output matching a JSON Schema after agent completes its workflow (print mode only, see [structured outputs](https://platform.claude.com/docs/en/agent-sdk/structured-outputs)) | `claude -p --json-schema '{"type":"object","properties":{...}}' "query"` | -| `--maintenance` | Run maintenance hooks and exit | `claude --maintenance` | -| `--max-budget-usd` | Maximum dollar amount to spend on API calls before stopping (print mode only) | `claude -p --max-budget-usd 5.00 "query"` | -| `--max-turns` | Limit the number of agentic turns (print mode only). Exits with an error when the limit is reached. No limit by default | `claude -p --max-turns 3 "query"` | -| `--mcp-config` | Load MCP servers from JSON files or strings (space-separated) | `claude --mcp-config ./mcp.json` | -| `--model` | Sets the model for the current session with an alias for the latest model (`sonnet` or `opus`) or a model's full name | `claude --model claude-sonnet-4-6` | -| `--name`, `-n` | Set a display name for the session, shown in `/resume` and the terminal title. You can resume a named session with `claude --resume `.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [`/rename`](/en/commands) changes the name mid-session and also shows it on the prompt bar | `claude -n "my-feature-work"` | -| `--no-chrome` | Disable [Chrome browser integration](/en/chrome) for this session | `claude --no-chrome` | -| `--no-session-persistence` | Disable session persistence so sessions are not saved to disk and cannot be resumed (print mode only) | `claude -p --no-session-persistence "query"` | -| `--output-format` | Specify output format for print mode (options: `text`, `json`, `stream-json`) | `claude -p "query" --output-format json` | -| `--permission-mode` | Begin in a specified [permission mode](/en/permissions#permission-modes) | `claude --permission-mode plan` | -| `--permission-prompt-tool` | Specify an MCP tool to handle permission prompts in non-interactive mode | `claude -p --permission-prompt-tool mcp_auth_tool "query"` | -| `--plugin-dir` | Load plugins from a directory for this session only. Each flag takes one path. Repeat the flag for multiple directories: `--plugin-dir A --plugin-dir B` | `claude --plugin-dir ./my-plugins` | -| `--print`, `-p` | Print response without interactive mode (see [Agent SDK documentation](https://platform.claude.com/docs/en/agent-sdk/overview) for programmatic usage details) | `claude -p "query"` | -| `--remote` | Create a new [web session](/en/claude-code-on-the-web) on claude.ai with the provided task description | `claude --remote "Fix the login bug"` | -| `--remote-control`, `--rc` | Start an interactive session with [Remote Control](/en/remote-control#interactive-session) enabled so you can also control it from claude.ai or the Claude app. Optionally pass a name for the session | `claude --remote-control "My Project"` | -| `--resume`, `-r` | Resume a specific session by ID or name, or show an interactive picker to choose a session | `claude --resume auth-refactor` | -| `--session-id` | Use a specific session ID for the conversation (must be a valid UUID) | `claude --session-id "550e8400-e29b-41d4-a716-446655440000"` | -| `--setting-sources` | Comma-separated list of setting sources to load (`user`, `project`, `local`) | `claude --setting-sources user,project` | -| `--settings` | Path to a settings JSON file or a JSON string to load additional settings from | `claude --settings ./settings.json` | -| `--strict-mcp-config` | Only use MCP servers from `--mcp-config`, ignoring all other MCP configurations | `claude --strict-mcp-config --mcp-config ./mcp.json` | -| `--system-prompt` | Replace the entire system prompt with custom text | `claude --system-prompt "You are a Python expert"` | -| `--system-prompt-file` | Load system prompt from a file, replacing the default prompt | `claude --system-prompt-file ./custom-prompt.txt` | -| `--teleport` | Resume a [web session](/en/claude-code-on-the-web) in your local terminal | `claude --teleport` | -| `--teammate-mode` | Set how [agent team](/en/agent-teams) teammates display: `auto` (default), `in-process`, or `tmux`. See [set up agent teams](/en/agent-teams#set-up-agent-teams) | `claude --teammate-mode in-process` | -| `--tools` | Restrict which built-in tools Claude can use. Use `""` to disable all, `"default"` for all, or tool names like `"Bash,Edit,Read"` | `claude --tools "Bash,Edit,Read"` | -| `--verbose` | Enable verbose logging, shows full turn-by-turn output | `claude --verbose` | -| `--version`, `-v` | Output the version number | `claude -v` | -| `--worktree`, `-w` | Start Claude in an isolated [git worktree](/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees) at `/.claude/worktrees/`. If no name is given, one is auto-generated | `claude -w feature-auth` | +| Flag | Description | Example | +| :---------------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------- | +| `--add-dir` | Add additional working directories for Claude to access (validates each path exists as a directory) | `claude --add-dir ../apps ../lib` | +| `--agent` | Specify an agent for the current session (overrides the `agent` setting) | `claude --agent my-custom-agent` | +| `--agents` | Define custom subagents dynamically via JSON. Uses the same field names as subagent [frontmatter](/en/sub-agents#supported-frontmatter-fields), plus a `prompt` field for the agent's instructions | `claude --agents '{"reviewer":{"description":"Reviews code","prompt":"You are a code reviewer"}}'` | +| `--allow-dangerously-skip-permissions` | Enable permission bypassing as an option without immediately activating it. Allows composing with `--permission-mode` (use with caution) | `claude --permission-mode plan --allow-dangerously-skip-permissions` | +| `--allowedTools` | Tools that execute without prompting for permission. See [permission rule syntax](/en/settings#permission-rule-syntax) for pattern matching. To restrict which tools are available, use `--tools` instead | `"Bash(git log *)" "Bash(git diff *)" "Read"` | +| `--append-system-prompt` | Append custom text to the end of the default system prompt | `claude --append-system-prompt "Always use TypeScript"` | +| `--append-system-prompt-file` | Load additional system prompt text from a file and append to the default prompt | `claude --append-system-prompt-file ./extra-rules.txt` | +| `--bare` | Minimal mode: skip auto-discovery of hooks, skills, plugins, MCP servers, auto memory, and CLAUDE.md so scripted calls start faster. Claude has access to Bash, file read, and file edit tools. Sets [`CLAUDE_CODE_SIMPLE`](/en/env-vars). See [bare mode](/en/headless#start-faster-with-bare-mode) | `claude --bare -p "query"` | +| `--betas` | Beta headers to include in API requests (API key users only) | `claude --betas interleaved-thinking` | +| `--channels` | (Research preview) MCP servers whose [channel](/en/channels) notifications Claude should listen for in this session. Space-separated list of `plugin:@` entries. Requires Claude.ai authentication | `claude --channels plugin:my-notifier@my-marketplace` | +| `--chrome` | Enable [Chrome browser integration](/en/chrome) for web automation and testing | `claude --chrome` | +| `--continue`, `-c` | Load the most recent conversation in the current directory | `claude --continue` | +| `--dangerously-load-development-channels` | Enable [channels](/en/channels-reference#test-during-the-research-preview) that are not on the approved allowlist, for local development. Accepts `plugin:@` and `server:` entries. Prompts for confirmation | `claude --dangerously-load-development-channels server:webhook` | +| `--dangerously-skip-permissions` | Skip permission prompts (use with caution). See [permission modes](/en/permissions#permission-modes) for what this does and does not skip | `claude --dangerously-skip-permissions` | +| `--debug` | Enable debug mode with optional category filtering (for example, `"api,hooks"` or `"!statsig,!file"`) | `claude --debug "api,mcp"` | +| `--disable-slash-commands` | Disable all skills and commands for this session | `claude --disable-slash-commands` | +| `--disallowedTools` | Tools that are removed from the model's context and cannot be used | `"Bash(git log *)" "Bash(git diff *)" "Edit"` | +| `--effort` | Set the [effort level](/en/model-config#adjust-effort-level) for the current session. Options: `low`, `medium`, `high`, `max` (Opus 4.6 only). Session-scoped and does not persist to settings | `claude --effort high` | +| `--fallback-model` | Enable automatic fallback to specified model when default model is overloaded (print mode only) | `claude -p --fallback-model sonnet "query"` | +| `--fork-session` | When resuming, create a new session ID instead of reusing the original (use with `--resume` or `--continue`) | `claude --resume abc123 --fork-session` | +| `--from-pr` | Resume sessions linked to a specific GitHub PR. Accepts a PR number or URL. Sessions are automatically linked when created via `gh pr create` | `claude --from-pr 123` | +| `--ide` | Automatically connect to IDE on startup if exactly one valid IDE is available | `claude --ide` | +| `--init` | Run initialization hooks and start interactive mode | `claude --init` | +| `--init-only` | Run initialization hooks and exit (no interactive session) | `claude --init-only` | +| `--include-partial-messages` | Include partial streaming events in output (requires `--print` and `--output-format=stream-json`) | `claude -p --output-format stream-json --include-partial-messages "query"` | +| `--input-format` | Specify input format for print mode (options: `text`, `stream-json`) | `claude -p --output-format json --input-format stream-json` | +| `--json-schema` | Get validated JSON output matching a JSON Schema after agent completes its workflow (print mode only, see [structured outputs](https://platform.claude.com/docs/en/agent-sdk/structured-outputs)) | `claude -p --json-schema '{"type":"object","properties":{...}}' "query"` | +| `--maintenance` | Run maintenance hooks and exit | `claude --maintenance` | +| `--max-budget-usd` | Maximum dollar amount to spend on API calls before stopping (print mode only) | `claude -p --max-budget-usd 5.00 "query"` | +| `--max-turns` | Limit the number of agentic turns (print mode only). Exits with an error when the limit is reached. No limit by default | `claude -p --max-turns 3 "query"` | +| `--mcp-config` | Load MCP servers from JSON files or strings (space-separated) | `claude --mcp-config ./mcp.json` | +| `--model` | Sets the model for the current session with an alias for the latest model (`sonnet` or `opus`) or a model's full name | `claude --model claude-sonnet-4-6` | +| `--name`, `-n` | Set a display name for the session, shown in `/resume` and the terminal title. You can resume a named session with `claude --resume `.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [`/rename`](/en/commands) changes the name mid-session and also shows it on the prompt bar | `claude -n "my-feature-work"` | +| `--no-chrome` | Disable [Chrome browser integration](/en/chrome) for this session | `claude --no-chrome` | +| `--no-session-persistence` | Disable session persistence so sessions are not saved to disk and cannot be resumed (print mode only) | `claude -p --no-session-persistence "query"` | +| `--output-format` | Specify output format for print mode (options: `text`, `json`, `stream-json`) | `claude -p "query" --output-format json` | +| `--permission-mode` | Begin in a specified [permission mode](/en/permissions#permission-modes) | `claude --permission-mode plan` | +| `--permission-prompt-tool` | Specify an MCP tool to handle permission prompts in non-interactive mode | `claude -p --permission-prompt-tool mcp_auth_tool "query"` | +| `--plugin-dir` | Load plugins from a directory for this session only. Each flag takes one path. Repeat the flag for multiple directories: `--plugin-dir A --plugin-dir B` | `claude --plugin-dir ./my-plugins` | +| `--print`, `-p` | Print response without interactive mode (see [Agent SDK documentation](https://platform.claude.com/docs/en/agent-sdk/overview) for programmatic usage details) | `claude -p "query"` | +| `--remote` | Create a new [web session](/en/claude-code-on-the-web) on claude.ai with the provided task description | `claude --remote "Fix the login bug"` | +| `--remote-control`, `--rc` | Start an interactive session with [Remote Control](/en/remote-control#interactive-session) enabled so you can also control it from claude.ai or the Claude app. Optionally pass a name for the session | `claude --remote-control "My Project"` | +| `--resume`, `-r` | Resume a specific session by ID or name, or show an interactive picker to choose a session | `claude --resume auth-refactor` | +| `--session-id` | Use a specific session ID for the conversation (must be a valid UUID) | `claude --session-id "550e8400-e29b-41d4-a716-446655440000"` | +| `--setting-sources` | Comma-separated list of setting sources to load (`user`, `project`, `local`) | `claude --setting-sources user,project` | +| `--settings` | Path to a settings JSON file or a JSON string to load additional settings from | `claude --settings ./settings.json` | +| `--strict-mcp-config` | Only use MCP servers from `--mcp-config`, ignoring all other MCP configurations | `claude --strict-mcp-config --mcp-config ./mcp.json` | +| `--system-prompt` | Replace the entire system prompt with custom text | `claude --system-prompt "You are a Python expert"` | +| `--system-prompt-file` | Load system prompt from a file, replacing the default prompt | `claude --system-prompt-file ./custom-prompt.txt` | +| `--teleport` | Resume a [web session](/en/claude-code-on-the-web) in your local terminal | `claude --teleport` | +| `--teammate-mode` | Set how [agent team](/en/agent-teams) teammates display: `auto` (default), `in-process`, or `tmux`. See [set up agent teams](/en/agent-teams#set-up-agent-teams) | `claude --teammate-mode in-process` | +| `--tools` | Restrict which built-in tools Claude can use. Use `""` to disable all, `"default"` for all, or tool names like `"Bash,Edit,Read"` | `claude --tools "Bash,Edit,Read"` | +| `--verbose` | Enable verbose logging, shows full turn-by-turn output | `claude --verbose` | +| `--version`, `-v` | Output the version number | `claude -v` | +| `--worktree`, `-w` | Start Claude in an isolated [git worktree](/en/common-workflows#run-parallel-claude-code-sessions-with-git-worktrees) at `/.claude/worktrees/`. If no name is given, one is auto-generated | `claude -w feature-auth` | ### System prompt flags diff --git a/content/en/docs/claude-code/env-vars.md b/content/en/docs/claude-code/env-vars.md index 0bdcb346b..fa55c7088 100644 --- a/content/en/docs/claude-code/env-vars.md +++ b/content/en/docs/claude-code/env-vars.md @@ -70,7 +70,7 @@ Claude Code supports the following environment variables to control its behavior | `CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS` | Maximum time in milliseconds for [SessionEnd](/en/hooks#sessionend) hooks to complete (default: `1500`). Applies to session exit, `/clear`, and switching sessions via interactive `/resume`. Per-hook `timeout` values are also capped by this budget | | `CLAUDE_CODE_SHELL` | Override automatic shell detection. Useful when your login shell differs from your preferred working shell (for example, `bash` vs `zsh`) | | `CLAUDE_CODE_SHELL_PREFIX` | Command prefix to wrap all bash commands (for example, for logging or auditing). Example: `/path/to/logger.sh` will execute `/path/to/logger.sh ` | -| `CLAUDE_CODE_SIMPLE` | Set to `1` to run with a minimal system prompt and only the Bash, file read, and file edit tools. Disables MCP tools, attachments, hooks, and CLAUDE.md files | +| `CLAUDE_CODE_SIMPLE` | Set to `1` to run with a minimal system prompt and only the Bash, file read, and file edit tools. Disables auto-discovery of hooks, skills, plugins, MCP servers, auto memory, and CLAUDE.md. The [`--bare`](/en/headless#start-faster-with-bare-mode) CLI flag sets this | | `CLAUDE_CODE_SKIP_BEDROCK_AUTH` | Skip AWS authentication for Bedrock (for example, when using an LLM gateway) | | `CLAUDE_CODE_SKIP_FAST_MODE_NETWORK_ERRORS` | Set to `1` to allow [fast mode](/en/fast-mode) when the organization status check fails due to a network error. Useful when a corporate proxy blocks the status endpoint. The API still enforces organization-level disable separately | | `CLAUDE_CODE_SKIP_FOUNDRY_AUTH` | Skip Azure authentication for Microsoft Foundry (for example, when using an LLM gateway) | diff --git a/content/en/docs/claude-code/headless.md b/content/en/docs/claude-code/headless.md index bb57a891e..9c9ca2b3d 100644 --- a/content/en/docs/claude-code/headless.md +++ b/content/en/docs/claude-code/headless.md @@ -34,9 +34,37 @@ This example asks Claude a question about your codebase and prints the response: claude -p "What does the auth module do?" ``` +### Start faster with bare mode + +Add `--bare` to reduce startup time by skipping auto-discovery of hooks, skills, plugins, MCP servers, auto memory, and CLAUDE.md. Without it, `claude -p` loads the same [context](/en/how-claude-code-works#the-context-window) an interactive session would, including anything configured in the working directory or `~/.claude`. + +Bare mode is useful for CI and scripts where you need the same result on every machine. A hook in a teammate's `~/.claude` or an MCP server in the project's `.mcp.json` won't run, because bare mode never reads them. Only flags you pass explicitly take effect. + +This example runs a one-off summarize task in bare mode and pre-approves the Read tool so the call completes without a permission prompt: + +```bash theme={null} +claude --bare -p "Summarize this file" --allowedTools "Read" +``` + +In bare mode Claude has access to the Bash, file read, and file edit tools. Pass any context you need with a flag: + +| To load | Use | +| ----------------------- | ------------------------------------------------------- | +| System prompt additions | `--append-system-prompt`, `--append-system-prompt-file` | +| Settings | `--settings ` | +| MCP servers | `--mcp-config ` | +| Custom agents | `--agents ` | +| A plugin directory | `--plugin-dir ` | + +Bare mode skips OAuth and keychain reads. Anthropic authentication must come from `ANTHROPIC_API_KEY` or an `apiKeyHelper` in the JSON passed to `--settings`. Bedrock, Vertex, and Foundry use their usual provider credentials. + + + `--bare` is the recommended mode for scripted and SDK calls, and will become the default for `-p` in a future release. + + ## Examples -These examples highlight common CLI patterns. +These examples highlight common CLI patterns. For CI and other scripted calls, add [`--bare`](#start-faster-with-bare-mode) so they don't pick up whatever happens to be configured locally. ### Get structured output diff --git a/content/en/docs/claude-code/how-claude-code-works.md b/content/en/docs/claude-code/how-claude-code-works.md index fbac7d4f2..b420b3e1e 100644 --- a/content/en/docs/claude-code/how-claude-code-works.md +++ b/content/en/docs/claude-code/how-claude-code-works.md @@ -124,7 +124,7 @@ This creates a new session ID while preserving the conversation history up to th ### The context window -Claude's context window holds your conversation history, file contents, command outputs, [CLAUDE.md](/en/memory), loaded skills, and system instructions. As you work, context fills up. Claude compacts automatically, but instructions from early in the conversation can get lost. Put persistent rules in CLAUDE.md, and run `/context` to see what's using space. +Claude's context window holds your conversation history, file contents, command outputs, [CLAUDE.md](/en/memory), [auto memory](/en/memory#auto-memory), loaded skills, and system instructions. As you work, context fills up. Claude compacts automatically, but instructions from early in the conversation can get lost. Put persistent rules in CLAUDE.md, and run `/context` to see what's using space. #### When context fills up diff --git a/content/en/docs/claude-code/interactive-mode.md b/content/en/docs/claude-code/interactive-mode.md index 1abccf20c..70d709554 100644 --- a/content/en/docs/claude-code/interactive-mode.md +++ b/content/en/docs/claude-code/interactive-mode.md @@ -22,24 +22,24 @@ ### General controls -| Shortcut | Description | Context | -| :------------------------------------------------ | :------------------------------------------------------------------ | :-------------------------------------------------------------------------------------------- | -| `Ctrl+C` | Cancel current input or generation | Standard interrupt | -| `Ctrl+F` | Kill all background agents. Press twice within 3 seconds to confirm | Background agent control | -| `Ctrl+D` | Exit Claude Code session | EOF signal | -| `Ctrl+G` | Open in default text editor | Edit your prompt or custom response in your default text editor | -| `Ctrl+L` | Clear terminal screen | Keeps conversation history | -| `Ctrl+O` | Toggle verbose output | Shows detailed tool usage and execution | -| `Ctrl+R` | Reverse search command history | Search through previous commands interactively | -| `Ctrl+V` or `Cmd+V` (iTerm2) or `Alt+V` (Windows) | Paste image from clipboard | Pastes an image or path to an image file | -| `Ctrl+B` | Background running tasks | Backgrounds bash commands and agents. Tmux users press twice | -| `Ctrl+T` | Toggle task list | Show or hide the [task list](#task-list) in the terminal status area | -| `Left/Right arrows` | Cycle through dialog tabs | Navigate between tabs in permission dialogs and menus | -| `Up/Down arrows` | Navigate command history | Recall previous inputs | -| `Esc` + `Esc` | Rewind or summarize | Restore code and/or conversation to a previous point, or summarize from a selected message | -| `Shift+Tab` or `Alt+M` (some configurations) | Toggle permission modes | Switch between Auto-Accept Mode, Plan Mode, and normal mode. | -| `Option+P` (macOS) or `Alt+P` (Windows/Linux) | Switch model | Switch models without clearing your prompt | -| `Option+T` (macOS) or `Alt+T` (Windows/Linux) | Toggle extended thinking | Enable or disable extended thinking mode. Run `/terminal-setup` first to enable this shortcut | +| Shortcut | Description | Context | +| :------------------------------------------------ | :------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------- | +| `Ctrl+C` | Cancel current input or generation | Standard interrupt | +| `Ctrl+F` | Kill all background agents. Press twice within 3 seconds to confirm | Background agent control | +| `Ctrl+D` | Exit Claude Code session | EOF signal | +| `Ctrl+G` | Open in default text editor | Edit your prompt or custom response in your default text editor | +| `Ctrl+L` | Clear terminal screen | Keeps conversation history | +| `Ctrl+O` | Toggle verbose output | Shows detailed tool usage and execution. Also expands MCP read and search calls, which collapse to a single line like "Queried slack" by default | +| `Ctrl+R` | Reverse search command history | Search through previous commands interactively | +| `Ctrl+V` or `Cmd+V` (iTerm2) or `Alt+V` (Windows) | Paste image from clipboard | Pastes an image or path to an image file | +| `Ctrl+B` | Background running tasks | Backgrounds bash commands and agents. Tmux users press twice | +| `Ctrl+T` | Toggle task list | Show or hide the [task list](#task-list) in the terminal status area | +| `Left/Right arrows` | Cycle through dialog tabs | Navigate between tabs in permission dialogs and menus | +| `Up/Down arrows` | Navigate command history | Recall previous inputs | +| `Esc` + `Esc` | Rewind or summarize | Restore code and/or conversation to a previous point, or summarize from a selected message | +| `Shift+Tab` or `Alt+M` (some configurations) | Toggle permission modes | Switch between Auto-Accept Mode, Plan Mode, and normal mode. | +| `Option+P` (macOS) or `Alt+P` (Windows/Linux) | Switch model | Switch models without clearing your prompt | +| `Option+T` (macOS) or `Alt+T` (Windows/Linux) | Toggle extended thinking | Enable or disable extended thinking mode. Run `/terminal-setup` first to enable this shortcut | ### Text editing diff --git a/content/en/docs/claude-code/mcp.md b/content/en/docs/claude-code/mcp.md index acd97a927..cc794cde7 100644 --- a/content/en/docs/claude-code/mcp.md +++ b/content/en/docs/claude-code/mcp.md @@ -674,7 +674,7 @@ claude mcp add --transport http \ ### Use pre-configured OAuth credentials -Some MCP servers don't support automatic OAuth setup. If you see an error like "Incompatible auth server: does not support dynamic client registration," the server requires pre-configured credentials. Register an OAuth app through the server's developer portal first, then provide the credentials when adding the server. +Some MCP servers don't support automatic OAuth setup via Dynamic Client Registration. If you see an error like "Incompatible auth server: does not support dynamic client registration," the server requires pre-configured credentials. Claude Code also supports servers that use a Client ID Metadata Document (CIMD) instead of Dynamic Client Registration, and discovers these automatically. If automatic discovery fails, register an OAuth app through the server's developer portal first, then provide the credentials when adding the server. diff --git a/content/en/docs/claude-code/permissions.md b/content/en/docs/claude-code/permissions.md index 63d185f8b..a86edf004 100644 --- a/content/en/docs/claude-code/permissions.md +++ b/content/en/docs/claude-code/permissions.md @@ -199,6 +199,8 @@ Add these rules to the `deny` array in your settings or use the `--disallowedToo Skipping the prompt does not bypass permission rules. Deny and ask rules are still evaluated after a hook returns `"allow"`, so a matching deny rule still blocks the call. This preserves the deny-first precedence described in [Manage permissions](#manage-permissions), including deny rules set in managed settings. +A blocking hook also takes precedence over allow rules. A hook that exits with code 2 stops the tool call before permission rules are evaluated, so the block applies even when an allow rule would otherwise let the call proceed. To run all Bash commands without prompts except for a few you want blocked, add `"Bash"` to your allow list and register a PreToolUse hook that rejects those specific commands. See [Block edits to protected files](/en/hooks-guide#block-edits-to-protected-files) for a hook script you can adapt. + ## Working directories By default, Claude has access to files in the directory where it was launched. You can extend this access: diff --git a/content/en/docs/claude-code/settings.md b/content/en/docs/claude-code/settings.md index 360809964..88d5ec746 100644 --- a/content/en/docs/claude-code/settings.md +++ b/content/en/docs/claude-code/settings.md @@ -189,6 +189,7 @@ The `$schema` line in the example above points to the [official JSON schema](htt | `awsCredentialExport` | Custom script that outputs JSON with AWS credentials (see [advanced credential configuration](/en/amazon-bedrock#advanced-credential-configuration)) | `/bin/generate_aws_grant.sh` | | `alwaysThinkingEnabled` | Enable [extended thinking](/en/common-workflows#use-extended-thinking-thinking-mode) by default for all sessions. Typically configured via the `/config` command rather than editing directly | `true` | | `plansDirectory` | Customize where plan files are stored. Path is relative to project root. Default: `~/.claude/plans` | `"./plans"` | +| `showClearContextOnPlanAccept` | Show the "clear context" option on the plan accept screen. Defaults to `false`. Set to `true` to restore the option | `true` | | `spinnerVerbs` | Customize the action verbs shown in the spinner and turn duration messages. Set `mode` to `"replace"` to use only your verbs, or `"append"` to add them to the defaults | `{"mode": "append", "verbs": ["Pondering", "Crafting"]}` | | `language` | Configure Claude's preferred response language (e.g., `"japanese"`, `"spanish"`, `"french"`). Claude will respond in this language by default. Also sets the [voice dictation](/en/voice-dictation#change-the-dictation-language) language | `"japanese"` | | `voiceEnabled` | Enable push-to-talk [voice dictation](/en/voice-dictation). Written automatically when you run `/voice`. Requires a Claude.ai account | `true` | diff --git a/content/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals.md b/content/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals.md index ffbde4201..4b3e80ab1 100644 --- a/content/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals.md +++ b/content/en/test-and-evaluate/strengthen-guardrails/handle-streaming-refusals.md @@ -68,7 +68,7 @@ if echo "$response" | grep -q '"stop_reason":"refusal"'; then fi ``` -```python Python hidelines={1..4} +```python Python hidelines={1..2} import anthropic client = anthropic.Anthropic() @@ -98,7 +98,7 @@ except Exception as e: print(f"Error: {e}") ``` -```typescript TypeScript nocheck hidelines={1..3} +```typescript TypeScript nocheck hidelines={1..2} import Anthropic from "@anthropic-ai/sdk"; const client = new Anthropic(); @@ -176,7 +176,7 @@ class Program } ``` -```go Go nocheck hidelines={1..9,18..20,-1} +```go Go nocheck hidelines={1..10,17..18,-1..} package main import ( @@ -223,7 +223,7 @@ streamLoop: } ``` -```java Java hidelines={1..15,-1} +```java Java hidelines={1..5,9..12,14..15,37..38,-1} import com.anthropic.client.AnthropicClient; import com.anthropic.client.okhttp.AnthropicOkHttpClient; import com.anthropic.models.messages.MessageCreateParams; @@ -269,7 +269,7 @@ public class RefusalHandling { } ``` -```php PHP nocheck +```php PHP nocheck hidelines={1..4}