Endpoint
Authentication
This endpoint requires authentication via Bearer token.Path Parameters
Date in YYYY-MM-DD format (e.g., “2024-03-15”)
Response
Indicates if the request was successful
Day summary data
The requested date in YYYY-MM-DD format
Total number of meal entries logged on this day
Total number of symptom entries logged on this day
Highest symptom intensity recorded (1-5), or null if no symptoms
Overall status of the day based on symptoms. Options:
great, good, okay, bad, terribleTotal calories consumed (if nutritional tracking is enabled)
Array of all entries for the day (meals and symptoms)
Examples
Get summary for a specific day
Get today’s summary
Get summary for yesterday
Day Status Calculation
ThedayStatus field is calculated based on symptom count and intensity:
| Status | Criteria |
|---|---|
great | No symptoms logged |
good | 1-2 symptoms with max intensity 1-2 |
okay | 1-3 symptoms with max intensity 3 |
bad | 3+ symptoms or max intensity 4 |
terrible | Multiple severe symptoms or max intensity 5 |
Use Cases
Daily Review
Use this endpoint to display a summary of the user’s day, showing how many meals were logged and whether they experienced any symptoms.Calendar Views
When displaying a calendar, fetch day summaries to show status indicators (colored dots or icons) for each day.Trigger Identification
TheproblematicFoods array helps identify which foods might have caused symptoms on a given day.