English ← MyDocs

下载文件内容

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

下载聊天消息中引用的文件的二进制内容。

路径参数

  • claude_file_id: string

    文件 ID(带标签的 ID,例如 claude_file_abc123)

请求头参数

  • "x-api-key": optional string

示例

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