Lucille Bridge

Per-user health sample query — time-windowed reads of health_samples rows for one (user, sample_type). Cursor-paginated for stable iteration. Used by Lucille for coach-prep, daily-fix prompt assembly, and AI chat context that needs raw signal beyond the daily summary. Requires the user to have set coach_data_consent_at AND health_data_consent_at.

get/api/bridge/user-health-samples/{userId}

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/bridge/user-health-samples/{userId}
  • Auth
    API key in header X-Bridge-Key

Path parameters

userIdnumber required

Query parameters

metricstring required
sincestring required
untilstring required
limitstring required
cursorstring required

Changes

No recorded changes to this operation across all 34 revisions of this API.