Skip to content
1 viewer
View

Health reference

7 pages, 46 routes, 33 connections and 8 CLI commands, generated from the declarations of Health without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Movement blendhealth.blenddashboard/view/health/blend/{blend}0health.movementhidden
Coaching clienthealth.coaching.clientdetail/view/health/coaching/client/{grant_id}0health.coachinghidden
Accept a coaching invitationhealth.coaching.joincustom/view/health/coaching/join0health.coaching.minehidden
Coaching reporthealth.coaching.reportdetail/view/health/coaching/report/{report_id}0health.coaching.minehidden
Healthhealth.itemdetail/view/health/{subject}0Healthhidden
My healthhealth.journaldashboard/view/health0in navigation
Coachinghealth.coachingdashboard/view/health/coaching10in navigation
My coachinghealth.coaching.minedashboard/view/health/my-coaching11in navigation
Muscles and machineshealth.musclesdashboard/view/health/muscles12in navigation
Body anatomyhealth.anatomydashboard/view/health/anatomy13in navigation
Movementhealth.movementdashboard/view/health/movement14in navigation
Inspect anatomyhealth.anatomy.inspectcustom/view/health/anatomy/inspect60health.anatomyin navigation
12 rows

Connections · 33

Health.Anatomy.Query

Search public bone and muscle reference knowledge, exercise-group links and avatar representation coverage. No personal health data.

Calls and output
  • 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.

Health.Apply input
FieldTypeRequiredDescriptionAllowed
axisrequired
1 row
Calls and output

Health.Coaching.Accept

The signed-in client accepts an invitation, granting that coach access to their coaching records.

Health.Coaching.Accept input
FieldTypeRequiredDescriptionAllowed
coderequired
1 row
Calls and output
  • 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.

Health.Coaching.Client input
FieldTypeRequiredDescriptionAllowed
grant_idrequired
1 row
Calls and output
  • 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.

Health.Coaching.DaySummary input
FieldTypeRequiredDescriptionAllowed
grant_idrequired
1 row
Calls and output
  • Output keyhealth.result
  • Classificationroute_handler
  • POST /health/coaching/day-summaryHTTP route

Health.Coaching.DaySummaryShare

The client shows their coach a per-day summary of their own journal, or stops.

Health.Coaching.DaySummaryShare input
FieldTypeRequiredDescriptionAllowed
grant_idrequired
1 row
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/day-summary/shareHTTP route

Health.Coaching.GoalSet

Set or revise a goal for one metric.

Health.Coaching.GoalSet input
FieldTypeRequiredDescriptionAllowed
metricrequired
targetrequired
2 rows
Calls and output
  • 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.

Health.Coaching.Invite input
FieldTypeRequiredDescriptionAllowed
client_labelrequired
1 row
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/inviteHTTP route

Health.Coaching.InviteCancel

Cancel an open invitation.

Health.Coaching.InviteCancel input
FieldTypeRequiredDescriptionAllowed
invite_idrequired
1 row
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/invite/cancelHTTP route

Health.Coaching.MeasurementRecord

Record a typed measurement in canonical units inside an active grant.

Health.Coaching.MeasurementRecord input
FieldTypeRequiredDescriptionAllowed
metricrequired
valuerequired
2 rows
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/measurementHTTP route

Health.Coaching.Mine

The signed-in client's coaches and published reports.

Calls and output
  • 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.

Health.Coaching.PracticeSave input
FieldTypeRequiredDescriptionAllowed
namerequired
1 row
Calls and output
  • 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.

Health.Coaching.Report input
FieldTypeRequiredDescriptionAllowed
report_idrequired
1 row
Calls and output
  • 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.

Health.Coaching.ReportCreate input
FieldTypeRequiredDescriptionAllowed
grant_idrequired
1 row
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/reportHTTP route

Health.Coaching.ReportPublish

The coach publishes a draft report to the client.

Health.Coaching.ReportPublish input
FieldTypeRequiredDescriptionAllowed
report_idrequired
1 row
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/report/publishHTTP route

Health.Coaching.ReportShare

The client shows a published report to another account, or stops.

Health.Coaching.ReportShare input
FieldTypeRequiredDescriptionAllowed
report_idrequired
account_idrequired
2 rows
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/coaching/report/shareHTTP route

Health.Coaching.ReportUpdate

The coach edits a draft report's title and notes or recomputes its numbers.

Health.Coaching.ReportUpdate input
FieldTypeRequiredDescriptionAllowed
report_idrequired
1 row
Calls and output
  • 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.

Health.Coaching.Revoke input
FieldTypeRequiredDescriptionAllowed
grant_idrequired
confirmrequired
2 rows
Calls and output
  • 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.

Calls and output
  • Output keyhealth.result
  • Classificationroute_handler
  • POST /health/coaching/rosterHTTP route

Health.Coaching.SessionLog

Log a coached, independent or assessment session inside an active grant.

Health.Coaching.SessionLog input
FieldTypeRequiredDescriptionAllowed
titlerequired
1 row
Calls and output
  • 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.

Calls and output
  • Output keyhealth.result
  • Classificationroute_handler
  • POST /health/dayHTTP route

Health.Get

Fetch the last persisted HealthRecord snapshot for a subject.

Calls and output

Health.Journal.Query

Read the authenticated account's training, meal and check-in journal.

Calls and output
  • 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.

Health.Journal.Record input
FieldTypeRequiredDescriptionAllowed
entry_idrequired
expected_revisionrequired
observed_atrequired
titlerequired
datarequired
5 rows
Calls and output
  • Output keyhealth.result
  • Classificationreal
  • POST /health/journal/recordHTTP route

Health.List

List persisted HealthRecord snapshots across subjects.

Calls and output

Health.Metrics.Ingest

Batch-ingest vendor-neutral smartwatch or health-export samples into the local Action log.

Health.Metrics.Ingest input
FieldTypeRequiredDescriptionAllowed
samplesrequired
1 row
Calls and output

Health.Metrics.Query

Query normalized wearable observations for a subject, with latest values grouped by metric.

Calls and output

Health.Profile.Clear

Drop every stored value of the authenticated account's diet profile, keeping only its revision count. No emission.

Health.Profile.Clear input
FieldTypeRequiredDescriptionAllowed
expected_revisionrequired
1 row
Calls and output
  • 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.

Calls and output
  • 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.

Health.Profile.Set input
FieldTypeRequiredDescriptionAllowed
expected_revisionrequired
1 row
Calls and output
  • 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.

Calls and output

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.

Health.Strain input
FieldTypeRequiredDescriptionAllowed
axisrequired
1 row
Calls and output

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`.

Calls and output

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

Routes without a connection
MethodPathKind
GET/view/healthraw handler
GET/view/health/anatomyraw handler
GET/view/health/anatomy/inspectraw handler
GET/view/health/anatomy/{id}raw handler
GET/view/health/blend/{blend}raw handler
GET/view/health/coachingraw handler
GET/view/health/coaching/client/{grant_id}raw handler
GET/view/health/coaching/joinraw handler
GET/view/health/coaching/report/{report_id}raw handler
GET/view/health/movementraw handler
GET/view/health/musclesraw handler
GET/view/health/my-coachingraw handler
12 rows

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerHealth
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • ActionEvent
  • CoachingGoal
  • CoachingGrant
  • CoachingInvite
  • CoachingMeasurement
  • CoachingPractice
  • CoachingReport
  • CoachingSession
  • Health
  • HealthJournal
  • HealthProfile
Hyper vertex kinds written
  • ActionEvent
  • CoachingGoal
  • CoachingGrant
  • CoachingInvite
  • CoachingMeasurement
  • CoachingPractice
  • CoachingReport
  • CoachingSession
  • Health
  • HealthJournal
  • HealthProfile
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • cre8/health/{subject_id}/wellbeing
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol
  • Action
  • Food

Structure review · 1

Warnings · 1
  • Health · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)