OpenCGM
CPU inference API. REST and MCP share one domain layer. This page and /llms.txt are generated from one route and tool inventory.
| Method | Path | Summary |
|---|---|---|
GET | / | Human docs generated from the REST and MCP inventory |
GET | /docs | Human docs generated from the REST and MCP inventory |
GET | /llms.txt | LLM-readable surface generated from the same inventory |
GET | /healthz | Liveness probe |
GET | /readyz | Readiness probe |
POST | /v1/forecast | Forecast glucose from request readings |
POST | /v1/glucose | Glucose ingest from request readings; optional forecast=true returns a forecast |
POST | /v1/forecast/current | Forecast glucose from stored readings |
GET | /v1/models | List loaded models and capabilities |
POST | /v1/personalization/encode | Encode FiLM z from request or stored glucose; returns z; runs below 72h |
GET | /v1/capabilities | Alias of GET /v1/models |
GET | /.well-known/oauth-protected-resource | Bearer token resource metadata for MCP |
POST | /mcp | MCP Streamable HTTP (protocol 2026-07-28) |
| Tool | Summary |
|---|---|
forecast_glucose | Forecast glucose from stored readings for the resolved subject |
forecast_glucose_from_context | Forecast glucose from request readings without writing the store |
add_glucose_readings | Append glucose readings for the resolved subject |
get_recent_glucose | Return recent stored glucose readings for the resolved subject; truncated is set when more rows exist |
get_model_capabilities | List loaded model capabilities including verbatim eval blocks |
encode_personalization | Encode FiLM z from request or stored glucose; returns z; runs below 72h |
get_personalization_status | Personalization status for the resolved subject; never returns z |
compare_population_personalized | Compare population z=0 and personalized forecasts via AtlasService |
add_event | Record an event; unsupported while the loaded bundle rejects events |
list_tokens | List token principals; never returns secrets; truncated is set when more rows exist |
manage_token | Create, issue, rotate, revoke, or update a token principal |
| URI | Summary |
|---|---|
atlas://model/current | Current default bundle card |
atlas://subject/personalization | Personalization status for the token subject |
atlas://subject/forecast/latest | Forecast from stored readings for the token subject |