---
title: "Past routes that fit prescribed sessions, by sport and start area"
method: POST
path: "/training/route-suggestions"
tags: ["Training"]
---

# Past routes that fit prescribed sessions, by sport and start area

`POST /training/route-suggestions`

## Request

- Base URL: `https://bodylab.lol/api/v1`
- URL: `https://bodylab.lol/api/v1/training/route-suggestions`
- Auth: HTTP bearer

A query with a body: every sport the athlete could pick today, answered at once.

## Headers

- `X-Client-Platform` string
- `X-Client-Version` string

## Request body

- object
  - `sessions` object[], required
    - `modality` string, required: Sport, from the engine's vocabulary (packages/engine/src/sports.ts), e.g. road_biking, running, hiking, strength_training. Known values: road_biking, running, hiking, strength_training, other. Treat unknown values as "other".
    - `durationMin` integer, required
    - `zone` integer, required
  - `areas` integer
  - `limit` integer

## Response `200`

OK

- object: Start areas with routes, by modality.

## Other responses

- `401`: Error: UNAUTHORIZED.

---

[API](https://skmtc.dev/bodylab/apis/body-lab-api.md) · [All operations](https://skmtc.dev/bodylab/apis/body-lab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bodylab/apis/body-lab-api/revisions/544c201eaf88?raw)
