To enable the Compliance API, see the setup guide.
Set up the Compliance API取得 Claude 生成的檔案中繼資料
GET/v1/compliance/apps/chats/generated-files/{claude_gen_file_id}
傳回助理透過工具使用所建立之檔案的中繼資料。
請使用同層級的 /content 端點來下載位元組。
Path parameters
Headers
Returns
取得 Claude 生成的檔案中繼資料
cURL
curl https://api.anthropic.com/v1/compliance/apps/chats/generated-files/$CLAUDE_GEN_FILE_ID \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"Response 200
{
"id": "id",
"claude_chat_id": "claude_chat_id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "filename",
"md5": "md5",
"mime_type": "mime_type",
"size_bytes": 0
}Returns Examples
Response 200
{
"id": "id",
"claude_chat_id": "claude_chat_id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "filename",
"md5": "md5",
"mime_type": "mime_type",
"size_bytes": 0
}