Skip to content

完整公开且已授权的数据导出

开发预览 · alpha.7 不包含

在后续 healthmd-cli/v<version> 明确发布前,请勿依赖它进行生产自动化。

--full-corpus 请求公开 API 暴露、已安装构建支持且用户允许读取的每种类型。它不能读取 Apple、Google 或提供商的私有数据库。

Terminal window
healthmd export --all --raw --full-corpus --output apple-health-corpus.json
healthmd export --all --raw --full-corpus --provider health_connect \
--raw-format ndjson --output health-connect-corpus.ndjson

Apple 保留 v8 文档和规范 HealthKit 记录;Android 保留 Health Connect 原生快照。请检查 exportedemptypermission_not_grantedunsupportedfeature_unavailableskippedpartialread_error。省略不等于为空。

任务可在七天内恢复:

Terminal window
healthmd status --job JOB_UUID
healthmd resume JOB_UUID --timeout 300 --output recovered.json

超时不等于取消。数据可能包含精确时间、路线、临床文本、药物或附件,应保存到私密文件。当前两个 MCP 数据集工具只属于完整本地 stdio 配置。