> ## Documentation Index
> Fetch the complete documentation index at: https://docs.technicallyfit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Without a device

> Most teammates have no device to measure them. What they did and what they tell you is enough: send logged sets and self-reports of pain, soreness and session effort.

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](https://docs.technicallyfit.com/guides/sending-events.md) 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.

```bash curl theme={null}
curl -X POST "$TF_API_BASE/v1/teammates/member-1042/events" \
  -H "X-API-Key: $TF_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "events": [
    {
      "type": "observation",
      "data": {
        "schema": "observation/1",
        "quantity": "pain",
        "value": 6,
        "unit": "score_0_10",
        "at": "2026-11-17T18:40:00Z",
        "body": { "joint": "knee", "side": "left" },
        "source": { "route": "teammate", "record_id": "org-app:pain:7731" },
        "confidence": 1.0,
        "context": { "timing": "post_session", "session": "org-session-552" }
      }
    }
  ]
}'
```

```typescript TypeScript theme={null}
import { createClient } from '@technicallyfit/sdk';

const tf = createClient({ credential: process.env.TF_API_KEY ?? '', baseUrl: process.env.TF_API_BASE });

const answer = await tf.POST('/v1/teammates/{external_id}/events', {
  params: { path: { external_id: 'member-1042' } },
  body: {
    events: [
      {
        type: 'observation',
        data: {
          schema: 'observation/1',
          quantity: 'pain',
          value: 6,
          unit: 'score_0_10',
          at: '2026-11-17T18:40:00Z',
          body: { joint: 'knee', side: 'left' },
          source: { route: 'teammate', record_id: 'org-app:pain:7731' },
          confidence: 1.0,
          context: { timing: 'post_session', session: 'org-session-552' }
        }
      },
    ],
  },
});
console.log(answer.results[0]?.status);
```

```python Python theme={null}
import os

from technicallyfit import Client

tf = Client(os.environ["TF_API_KEY"], base_url=os.environ.get("TF_API_BASE"))

answer = tf.send_teammate_events("member-1042", {
    "events": [
        {
          "type": "observation",
          "data": {
            "schema": "observation/1",
            "quantity": "pain",
            "value": 6,
            "unit": "score_0_10",
            "at": "2026-11-17T18:40:00Z",
            "body": { "joint": "knee", "side": "left" },
            "source": { "route": "teammate", "record_id": "org-app:pain:7731" },
            "confidence": 1.0,
            "context": { "timing": "post_session", "session": "org-session-552" }
          }
        }
    ]
})
print(answer["results"][0]["status"])
```

```json 200 theme={null}
{
  "results": [
    {
      "index": 0,
      "status": "accepted",
      "type": "observation",
      "event_id": "2c9e4f1a-7b3d-4c8e-9f0a-5d6e7f8a9b01",
      "observation": {
        "kind": "joint_level",
        "status": "not_interpreted"
      }
    }
  ],
  "summary": {
    "accepted": 1,
    "duplicate": 0,
    "rejected": 0
  }
}
```

## 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](https://docs.technicallyfit.com/guides/sending-events.md#logged_set) lists every field.

```json theme={null}
{
  "type": "logged_set",
  "data": {
    "at": "2026-11-17T18:05:00Z",
    "source": { "route": "org-app", "record_id": "org-app:set:552-1" },
    "session": { "id": "org-session-552", "planned_session_id": null },
    "movement": { "id": "back-squat" },
    "set": { "number": 1, "type": "working", "reps": 5, "load": { "value": 100, "unit": "kg" }, "effort": 8 }
  }
}
```

## Self-reports

A self-report is an `observation` event with one of three quantities.

| Quantity | What it is | Unit | Scale | Body |
| - | - | - | - | - |
| `pain` | Pain at a joint | `score_0_10` | 0 to 10 | A joint, and a side when the joint has one |
| `soreness` | Soreness at a joint | `score_0_10` | 0 to 10 | A joint, and a side when the joint has one |
| `session_effort` | How hard a whole session was | `rpe` | 1 to 10 | None |

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:

| Route | Use it when | Default confidence |
| - | - | - |
| `teammate` | The teammate reported it themselves. | 1.0 |
| `coach` | A coach reported it for the teammate. | 0.9 |

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](https://docs.technicallyfit.com/guides/observations.md#outside-workouts) 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:

```json theme={null}
{
  "type": "observation",
  "data": {
    "schema": "observation/1",
    "quantity": "pain",
    "value": 6,
    "unit": "score_0_10",
    "at": "2026-11-17T18:40:00Z",
    "body": { "joint": "knee", "side": "left" },
    "source": { "route": "teammate", "record_id": "org-app:pain:7731" },
    "confidence": 1.0,
    "context": { "timing": "post_session", "session": "org-session-552" }
  }
}
```

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

```json theme={null}
{
  "type": "observation",
  "data": {
    "schema": "observation/1",
    "quantity": "soreness",
    "value": 3,
    "unit": "score_0_10",
    "at": "2026-11-18T07:15:00Z",
    "body": { "joint": "shoulder" },
    "source": { "route": "teammate", "record_id": "org-app:soreness:7740" },
    "confidence": 1.0
  }
}
```

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

```json theme={null}
{
  "type": "observation",
  "data": {
    "schema": "observation/1",
    "quantity": "session_effort",
    "value": 8,
    "unit": "rpe",
    "at": "2026-11-17T18:35:00Z",
    "source": { "route": "coach", "record_id": "org-app:effort:552" },
    "confidence": 0.9,
    "context": { "session": "org-session-552" }
  }
}
```

## Body location rules

Pain and soreness must name a joint from the
[joint reference](https://docs.technicallyfit.com/guides/observations.md#body-location-and-sides).

* 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](https://docs.technicallyfit.com/guides/sending-events#constraint).
* 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](https://docs.technicallyfit.com/guides/member-apps.md), a teammate token sends for `@me`, and a self-report
goes on the `teammate` route.

> [tab] Organization key
>
> ```bash curl theme={null}
> curl -X POST "$TF_API_BASE/v1/teammates/member-1042/events" \
>   -H "X-API-Key: $TF_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>   "events": [
>     {
>       "type": "logged_set",
>       "data": {
>         "at": "2026-11-17T18:05:00Z",
>         "source": { "route": "org-app", "record_id": "org-app:set:552-1" },
>         "session": { "id": "org-session-552", "planned_session_id": null },
>         "movement": { "id": "back-squat" },
>         "set": {
>           "number": 1,
>           "type": "working",
>           "reps": 5,
>           "load": { "value": 100, "unit": "kg" },
>           "effort": 8
>         }
>       }
>     },
>     {
>       "type": "observation",
>       "data": {
>         "schema": "observation/1",
>         "quantity": "session_effort",
>         "value": 8,
>         "unit": "rpe",
>         "at": "2026-11-17T18:35:00Z",
>         "source": { "route": "coach", "record_id": "org-app:effort:552" },
>         "confidence": 0.9,
>         "context": { "session": "org-session-552" }
>       }
>     }
>   ]
> }'
> ```
>
> ```typescript TypeScript theme={null}
> import { createClient } from '@technicallyfit/sdk';
>
> const tf = createClient({ credential: process.env.TF_API_KEY ?? '', baseUrl: process.env.TF_API_BASE });
>
> const answer = await tf.POST('/v1/teammates/{external_id}/events', {
>   params: { path: { external_id: 'member-1042' } },
>   body: {
>     events: [
>       {
>         type: 'logged_set',
>         data: {
>           at: '2026-11-17T18:05:00Z',
>           source: { route: 'org-app', record_id: 'org-app:set:552-1' },
>           session: { id: 'org-session-552', planned_session_id: null },
>           movement: { id: 'back-squat' },
>           set: {
>             number: 1,
>             type: 'working',
>             reps: 5,
>             load: { value: 100, unit: 'kg' },
>             effort: 8
>           }
>         }
>       },
>       {
>         type: 'observation',
>         data: {
>           schema: 'observation/1',
>           quantity: 'session_effort',
>           value: 8,
>           unit: 'rpe',
>           at: '2026-11-17T18:35:00Z',
>           source: { route: 'coach', record_id: 'org-app:effort:552' },
>           confidence: 0.9,
>           context: { session: 'org-session-552' }
>         }
>       },
>     ],
>   },
> });
> console.log(answer.summary);
> ```
>
> ```python Python theme={null}
> import os
>
> from technicallyfit import Client
>
> tf = Client(os.environ["TF_API_KEY"], base_url=os.environ.get("TF_API_BASE"))
>
> answer = tf.send_teammate_events("member-1042", {
>     "events": [
>         {
>           "type": "logged_set",
>           "data": {
>             "at": "2026-11-17T18:05:00Z",
>             "source": { "route": "org-app", "record_id": "org-app:set:552-1" },
>             "session": { "id": "org-session-552", "planned_session_id": None },
>             "movement": { "id": "back-squat" },
>             "set": {
>               "number": 1,
>               "type": "working",
>               "reps": 5,
>               "load": { "value": 100, "unit": "kg" },
>               "effort": 8
>             }
>           }
>         },
>         {
>           "type": "observation",
>           "data": {
>             "schema": "observation/1",
>             "quantity": "session_effort",
>             "value": 8,
>             "unit": "rpe",
>             "at": "2026-11-17T18:35:00Z",
>             "source": { "route": "coach", "record_id": "org-app:effort:552" },
>             "confidence": 0.9,
>             "context": { "session": "org-session-552" }
>           }
>         }
>     ]
> })
> print(answer["summary"])
> ```

> [tab] Teammate token
>
> ```bash curl theme={null}
> curl -X POST "$TF_API_BASE/v1/teammates/@me/events" \
>   -H "Authorization: Bearer $TF_TEAMMATE_TOKEN" \
>   -H "Content-Type: application/json" \
>   -d '{
>   "events": [
>     {
>       "type": "logged_set",
>       "data": {
>         "at": "2026-11-17T18:05:00Z",
>         "source": { "route": "org-app", "record_id": "org-app:set:552-1" },
>         "session": { "id": "org-session-552", "planned_session_id": null },
>         "movement": { "id": "back-squat" },
>         "set": {
>           "number": 1,
>           "type": "working",
>           "reps": 5,
>           "load": { "value": 100, "unit": "kg" },
>           "effort": 8
>         }
>       }
>     },
>     {
>       "type": "observation",
>       "data": {
>         "schema": "observation/1",
>         "quantity": "session_effort",
>         "value": 8,
>         "unit": "rpe",
>         "at": "2026-11-17T18:35:00Z",
>         "source": { "route": "teammate", "record_id": "org-app:effort:552" },
>         "confidence": 1,
>         "context": { "session": "org-session-552" }
>       }
>     }
>   ]
> }'
> ```
>
> ```typescript TypeScript theme={null}
> import { createClient } from '@technicallyfit/sdk';
>
> const tf = createClient({ credential: process.env.TF_TEAMMATE_TOKEN ?? '', baseUrl: process.env.TF_API_BASE });
>
> const answer = await tf.POST('/v1/teammates/{external_id}/events', {
>   params: { path: { external_id: '@me' } },
>   body: {
>     events: [
>       {
>         type: 'logged_set',
>         data: {
>           at: '2026-11-17T18:05:00Z',
>           source: { route: 'org-app', record_id: 'org-app:set:552-1' },
>           session: { id: 'org-session-552', planned_session_id: null },
>           movement: { id: 'back-squat' },
>           set: {
>             number: 1,
>             type: 'working',
>             reps: 5,
>             load: { value: 100, unit: 'kg' },
>             effort: 8
>           }
>         }
>       },
>       {
>         type: 'observation',
>         data: {
>           schema: 'observation/1',
>           quantity: 'session_effort',
>           value: 8,
>           unit: 'rpe',
>           at: '2026-11-17T18:35:00Z',
>           source: { route: 'teammate', record_id: 'org-app:effort:552' },
>           confidence: 1,
>           context: { session: 'org-session-552' }
>         }
>       },
>     ],
>   },
> });
> console.log(answer.summary);
> ```
>
> ```python Python theme={null}
> import os
>
> from technicallyfit import Client
>
> tf = Client(os.environ["TF_TEAMMATE_TOKEN"], base_url=os.environ.get("TF_API_BASE"))
>
> answer = tf.send_teammate_events("@me", {
>     "events": [
>         {
>           "type": "logged_set",
>           "data": {
>             "at": "2026-11-17T18:05:00Z",
>             "source": { "route": "org-app", "record_id": "org-app:set:552-1" },
>             "session": { "id": "org-session-552", "planned_session_id": None },
>             "movement": { "id": "back-squat" },
>             "set": {
>               "number": 1,
>               "type": "working",
>               "reps": 5,
>               "load": { "value": 100, "unit": "kg" },
>               "effort": 8
>             }
>           }
>         },
>         {
>           "type": "observation",
>           "data": {
>             "schema": "observation/1",
>             "quantity": "session_effort",
>             "value": 8,
>             "unit": "rpe",
>             "at": "2026-11-17T18:35:00Z",
>             "source": { "route": "teammate", "record_id": "org-app:effort:552" },
>             "confidence": 1,
>             "context": { "session": "org-session-552" }
>           }
>         }
>     ]
> })
> print(answer["summary"])
> ```

```json 200 theme={null}
{
  "results": [
    {
      "index": 0,
      "status": "accepted",
      "type": "logged_set",
      "event_id": "9d3b5a7c-1e2f-4a6b-8c9d-0e1f2a3b4c5d"
    },
    {
      "index": 1,
      "status": "accepted",
      "type": "observation",
      "event_id": "a4c6e8f0-2b3d-4e5f-9a7b-1c2d3e4f5a6b",
      "observation": {
        "kind": "work_done",
        "status": "not_interpreted"
      }
    }
  ],
  "summary": {
    "accepted": 2,
    "duplicate": 0,
    "rejected": 0
  }
}
```

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.