跳转到主要内容

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.

用户日记条目,含输入、AI 输出、分类 scene、处理状态。

端点

GET /api/v1/holywell/journal/list?page=1&page_size=20
Authorization: Bearer <access_token>

日记类型枚举

GET /api/v1/holywell/journal/memo/types
{ "code": 0, "msg": "success", "data": [
  { "code": "journal",  "name": "Memo" },
  { "code": "food",     "name": "Meal log" },
  { "code": "report",   "name": "Medical Report" },
  { "code": "medicine", "name": "Medication" }
] }

单条结构

{
  "input": {
    "content":   "今天午餐",
    "file_list": [ /* 同 /api/chat file_list */ ],
    "ts":        1778644100000
  },
  "output": {
    "content2": [
      { "type": "scene", "content": "journal" },
      { "type": "reply", "content": "你记录了一顿看起来十分丰盛的午餐..." }
    ],
    "topics": ["Nutrition"],
    "type":   "journal"
  },
  "ts":           1778644100000,
  "session_id":   "today_504_2026_05_13_...",
  "journal_id":   106,
  "read_status":  0,
  "write_status": 1,
  "ai_status":    1,
  "summary":      "...",
  "symptom":      null,
  "version":      1
}
ai_status0 = 处理中,1 = 成功,2 = 失败。