Health reference
7 pages, 46 routes, 33 connections and 8 CLI commands, generated from the declarations of Health without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 12
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Movement blend | health.blend | dashboard | /view/health/blend/{blend} | 0 | health.movement | hidden | |
| Coaching client | health.coaching.client | detail | /view/health/coaching/client/{grant_id} | 0 | health.coaching | hidden | |
| Accept a coaching invitation | health.coaching.join | custom | /view/health/coaching/join | 0 | health.coaching.mine | hidden | |
| Coaching report | health.coaching.report | detail | /view/health/coaching/report/{report_id} | 0 | health.coaching.mine | hidden | |
| Health | health.item | detail | /view/health/{subject} | 0 | Health | hidden | |
| My health | health.journal | dashboard | /view/health | 0 | in navigation | ||
| Coaching | health.coaching | dashboard | /view/health/coaching | 10 | in navigation | ||
| My coaching | health.coaching.mine | dashboard | /view/health/my-coaching | 11 | in navigation | ||
| Muscles and machines | health.muscles | dashboard | /view/health/muscles | 12 | in navigation | ||
| Body anatomy | health.anatomy | dashboard | /view/health/anatomy | 13 | in navigation | ||
| Movement | health.movement | dashboard | /view/health/movement | 14 | in navigation | ||
| Inspect anatomy | health.anatomy.inspect | custom | /view/health/anatomy/inspect | 60 | health.anatomy | in navigation |
Connections · 33
Health.Anatomy.Query
Search public bone and muscle reference knowledge, exercise-group links and avatar representation coverage. No personal health data.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/anatomy/queryHTTP route
Health.Apply
Record a care / rest event that raises a target axis. Appended to the Action log under domain `health`; folded by Health.Status / Tick.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| axis | required |
- Output keyhealth.result
- Classificationreal
- POST /health/applyHTTP route
- health applyCLI command
Health.Coaching.Accept
The signed-in client accepts an invitation, granting that coach access to their coaching records.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| code | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/acceptHTTP route
Health.Coaching.Client
One coaching relationship for its client, or its coach while the grant is active: progress, sessions, measurements, goals and reports.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| grant_id | required |
- Output keyhealth.result
- Classificationroute_handler
- POST /health/coaching/clientHTTP route
Health.Coaching.DaySummary
The day summary a client shares with their coach: per-day totals only, from the day after the client turned it on. Each coach read is logged for the client.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| grant_id | required |
- Output keyhealth.result
- Classificationroute_handler
- POST /health/coaching/day-summaryHTTP route
Health.Coaching.GoalSet
Set or revise a goal for one metric.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| metric | required | |||
| target | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/goalHTTP route
Health.Coaching.Invite
Create a one-time client invitation; only a hash of its code is stored.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| client_label | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/inviteHTTP route
Health.Coaching.InviteCancel
Cancel an open invitation.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| invite_id | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/invite/cancelHTTP route
Health.Coaching.MeasurementRecord
Record a typed measurement in canonical units inside an active grant.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| metric | required | |||
| value | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/measurementHTTP route
Health.Coaching.Mine
The signed-in client's coaches and published reports.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/coaching/mineHTTP route
Health.Coaching.PracticeSave
Create or rename the signed-in coach's practice and its unit and report defaults.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/practiceHTTP route
Health.Coaching.Report
One coaching report: the coach's while the grant is active, the client's once published, and readable by accounts the client shared it with.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| report_id | required |
- Output keyhealth.result
- Classificationroute_handler
- POST /health/coaching/report/getHTTP route
Health.Coaching.ReportCreate
The coach drafts a report whose numbers are computed from the period's records and then fixed.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| grant_id | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/reportHTTP route
Health.Coaching.ReportPublish
The coach publishes a draft report to the client.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| report_id | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/report/publishHTTP route
Health.Coaching.ReportUpdate
The coach edits a draft report's title and notes or recomputes its numbers.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| report_id | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/report/updateHTTP route
Health.Coaching.Revoke
Either party ends a coaching grant; the coach loses access and the client keeps the records.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| grant_id | required | |||
| confirm | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/revokeHTTP route
Health.Coaching.Roster
The signed-in coach's clients, open invitations and reports due. No account ids.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/coaching/rosterHTTP route
Health.Coaching.SessionLog
Log a coached, independent or assessment session inside an active grant.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| title | required |
- Output keyhealth.result
- Classificationreal
- POST /health/coaching/sessionHTTP route
Health.Day
The authenticated account's day ledger: meals, activity, sleep and body mass per local day, from its own journal, Food meals and metric samples. Wellness estimates, not medical advice.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/dayHTTP route
Health.Get
Fetch the last persisted HealthRecord snapshot for a subject.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/getHTTP route
- health getCLI command
Health.Journal.Query
Read the authenticated account's training, meal and check-in journal.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/journal/queryHTTP route
Health.Journal.Record
Record or revise an account-owned journal entry with optimistic revision checks. No emission.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| entry_id | required | |||
| expected_revision | required | |||
| observed_at | required | |||
| title | required | |||
| data | required |
- Output keyhealth.result
- Classificationreal
- POST /health/journal/recordHTTP route
Health.List
List persisted HealthRecord snapshots across subjects.
- Output keyhealth.result
- Classificationroute_handler
- GET /health/listHTTP route
- health listCLI command
Health.Metrics.Ingest
Batch-ingest vendor-neutral smartwatch or health-export samples into the local Action log.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| samples | required |
- Output keyhealth.result
- Classificationreal
- POST /health/metrics/ingestHTTP route
- health metrics ingestCLI command
Health.Metrics.Query
Query normalized wearable observations for a subject, with latest values grouped by metric.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/metrics/queryHTTP route
- health metricsCLI command
Health.Profile.Clear
Drop every stored value of the authenticated account's diet profile, keeping only its revision count. No emission.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| expected_revision | required |
- Output keyhealth.result
- Classificationreal
- POST /health/profile/clearHTTP route
Health.Profile.Get
The authenticated account's diet profile: its own nutrient goals, allergens, diet patterns and foods to leave out, read by Recipe's planner. Not medical advice.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/profile/getHTTP route
Health.Profile.Set
Replace the authenticated account's diet profile with optimistic revision checks. No emission.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| expected_revision | required |
- Output keyhealth.result
- Classificationreal
- POST /health/profile/setHTTP route
Health.Status
Derive a subject's live condition (nourishment / energy / protection) + vitality by folding the Action log. Read-only — no snapshot written.
- Output keyhealth.result
- Classificationroute_handler
- POST /health/statusHTTP route
- health statusCLI command
Health.Strain
Record a strain event (work / exposure) that lowers a target axis. Appended to the Action log under domain `health`; folded by Health.Status / Tick.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| axis | required |
- Output keyhealth.result
- Classificationreal
- POST /health/strainHTTP route
- health strainCLI command
Health.Tick
Recompute a subject's condition, persist a HealthRecord snapshot, and — when condition stayed at or above the healthy threshold across a sustained window — fire the `health.sustained.v1` manifold contract minting `cre8/health/{subject}/wellbeing`.
- Output keyhealth.result
- Classificationreal
- POST /health/tickHTTP route
- health tickCLI command
CLI commands · 8
health apply
Record a care / rest event raising an axis
health apply {"subject_id":"human:peer-1","axis":"energy","amount":0.2}health get
Fetch the last persisted condition snapshot for a subject
health get {"subject_id":"human:peer-1"}health list
List persisted condition snapshots across subjects
health list
health metrics
Query wearable observations and latest values by metric
health metrics {"metric":"heart_rate","limit":100}health metrics ingest
Ingest normalized smartwatch or health-export observations
health metrics ingest {"source":"apple_health","samples":[{"metric":"heart_rate","value":72}]}health status
Derive a subject's live condition + vitality from the Action log
health status {"subject_id":"human:peer-1"}health status
health status {"subject_id":"agent-curator"}health strain
Record a strain event lowering an axis (energy / nourishment / protection)
health strain {"subject_id":"human:peer-1","axis":"energy","amount":0.3}health tick
Recompute + persist a snapshot; mint wellbeing on sustained health
health tick {"subject_id":"human:peer-1"}Other routes · 12
| Method | Path | Kind |
|---|---|---|
| GET | /view/health | raw handler |
| GET | /view/health/anatomy | raw handler |
| GET | /view/health/anatomy/inspect | raw handler |
| GET | /view/health/anatomy/{id} | raw handler |
| GET | /view/health/blend/{blend} | raw handler |
| GET | /view/health/coaching | raw handler |
| GET | /view/health/coaching/client/{grant_id} | raw handler |
| GET | /view/health/coaching/join | raw handler |
| GET | /view/health/coaching/report/{report_id} | raw handler |
| GET | /view/health/movement | raw handler |
| GET | /view/health/muscles | raw handler |
| GET | /view/health/my-coaching | raw handler |
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerHealth
- SQL projectionnone · DDL declarations: 0
- ActionEvent
- CoachingGoal
- CoachingGrant
- CoachingInvite
- CoachingMeasurement
- CoachingPractice
- CoachingReport
- CoachingSession
- Health
- HealthJournal
- HealthProfile
- ActionEvent
- CoachingGoal
- CoachingGrant
- CoachingInvite
- CoachingMeasurement
- CoachingPractice
- CoachingReport
- CoachingSession
- Health
- HealthJournal
- HealthProfile
- None declared.
- None declared.
- cre8/health/{subject_id}/wellbeing
- No model warnings were reported.
Capabilities and dependencies
- Protocol
- Action
- Food
Structure review · 1
- Health · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)