Skip to main content
A device is optional. Every flow works from two things you already have: the sets a teammate logged, and what the teammate (or their coach) says about how they feel. Pain and soreness at a joint are the main evidence about each joint for most people, and the effort of a whole session says how hard the training was. All of it is sent as events to 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 a logged_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 an observation 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: leave body 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; left or right is rejected.
  • Any other joint has a left and a right. Send left, right or bilateral. With no side, the report is stored as bilateral: both sides.
  • A pain or soreness report with no body is rejected with invalid_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 constraint event.
  • 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: at is 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.
A set and the session effort can go in one request. From your server, with your organization key, a coach can report the effort on the coach route. From a member app, a teammate token sends for @me, and a self-report goes on the teammate route.
200
For live reports, the body-state read then shows more caution at a joint the teammate reported pain at than at the same joint on the other side, and less uncertainty than for a teammate who reported nothing. Test-mode readings are stored and never change body state. Reading body state needs a key with the body_state:read scope and the teammate’s body_state consent item.