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

# Reference data

> Read the catalog of anatomy, movements, sports, training archetypes and sports-science concepts with an API key.

The reference endpoints return the shared catalogs that programs, observations and exercises
point to: joints, muscles, movements, sports, training archetypes and sports-science
concepts. Every read on this page takes an API key with the `reference:read` scope and works
on both Personal and Organization workspaces, in test and live mode.

Set these two values once in your terminal. Every example in these docs reads them, so
no example has a host or a key typed into it.

```bash theme={null}
export TF_API_BASE="https://api.technicallyfit.com"
export TF_API_KEY="tf_test_your_key_here"
```

Use a test key (it starts with `tf_test_`) while you build. Never paste a live key into a
page, a ticket or a chat.

## Anatomy

Use the anatomy endpoints to list the joint and muscle ids used by exercises, body state
and observations.

| Endpoint | What it returns |
| - | - |
| `GET /v1/anatomy/joints` | Every joint in the catalog with its `id`, `name`, `joint_type`, `body_region`, whether it is bilateral (`is_bilateral`) and its `primary_movements`. |
| `GET /v1/anatomy/muscles` | Every muscle in the catalog with its `id`, `display_name`, `muscle_group` and `body_region`. |

## Movements

See [Movements](https://docs.technicallyfit.com/reference/movements.md) for how equipment groups, alternatives and loaded
sides work on every movement object. Use these reads to look up one movement, browse by
movement pattern or fetch alternatives.

| Endpoint | What it returns |
| - | - |
| `GET /v1/exercises/{exercise_id}` | One movement record by id, including its equipment requirements, loaded joints, primary and secondary muscles, movement pattern and skill level. |
| `GET /v1/exercises/{exercise_id}/alternatives` | Movements that can stand in for `{exercise_id}`. Pass `limit` to cap the number returned. |
| `GET /v1/exercises/pattern/{pattern}` | Movements matching a movement pattern such as `squat`, `hinge` or `pull_vertical`. Filter with `has_demo` and cap results with `limit`. |

## Sports

The sports endpoints list the supported sports, their categories and each sport's positions
and movement demands.

| Endpoint | What it returns |
| - | - |
| `GET /v1/sports` | The list of sports (`sports` and `total`). Pass `category` to filter to one sport category. |
| `GET /v1/sports/categories` | The list of sport category names you can pass to `GET /v1/sports?category=...`. |
| `GET /v1/sports/{sport_id}` | One sport record with its `category`, `positions`, `energy_systems`, `emphases`, `key_patterns`, `injury_risk_areas` and `season_weeks`. |

## Training archetypes

Archetypes describe common training styles and their typical rep ranges, rest windows,
session frequency and progression styles.

| Endpoint | What it returns |
| - | - |
| `GET /v1/archetypes` | Every training archetype (`archetypes` and `total`). |
| `GET /v1/archetypes/{archetype_id}` | One archetype by id, including its `description`, `typical_rep_range`, `typical_sets`, `typical_rpe`, `rest_seconds`, `primary_modalities`, `key_patterns`, `session_frequency`, `progression_style`, `ideal_training_age` and `example_goals`. |

## Knowledge

The knowledge endpoints search and browse sports-science concepts and their citations.

| Endpoint | What it returns |
| - | - |
| `GET /v1/knowledge/types` | The available concept types in `{ "types": [...] }`. |
| `GET /v1/knowledge/types/{concept_type}` | Concepts of one type (`concepts` and `total`). Pass `limit` to cap the number returned. |
| `GET /v1/knowledge/search` | Search concepts by query string `q`, optionally filtered by `type` and capped by `limit`. |
| `GET /v1/knowledge/concepts/{concept_id}` | One concept by id (optionally narrowed by `type`), returning its `name`, `description`, `detail`, `evidence_grade`, `citation_ref`, `source_citation` and `academy_url` (or `null` if not found). |

## Example

```bash curl theme={null}
curl "$TF_API_BASE/v1/anatomy/joints" \
  -H "X-API-Key: $TF_API_KEY"
```


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