Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Unduh konten file

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

Mengunduh konten biner dari file yang direferensikan dalam pesan obrolan.

Path parameters
claude_file_id: string

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

Headers
"x-api-key": optional string
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"