GET /api/open/runs/{run_id} 的 data.output_files 返回产物记录。正文不会直接嵌入任务详情。
诊断 JSON
优先根据file_metadata.report_role 区分 JSON:
不要只依赖文件名判断协议类型。
下载
direct=true,取得预签名或公网 URL。测试环境建议直接通过 API 下载。
预签名地址具有有效期。调用方应保存业务结果或文件内容,不要把临时下载 URL 当作永久地址。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
从任务详情定位并下载 JSON、PDF 和 DOCX 产物。
GET /api/open/runs/{run_id} 的 data.output_files 返回产物记录。正文不会直接嵌入任务详情。
file_metadata.report_role 区分 JSON:
| report_role | schema_version | 用途 |
|---|---|---|
preliminary_diagnosis | preliminary-diagnosis.v1 | 初步诊断与 Top3 问题 |
full_diagnosis | full-diagnosis.v1 | 完整 13 章、38 子项诊断 |
curl -sS \
-H "Authorization: Bearer ${BP_AGENT_API_TOKEN}" \
"${BP_AGENT_BASE_URL}/api/open/files/content?file_id=${OUTPUT_FILE_ID}" \
-o result.bin
direct=true,取得预签名或公网 URL。测试环境建议直接通过 API 下载。