跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.mirobody.ai/llms.txt

Use this file to discover all available pages before exploring further.

端点

POST /api/v1/holywell/health-indicator/watch
Authorization: Bearer <access_token>
Content-Type: application/json
{
  "filters":    { "category": ["lab_results","medication"], "source": ["excel","cda"] },
  "query":      "blood pressure",
  "start_time": "2024-01-01 00:00:00",
  "end_time":   "2024-12-31 23:59:59",
  "page": 1, "page_size": 20,
  "order": [ { "order_key": "start_time", "order_type": "desc" } ]
}
  • filters 使用 类别枚举 的值。
  • query 可选,启用语义搜索。
  • order 支持的 key:start_time, indicator, id, source_ref
可选 ?target_user_id=<other_uid> 查询授权 家人 的数据。

响应

{
  "code": 0, "msg": "success",
  "data": { "total": 26, "page": 1, "page_size": 20, "data": [...] }
}

更新 / 删除单条

PUT    /api/v1/holywell/health-indicator/watch/<record_id>
       body: { "value": "...", "unit": "...", "indicator": "...", "start_time": "..." }

DELETE /api/v1/holywell/health-indicator/watch
       body: { "ids": [<id1>, <id2>, ...] }