Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Completions changedapi/completions

Recorded here
Lines+6added
Lines−6removed
From line 13 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits23to this page, all time

The whole hunk

from line 13, old and new numbered
/
lines
from line 13
1313 
1414[Legacy] Create a Text Completion.
1515 
16The Text Completions API is a legacy API. We recommend using the [Messages API](https://platform.claude.com/docs/en/api/messages) going forward.
16The Text Completions API is a legacy API. We recommend using the [Messages API](https://platform.claude.com/docs/en/api/messages?sdk_languages=http) going forward.
1717 
18Future models and features will not be compatible with Text Completions. See our [migration guide](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) for guidance in migrating from Text Completions to Messages.
18Future models and features will not be compatible with Text Completions. See our [migration guide](https://platform.claude.com/docs/en/build-with-claude/working-with-messages?sdk_languages=http) for guidance in migrating from Text Completions to Messages.
1919 
2020### Headers
2121 
from line 23
2323 
2424 The version of the Claude API you want to use.
2525 
26 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
26 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
2727 
2828- `"anthropic-workspace-id": optional string`
2929 
from line 257
257257 Assistant:"
258258 ```
259259 
260 See [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and our guide to [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview) for more details.
260 See [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages?sdk_languages=http) and our guide to [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview?sdk_languages=http) for more details.
261261 
262262 minLength: 1
263263 
from line 285
285285 
286286 Whether to incrementally stream the response using server-sent events.
287287 
288 See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming) for details.
288 See [streaming](https://platform.claude.com/docs/en/build-with-claude/streaming?sdk_languages=http) for details.
289289 
290290- `temperature: optional number`
291291 
Feedback