Safety
Saturday is a nutrition API for endurance athletes. Bad nutrition advice can cause real harm — and in extreme cases, death. This page explains Saturday’s safety model, why it exists, and what it means for your integration.What can go wrong
Saturday’s engine has physiological guardrails for all of these. Every prescription respects hard limits that the algorithm enforces regardless of inputs.
The safety block
Every nutrition calculation response — including teasers and free responses — includes asafety object:
Safety data is NEVER gated behind subscription status. A teaser response may show carb ranges instead of exact numbers, but it will always show the full safety block with all warnings, confidence scores, and safe maximums. This is non-negotiable.
Engine hard limits
Saturday enforces absolute physiological boundaries that cannot be overridden by any input combination:
These guardrails are evaluated on every calculation. The
max_safe_fluid_ml_per_hr and max_safe_sodium_mg_per_hr fields expose the hard ceilings so partners can display them. All other guardrails are enforced internally — prescriptions always respect them.
Confidence score and human review
Theconfidence_score (0.0-1.0) indicates how well-supported the prescription is. When requires_human_review is true, conditions are unusual enough that a human should verify the prescription before following it.
Dangerous vs. safe prescription example
Dangerous (what a naive algorithm might produce for a 4-hour marathon in 30C heat):- 1200 mL/hr exceeds gastric emptying rate — athlete will drink it but not absorb it, diluting blood sodium
- 200 mg/hr sodium is far too low for hot conditions — hyponatremia risk is extreme
- 120 g/hr carbs without trained gut tolerance — GI distress guaranteed
The not_instructions field
For AI agents consuming Saturday’s API (AI-to-AI communication), responses include:
Display requirements for partners
Required
- Always show safety warnings when warnings are present or
requires_human_reviewistrue - Never hide safety data behind expandable sections or “advanced” toggles
- Never strip safety metadata from responses before displaying to users
- Include the disclaimer that prescriptions are guidance, not medical advice
Recommended
- Show warnings before or alongside the prescription numbers, not hidden in details
- Use visual hierarchy (color, icons, positioning) to make warnings visible
- When
requires_human_reviewistrue, consider requiring user acknowledgment before proceeding
Prohibited
- Don’t filter warnings based on your own risk assessment
- Don’t apply your own safety logic on top of Saturday’s — this creates conflicting advice
- Don’t present prescriptions without any safety context
- Don’t use Saturday’s numbers as automated triggers (e.g., auto-ordering hydration packs)
Contraindications
In rare cases, Saturday may flag a contraindication — a reason the calculation should be treated with extreme caution:Eating disorder sensitivity
When an athlete has theeating_disorder_flag set, Saturday:
- Avoids calorie-focused language
- Removes weight/restriction framing from rationale text
- Applies conservative minimums (never under-fuels)
- Adjusts AI coaching conversation tone