Skip to main content
Saturday never serves exact-looking numbers computed from guesses. Every calculation response tells you exactly how complete the athlete’s fueling profile is, what’s missing, and how to fix it. This guide covers the precision model and the four ways an athlete’s answers can reach Saturday.

The precision model

Calculation responses carry a precision object on every tier:
  • profile_complete: true means the inputs are complete. Full-tier responses carry exact numbers (carb_g_per_hr and friends); teaser responses still carry ranges.
  • profile_complete: false puts bands there instead (carb_range_g_per_hr and friends). With a partner API key, missing_fields arrives sorted most-impactful-first, so it is your collection roadmap: the top entry is the question that buys the most precision.
  • The trial clock starts at the athlete’s first calculation carrying any real data. Zero-data calls never start it. Collect the profile first and the 14-day window delivers exact numbers rather than wide bands. See Freemium Model.
Each missing field carries a display_label, the plain-English name of the question (“how much you sweat”), so you can build the prompt without exposing an internal key. With a partner API key, precision.message names fields by their API names and says where each goes, for your code and your logs; build what the athlete sees from the display_labels. With a partner API key each field also carries band_impact, in per-hour units, rounded to the same increments the bands use, saying roughly how much narrower the band gets once that field is answered. Take missing_fields in the order it arrives rather than re-sorting on these numbers, since rounding can leave two fields tied. An app signed in on an athlete’s behalf through OAuth2 gets missing_fields without band_impact, in a fixed order.

What “complete” means, twice

Two different completeness checks share a name, and mixing them up is the usual surprise. precision.profile_complete, on a calculation response, is per-call. It requires every profile field and the activity parameters for that call: intensity_level, thermal_stress_level, meal_before_min, and is_race. An athlete with a perfect stored profile still gets a band if the call omits those. On POST /v1/nutrition/calculate you send them in the request body; on POST .../activities/{id}/calculate they are read from the stored activity, so set them when you create it. The athlete record’s profile_complete field, the one ?profile_complete=false filters on and athlete.profile_completed fires for, covers the stored profile only: sex, year_of_birth, weight_kg, sweat_level, saltiness, satiety_level, fitness_level, carb_experience, usual_carb_consumption, and an answered concerns question.
missing_fields names the safety core as sex, age, athlete_weight_kg, sweat_level, saltiness, carb_experience, usual_carb_consumption, intensity_level, and thermal_stress_level, each marked required: true. age and athlete_weight_kg are the calculation-side names for the athlete’s year_of_birth and weight_kg. satiety_level, fitness_level, concerns, meal_before_min, and is_race come back as required: false. false does not mean optional: exactness needs every listed field, required or not.With a partner API key, precision also splits the list in two, on every tier: missing_profile_fields, the athlete’s answers that the onboarding link or your own questions collect, and missing_session_inputs, the session inputs your request or activity left out, which are yours to send. Both name inputs only.

Four ways to collect the profile

1. Hosted onboarding page (sandbox)

In the sandbox, an incomplete-profile response for a request with an athlete_id carries precision.onboarding.url, a link to Saturday’s hosted onboarding page for that athlete, co-branded with your platform. Production responses carry no link until the page opens there; until then, collect the answers with your own UI and our questions (option 2). Check that the URL is present before showing a button, email link, or push action. Requests without an athlete reference do not receive a hosted-onboarding URL.
  • It asks only the questions that are missing, one per screen, mobile-first, in about three minutes.
  • Each answer commits as it is given, so a half-finished session still narrows the bands.
  • The finish screen asks the athlete’s consent to show fuel for their most recent activity. An athlete with a complete profile whom your API calls would answer exactly (a subscription, a license, or a trial call left) gets that fuel: if you have registered an activity_link_template on your partner account (yourapp://activity/{external_id}, for instance), it deep-links into your activity screen; otherwise it renders the numbers itself and returns the athlete via your return_url. Any other athlete sees no numbers: the finish says their answers are saved and sends them back to you for their fueling numbers.
  • When the athlete’s Saturday account is connected to your platform and they are 18 or older, the finish screen also asks “Let {your platform} see your fueling answers?”. Yes emails their Saturday address a one-tap confirmation, and sharing starts when they tap it; No turns sharing off at once. See Reading an athlete’s fueling profile.
  • The link works for 90 days. Every later incomplete-profile response carries a fresh one, and POST /v1/athletes/{athlete_id}/onboarding-link makes one whenever you ask, so athletes can come back and edit their answers.
The link alone opens the athlete’s sex, birth year and weight with no sign-in, so it stops working after 90 days. What an athlete who opens an expired link gets depends on the addresses on your partner account: A damaged or forged link always gets the last of these. Saturday sends athletes only to addresses on your partner account, never to one carried in a link. GET /v1/partner shows the return_url and refresh_url on your account; to set or change them, write to api@saturday.fit. Your refresh address receives the athlete’s browser:
athlete_id is the Saturday athlete id and locale the language the page was showing (en, es, fr, pt, de or ja). Query parameters in the address you registered are kept. Your server then:
  1. Makes sure the athlete is signed in to your product, signing them in if not, and that athlete_id belongs to the signed-in user. Without this check, anyone holding an old link could get a fresh one.
  2. Asks for a fresh link: POST /v1/athletes/{athlete_id}/onboarding-link with the locale it received.
  3. Redirects to the url in the answer (302 or 303). If the call fails, it shows its own message.
The athlete is back on their questions a moment after opening the old link, and nobody at your end does anything by hand. Stripe’s hosted onboarding works the same way (its refresh_url). In the sandbox the refresh address may be http://localhost:<port> for testing; in production it must be https. Inside the @saturdayinc/onboard widget the page stays in the widget. It tells the widget the link has expired, and the widget closes and calls your onExpired callback when you set one, so you can fetch a fresh link from your server and open the widget again.
The request body is optional: locale (en, es, fr, pt, de or ja) opens the page in that language. expires_at is in Unix seconds, 90 days after the call. The athlete must be one of yours, or the call returns 404 with athlete_not_found. Production answers this call with 403 and hosted_onboarding_unavailable until the page opens there, as its calculation responses carry no link until then.

2. Your UI, our questions (headless)

Returns the versioned question schema: field names, types, the answer values Saturday stores, the athlete-facing copy with its localization keys, and which fields are required. Render it natively and write answers through PATCH /v1/athletes/{id}/settings or athlete create and update. The answer values are odd-point selectors (1, 3, 5, 7, 9), not continuous sliders, and some questions map two labels onto one value: “Not sure” for saltiness stores the same 5 as “Somewhat salty”. Key your option state on the label or the index, not on the value, or those options will collide. Attribution is required when you render Saturday’s questions in your UI. The schema response carries the attribution object, the same contract as a calculation response. New questions arrive as recommended rather than required, so a schema change does not turn a complete athlete incomplete overnight. schema_version ships in the response; record which version an athlete answered under so you can tell when re-asking is worthwhile.

3. Saturday app (once, forever)

If the athlete uses the Saturday app and their Saturday account is connected to your athlete record, their app onboarding powers their numbers on your platform too, resolved at calculation time rather than synced. The connection comes from a Saturday checkout link they open from your platform, or from an exact email match they confirm from an email Saturday sends to their Saturday address. Calculations use those answers whether or not the athlete shares them. You see the answers themselves only if the athlete chooses to share them with your platform: in the Saturday app, with the switch for your platform on the Partner Sharing card in Preferences (one switch per connected partner platform), or on the hosted page’s finish screen, confirmed from an email. Nothing is shared until they turn it on, sharing has no expiry, and athletes under 18 cannot share. While they share, GET /v1/athletes/{athlete_id}/fueling-profile returns their sex, age, weight and fueling answers.

4. Pass fields inline

Every calculate call accepts the full profile inline (sweat_level, saltiness, and the rest; see Nutrition Calculation). Inline values win over stored ones for that call, and do not overwrite the stored profile. Good for stateless integrations, where you carry the data.

Finding athletes to nudge

Lists the athletes still short of exactness. Pair it with the athlete.profile_completed webhook, which fires once on the crossing into completeness, so you can mark the moment in your UI when an athlete’s numbers go exact.