Save Ai Food Log
Last updated
Was this helpful?
Last updated
Was this helpful?
Use the saveAiFoodLog
mutation to save a food analysis result generated by the processAiFood mutation as a food log entry.
input
ProcessAIFoodInput
input.datetime
DateTime
The date when the food will be logged. Use the format: YYYY-MM-DDT hh:mm:ssZ
input.mealtime
MealTime!
Meal time to assign. enum MealTime { BREAKFAST LUNCH DINNER SNACK }
input.id
ID!
Id of the processed food.
success
Boolean
True if the food log has been saved. Otherwise, it displays False.
message
String
Description of the result.