Skip to main content

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.

Endpoint

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 uses the enum from Categories & Sources.
  • query is optional semantic search.
  • order supports keys: start_time, indicator, id, source_ref.
Optional ?target_user_id=<other_uid> queries a family member’s data.

Response

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

Update / Delete a single record

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

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