Claude Platform Docs

Download file content

GET/v1/compliance/apps/chats/files/{claude_file_id}/content

Downloads the binary content of a file referenced in chat messages.

Path parameters
claude_file_id: string

The file ID (tagged ID, e.g., claude_file_abc123)

Headers
"x-api-key": optional string

Download file content

cURL
curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID/content \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"