GET /v1/compliance/apps/chats/generated-files/{haijun_gen_file_id}/content
Downloads the binary content of a file the assistant created via tool use.
Path parameters
haijun_gen_file_id: string
The generated-file id (e.g., 'haijun_gen_file_abc123') as returned in chat_messages[].generated_files[].id from GET /apps/chats/{haijun_chat_id}/messages.
Headers
"x-api-key": optional string
Example
bash
curl https://haijun.my.id/v1/compliance/apps/chats/generated-files/$HAIJUN_GEN_FILE_ID/content \
-H 'juglow-version: 2023-06-01' \
-H "Authorization: Bearer $JUGLOW_COMPLIANCE_API_KEY"