pdf-support changedbuild-with-claude/pdf-support
Nearest release: v2.1.318, published 4 hours before 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+7added
Lines−7removed
From line
89
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits22to this page, all time
The whole hunk
from line 89, old and new numbered
/
from line 89
89893. By a `file_id` from the [Files API](https://platform.claude.com/docs/en/build-with-claude/files)
9090
9191<Note>
92 On Amazon Bedrock and Claude Models on Google Cloud (Google managed), only base64-encoded sources are currently available. On Microsoft Foundry, the Files API is not supported for deployments hosted on Azure.
92 On Claude Models on Google Cloud (Google managed) and Amazon Bedrock, only base64-encoded sources are available. On Microsoft Foundry, the Files API is not supported for deployments hosted on Azure.
9393</Note>
9494
9595#### Option 1: URL-based PDF document
from line 101
101101 curl https://api.anthropic.com/v1/messages \
102102 -H "content-type: application/json" \
103103 -H "x-api-key: $ANTHROPIC_API_KEY" \
104 -H "anthropic-version: 2023-06-01" \
104 -H "anthropic-version: 2026-10-21" \
105105 -d '{
106106 "model": "claude-opus-5-5",
107107 "max_tokens": 1024,
from line 396
396396 curl https://api.anthropic.com/v1/messages \
397397 -H "content-type: application/json" \
398398 -H "x-api-key: $ANTHROPIC_API_KEY" \
399 -H "anthropic-version: 2023-06-01" \
399 -H "anthropic-version: 2026-10-21" \
400400 -d @request.json
401401 ```
402402
from line 709
709709 # First, upload your PDF to the Files API
710710 curl -sS -X POST https://api.anthropic.com/v1/files \
711711 -H "x-api-key: $ANTHROPIC_API_KEY" \
712 -H "anthropic-version: 2023-06-01" \
712 -H "anthropic-version: 2026-10-21" \
714714
715715 # Then use the file_id from the upload response in your message
from line 716
716716 curl https://api.anthropic.com/v1/messages \
717717 -H "content-type: application/json" \
718718 -H "x-api-key: $ANTHROPIC_API_KEY" \
719 -H "anthropic-version: 2023-06-01" \
719 -H "anthropic-version: 2026-10-21" \
720720 -d '{
721721 "model": "claude-opus-5-5",
722722 "max_tokens": 1024,
from line 1080
10801080 curl https://api.anthropic.com/v1/messages \
10811081 -H "content-type: application/json" \
10821082 -H "x-api-key: $ANTHROPIC_API_KEY" \
1083 -H "anthropic-version: 2023-06-01" \
1083 -H "anthropic-version: 2026-10-21" \
10841084 -d @-
10851085 ```
10861086
from line 1437
14371437 curl https://api.anthropic.com/v1/messages/batches \
14381438 -H "content-type: application/json" \
14391439 -H "x-api-key: $ANTHROPIC_API_KEY" \
1440 -H "anthropic-version: 2023-06-01" \
1440 -H "anthropic-version: 2026-10-21" \
14411441 -d @request.json
14421442 ```
14431443
No line in this hunk matches that.