To enable the Compliance API, see the setup guide.
Set up the Compliance APIUnduh konten file
GET/v1/compliance/apps/chats/files/{claude_file_id}/content
Mengunduh konten biner dari file yang direferensikan dalam pesan obrolan.
Path parameters
Headers
Unduh konten file
cURL
curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID/content \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"