Create a Text Completion changedapi/completions/create
Nearest release: v2.1.309, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+2added
Lines−2removed
From line
451
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits24to this page, all time
The whole hunk
from line 451, old and new numbered
/
from line 451
451451```bash
452452curl https://api.anthropic.com/v1/complete \
453453 -H 'Content-Type: application/json' \
454 -H 'anthropic-version: 2023-06-01' \
455 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
454 -H 'anthropic-version: 2026-10-21' \
455 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
456456 --max-time 600 \
457457 -d '{
458458 "max_tokens_to_sample": 256,
No line in this hunk matches that.