跳转到主要内容

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.

GET /api/v1/data/data-distribution[?user_id=<other_uid>]
Authorization: Bearer <access_token>
{
  "code": 0, "msg": "ok",
  "data": {
    "user_id": "504", "total_categories": 48, "total_records": 1891,
    "distribution": [
      { "category": "内科",    "last_update_time": "2026-05-09T17:20:21+08:00", "record_count": 932 },
      { "category": "genetic", "last_update_time": "2026-05-12T10:23:39+08:00", "record_count": 538 }
    ]
  }
}
适合用于构建用户健康数据的 dashboard 总览。