mb_live_* key and ~10 minutes.
Account management — API keys, usage, and a live Playground — lives in the developer console at platform.mirobody.ai. Sign in with email code, open API Keys, create one (the secret is shown once):
/v1 endpoints share one base URL — pick your contracted cluster:
https://mirobody-api.thetahealth.cn/v1. See Regions for the full host matrix.
1
① Connect your data
Health data arrives in three shapes — each has exactly one door in:
Mirobody hosts, standardizes and serves the data to AI — collecting it (device OAuth, app capture) is your side of the line.Write structured readings with
POST /v1/data (retention is required), or upload a lab report — PDF, photo, spreadsheet — with POST /v1/files:user is the tenant-isolation key — pass each end-user’s stable id and their data never mixes.2
② It comes back standardized
Note the two spellings above — That’s the standardization pipeline — deterministic name→LOINC (no LLM code-guessing) + UCUM + FHIR, on every write. To preview it on a document without storing anything, try
fasting_glucose and FBG. Read the data back and both rows carry the same LOINC code, a canonical name, UCUM-parsed values, and a FHIR mirror id:Done experimenting? DELETE /v1/subjects/alice erases everything this quickstart wrote (records, files, conversations) in one call.POST /v1/extract.3
③ Put AI on top
A grounded answer is three lines — the agent reads the standardized series, so “glucose” finds the rows written as “FBG”:And a real agent — with your own tool — is ten. The openai-agents SDK works against the Agent API by changing only the base URL:Mirobody’s built-in tools read alice’s real data; when the model decides to book, it hands off to your function. See Function calling for the protocol underneath.
Answers API (3 lines)
openai-agents SDK (10 lines)
Prefer clicking over curl?
The console has a Playground — run chats, upload files, and inspect tool steps with no code.Playground
Try the agent in the browser against your account.
Usage
Requests, tokens, and cost.
Next steps
Choose your API
Answers vs Agent in one minute.
Agent API
Client tools, stored conversations, streaming events.
Standardization
OCR → extraction → LOINC → UCUM → FHIR, explained.
SDK Examples
curl / Python / Node / openai-agents, end to end.