---
title: "Get workouts in a date range"
method: GET
path: "/api/workout"
---

# Get workouts in a date range

`GET /api/workout`

## Request

- Base URL: `https://healthpartner.shrynshjn.com`
- URL: `https://healthpartner.shrynshjn.com/api/workout`
- Auth: none declared

## Query parameters

- `start` string, date-time, required
- `end` string, date-time, required
- `limit` integer
- `cursor` string

## Response `200`

OK

- WorkoutQueryResponse
  - `workouts` WorkoutItem[]
    - `id` string
    - `name` string
    - `type` string
    - `startTime` string, date-time
    - `duration` number
    - `endTime` string, date-time
    - `calories` number
  - `nextCursor` string, nullable

---

[API](https://skmtc.dev/shrynshjn/apis/health-partner-api.md) · [All operations](https://skmtc.dev/shrynshjn/apis/health-partner-api/llms.txt) · [OpenAPI document](https://skmtc.dev/shrynshjn/apis/health-partner-api/revisions/687e966e4267?raw)
