POST /v1/teammates/{external_id}/events, with a key that has the events:write scope. The
teammate must have allowed your organization the events consent item.
Logged sets
Send each set the teammate did as alogged_set event. It needs a movement, the reps and,
when you have them, the load and the effort the teammate reported for the set.
Sending events lists every field.
Self-reports
A self-report is anobservation event with one of three quantities.
Values take whole or half points, so
6.5 is fine. A value off the scale is rejected with
value_out_of_range.
Who reported it: the route
Send a self-report on one of two routes that every organization shares:
A reading is never trusted more than its route: a
coach report sent with a confidence of
1.0 is stored at 0.9. A report sent lower keeps its own number.
The two routes take self-reports only. Pain, soreness, session effort and an
outside workout the teammate entered by hand are
accepted on them; any other quantity is rejected with route_quantity_not_allowed. You may
also send a self-report on a route of your own. The same rules apply, and it gets your
route’s default confidence.
Pain
A left knee that hurt after a session:context.timing is optional. When you send it, it is one of during_set, post_session,
spontaneous or next_day.
Soreness
Soreness in both shoulders the next morning. Leaving the side out of a joint that has a left and a right means both sides:Session effort
How hard the whole session was, reported by the coach. Session effort is about the session, so it names no joint: leavebody out. context.session is your own id for the session; we
recommend sending it so the report can be matched to the session’s sets.
Body location rules
Pain and soreness must name a joint from the joint reference.- A spine, ribcage or pelvis joint is on the midline. Leave the side out or send
midline;leftorrightis rejected. - Any other joint has a left and a right. Send
left,rightorbilateral. With no side, the report is stored asbilateral: both sides. - A pain or soreness report with no
bodyis rejected withinvalid_body_location, and so is a session effort report that names a joint.
What happens to a report
Each report is stored once, against the teammate, with its route and its confidence. Its result says"status": "not_interpreted": it is kept, and the planner has not used it yet.
Sending it again with the same source.record_id answers duplicate.
- Pain and soreness are stored as readings at a joint (
"kind": "joint_level"). They are the evidence the teammate’s body state is read from: caution rises at the joint and side a report names. - Session effort is stored as work the body did (
"kind": "work_done"). It is kept with the teammate’s training and is not yet used for body state. - A report alone never changes a program. To limit training at a joint after an injury, send
a
constraintevent. - A report from a test key is stored in test mode only. It never reaches the teammate’s live history.
- A late report is fine:
atis when the teammate felt it, not when you send it.
From reports to a body-state read
A teammate who only logs sets and reports how they feel has everything the body-state read needs. Over a week, for example:1
Send each logged set
Send each logged set as the teammate finishes it.
2
Send the session effort
Send a
session_effort report after each session.3
Send pain or soreness when it is reported
Send
pain or soreness when the teammate reports it, at the joint and side they name.coach route. From a
member app, a teammate token sends for @me, and a self-report
goes on the teammate route.
- Organization key
- Teammate token
200
body_state:read scope and the teammate’s
body_state consent item.