Documentation Index
Fetch the complete documentation index at: https://docs.saturday.fit/llms.txt
Use this file to discover all available pages before exploring further.
Nutrition Calculation
The nutrition calculation endpoint is Saturday’s core product. It takes an activity description and returns a personalized fuel prescription — carbohydrate, hydration, and electrolyte targets — with safety guardrails applied.Progressive enrichment
Saturday works with whatever data you have. More data produces more accurate prescriptions — but even minimal inputs return useful results.Minimal inputs
The bare minimum for a calculation:confidence_score. The numbers are based on population-level defaults for the given activity type and body weight.
Standard inputs
Add intensity and environmental conditions for a meaningfully better prescription:Comprehensive inputs
For the highest accuracy, include an athlete reference:athlete_id, Saturday pulls their stored profile — sweat level, saltiness, carb experience, fitness level, and past activity feedback. This is where prescriptions become genuinely personalized.
Understanding the response
Confidence score
Thesafety.confidence_score (0.0-1.0) indicates how personalized the prescription is:
| Range | Meaning | Typical inputs |
|---|---|---|
| 0.8-1.0 | Strong personalization, athlete history | Athlete profile + conditions + feedback |
| 0.5-0.8 | Good estimates with some personalization | Weight + intensity + thermal stress |
| 0.0-0.5 | Population-level defaults applied | Minimal inputs (type + duration + weight) |
Comparing scenarios
Compare prescriptions across different conditions — ideal for race-day planning UIs:Teaser vs. full responses
Responses depend on the athlete’s Saturday subscription status:- Subscribed athletes get exact numbers:
"carb_g_per_hr": 72 - Free/teaser athletes get ranges:
"carb_range_g_per_hr": "55-85"
Safety
Every calculation response includes asafety block. This is non-negotiable — Saturday is a nutrition API for athletes, and bad recommendations can cause real harm.
See Safety for the full guide on safety fields, risk levels, and display requirements.
Supported activity types
| Type | Key | Notes |
|---|---|---|
| Running | run | Road, trail, track |
| Cycling | bike | Road, gravel, mountain |
| Swimming | swim | Pool, open water |
| Rowing | row | On-water, ergometer |
| Skiing | ski | Cross-country, classic, skate |
| Hiking | hike | Long-duration, variable intensity |
| Weightlifting | lift | Strength training |
GET /v1/activity-types for the complete list with descriptions.