Get nutrient intake history.
Nutrient intake from logged meals, aggregated by day, week or month. Weekly and monthly values are daily averages over days with meals. Health-tagged memories hidden from the credential are excluded.
get/v1/nutrition/history
Request
- Base URL: https://api.cortexplus.io
- URL: https://api.cortexplus.io/v1/nutrition/history
- Auth: HTTP bearer
Query parameters
fromstring date required
First local date (inclusive).
tostring date required
Last local date (inclusive). Up to 366 days for day, 1830 for week/month.
granularity'day' | 'week' | 'month'
Bucket size; weeks start on Monday.
timezonestring
IANA time zone; defaults to the account setting.
Response
Successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.