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

citations changedbuild-with-claude/citations

Nearest release: v2.1.238, published an hour 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+4added
Lines−6removed
From line 739 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits14to this page, all time

The whole hunk

from line 739, old and new numbered
/
lines
from line 739
739739 </Tab>
740740 
741741 <Tab title="Files API">
742 <Note>
743 These examples reference the uploaded file as a `document` source, and no beta header is required. See [Files API](https://platform.claude.com/docs/en/build-with-claude/files) for upload details.
744 </Note>
742 These examples reference a file uploaded through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) as a `document` source.
745743 
746744 <CodeGroup>
747745 ```bash cURL
from line 920
922920 ```
923921 
924922 ```php PHP
923 // The PHP SDK supports file_id document and image sources only through $client->beta->messages with the files beta.
925924 $citedResponse = $client->beta->messages->create(
926925 maxTokens: 1024,
927926 messages: [
from line 1562
15631562 </Tab>
15641563 
15651564 <Tab title="Files API">
1566 <Note>
1567 These examples reference the uploaded file as a `document` source, and no beta header is required. See [Files API](https://platform.claude.com/docs/en/build-with-claude/files) for upload details.
1568 </Note>
1565 These examples reference a file uploaded through the [Files API](https://platform.claude.com/docs/en/build-with-claude/files) as a `document` source.
15691566 
15701567 <CodeGroup>
15711568 ```bash cURL
from line 1743
17461743 ```
17471744 
17481745 ```php PHP
1746 // The PHP SDK supports file_id document and image sources only through $client->beta->messages with the files beta.
17491747 $citedResponse = $client->beta->messages->create(
17501748 maxTokens: 1024,
17511749 messages: [
Feedback