Documentation Index
Fetch the complete documentation index at: https://docs.rewind.rest/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Running domain tracks running activities from Strava, including distance, pace, elevation, splits, gear, and personal records. Data syncs daily at 3:00 AM UTC via cron, with real-time updates from Strava webhooks for new activities.Key endpoints
| Endpoint | Description |
|---|---|
| GET /running/activities | Paginated activity list with filters |
| GET /running/activities/:id | Full activity detail including map polyline |
| GET /running/activities/:id/splits | Per-mile or per-km splits |
| GET /running/stats | Lifetime stats (total runs, distance, elevation, pace) |
| GET /running/stats/years/:year | Year-specific stats |
| GET /running/prs | Personal records by distance |
| GET /running/streaks | Run streak data (consecutive days) |
| GET /running/gear | Shoe/gear tracker with mileage |
| GET /running/races | Race results |
Charts
Several endpoints return data formatted for charting:| Endpoint | Description |
|---|---|
| GET /running/charts/cumulative | Cumulative distance over time |
| GET /running/charts/pace-trend | Pace trend over time |
| GET /running/charts/time-of-day | Activity distribution by time of day |
| GET /running/charts/elevation | Elevation gain over time |
Activity filters
The activities endpoint supports filtering by:year— filter to a specific year.type— workout type (default, race, long_run, etc.).city— filter by city name.min_distance/max_distance— distance range in miles.sort— sort field (date, distance, pace, elevation).order— asc or desc.- Standard date filters (
date,from,to).