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.

Update

POST /api/v1/holywell/journal/update
Authorization: Bearer <access_token>
Content-Type: application/json
{
  "id":         "<session_id>",
  "text_input": "Updated text (optional)",
  "files":      [ /* optional new files */ ],
  "symptom":    [ /* optional symptom data */ ],
  "ts":         1779431900000
}
BYOK header required ONLY when the body carries new text_input or files (those trigger AI re-processing). For symptom / ts-only updates, the Authorization header is sufficient.

Delete

POST /api/v1/holywell/journal/delete
{ "id": "<session_id>" }
Or:
{ "journal_id": 109 }

Mark as read

POST /api/v1/holywell/journal/mark_read
{ "session_id": "..." }

Reprocess (re-run AI)

Requires BYOK header. See BYOK.
POST /api/v1/holywell/journal/reprocess
Authorization:   Bearer <access_token>
X-LLM-Provider:  dashscope | volcengine | openai | gemini
X-LLM-Api-Key:   <your LLM key>
Content-Type:    application/json
{ "id": "<session_id>" }
Runs the AI classification / summary / symptom extraction again. Useful if the previous run failed or LLM was switched.