citations changedbuild-with-claude/citations
Nearest release: v2.1.301, published 5 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+44added
Lines−48removed
From line
752
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 752, old and new numbered
/
from line 752
752752 -H "x-api-key: $ANTHROPIC_API_KEY" \
753753 -H "anthropic-version: 2023-06-01" \
754754 -H "content-type: application/json" \
755 -d @- <<EOF
756 {
757 "model": "claude-opus-5-5",
758 "max_tokens": 1024,
759 "messages": [
760 {
761 "role": "user",
762 "content": [
763 {
764 "type": "document",
765 "source": {"type": "file", "file_id": "$FILE_ID"},
766 "title": "Document Title",
767 "context": "Context about the document that will not be cited from",
768 "citations": {"enabled": true}
769 },
770 {
771 "type": "text",
772 "text": "Summarize this document."
773 }
774 ]
775 }
776 ]
777 }
778 EOF
755 -d '{
756 "model": "claude-opus-5-5",
757 "max_tokens": 1024,
758 "messages": [
759 {
760 "role": "user",
761 "content": [
762 {
763 "type": "document",
764 "source": {"type": "file", "file_id": "'"$FILE_ID"'"},
765 "title": "Document Title",
766 "context": "Context about the document that will not be cited from",
767 "citations": {"enabled": true}
768 },
769 {
770 "type": "text",
771 "text": "Summarize this document."
772 }
773 ]
774 }
775 ]
776 }'
779777 ```
780778
781779 ```bash CLI
from line 1571
15731571 -H "x-api-key: $ANTHROPIC_API_KEY" \
15741572 -H "anthropic-version: 2023-06-01" \
15751573 -H "content-type: application/json" \
1576 -d @- <<EOF
1577 {
1578 "model": "claude-opus-5-5",
1579 "max_tokens": 1024,
1580 "messages": [
1581 {
1582 "role": "user",
1583 "content": [
1584 {
1585 "type": "document",
1586 "source": {"type": "file", "file_id": "$FILE_ID"},
1587 "title": "Document Title",
1588 "context": "Context about the document that will not be cited from",
1589 "citations": {"enabled": true}
1590 },
1591 {
1592 "type": "text",
1593 "text": "Summarize this document."
1594 }
1595 ]
1596 }
1597 ]
1598 }
1599 EOF
1574 -d '{
1575 "model": "claude-opus-5-5",
1576 "max_tokens": 1024,
1577 "messages": [
1578 {
1579 "role": "user",
1580 "content": [
1581 {
1582 "type": "document",
1583 "source": {"type": "file", "file_id": "'"$FILE_ID"'"},
1584 "title": "Document Title",
1585 "context": "Context about the document that will not be cited from",
1586 "citations": {"enabled": true}
1587 },
1588 {
1589 "type": "text",
1590 "text": "Summarize this document."
1591 }
1592 ]
1593 }
1594 ]
1595 }'
16001596 ```
16011597
16021598 ```bash CLI
No line in this hunk matches that.