Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

下載檔案內容

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

下載對話訊息中所參照檔案的二進位內容。

Path parameters
claude_file_id: string

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

Headers
"x-api-key": optional string
下載檔案內容
cURL
curl https://api.anthropic.com/v1/compliance/apps/chats/files/$CLAUDE_FILE_ID/content \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"