Skip to content

createEntryInput

Autogenerated input type of createEntry

Fields

deprecated DO NOT USE
category · String · The category of the entry (e.g., "Steps", "Average Heart Rate", etc.).
check_duplicates · Boolean · Deprecated. (Used in bulkCreate mutation instead) Check for duplicates, currently only supported if third_party_source is apple_health.
deprecated Deprecated
created_at · String · The timestamp when the entry was created.
description · String · A text description or note associated with the entry.
ed_posthunger · String · A 1-10 hunger scale after eating, where 1 is ravenous and 10 is painfully full.
ed_prehunger · String · A 1-10 hunger scale before eating, where 1 is ravenous and 10 is painfully full.
emotions · String · A numerical value representing the user's mood towards the meal (e.g., 1: Stressed, 2: Anxious, 3: Tired, 4: Bored, 5: Confident, 6: Happy, 7: Sad, 8: Angry).
food_items · String · A comma-separated list of food items, where each item is formatted as 'Food record ID;ServingSize record ID;modifier' (e.g., '123;456;1,789;012;2'). Modifier is a numeric multiplier on the serving size. Associates the items with a Meal linked to this entry.
image · Upload · An image file upload to attach to the entry. See 'File Uploads' under 'API Concepts' in our 'Guides and Recipes' for more information on how to upload files.
image_string · String · A base64-encoded image string to attach to the entry, used as an alternative to the image upload field.
meal_ids · String · A comma-separated list of meal IDs to associate with this entry.
meal_name · String · The name of a new meal to create and associate with this entry.
metric_stat · String · The statistic associated with the metric entry.
notify_provider · Boolean · If true, will trigger a notification to the provider based on the provider settings. If nil or false will trigger a notification to the provider if the poster is a patient.
other_symptom · String · Other symptom typed by the client.
percieved_hungriness · String · Deprecated misspelling of perceived_hungriness. Use perceived_hungriness instead.
deprecated Use `perceived_hungriness` instead
perceived_hungriness · String · The user's self-reported hunger level.
reflection · String · The user's free-text reflection or notes about the meal.
symptoms · String · A comma-separated list of symptom IDs selected by the client for this entry.
third_party_source · String · The third-party source that created this entry (e.g., apple_health, google_fit, fitbit).
type · String · The type of entry to create. One of MetricEntry, FoodEntry, WorkoutEntry, MirrorEntry, SleepEntry, NoteEntry, WaterIntakeEntry, PoopEntry, SymptomEntry.
user_id · String · The ID of the user (patient) for whom the entry is being created. Defaults to the current user if not provided.
subentries · [SubentryInput] · The list of subentries associated with this entry.

Used By

Definition

"""
Autogenerated input type of createEntry
"""
input createEntryInput {
"""
DO NOT USE
"""
clientMutationId: String @deprecated(reason: "DO NOT USE")
"""
The category of the entry (e.g., "Steps", "Average Heart Rate", etc.).
"""
category: String
"""
Deprecated. (Used in bulkCreate mutation instead) Check for duplicates, currently only supported if third_party_source is apple_health.
"""
check_duplicates: Boolean @deprecated(reason: "Deprecated")
"""
The timestamp when the entry was created.
"""
created_at: String
"""
A text description or note associated with the entry.
"""
description: String
"""
A 1-10 hunger scale after eating, where 1 is ravenous and 10 is painfully full.
"""
ed_posthunger: String
"""
A 1-10 hunger scale before eating, where 1 is ravenous and 10 is painfully full.
"""
ed_prehunger: String
"""
A numerical value representing the user's mood towards the meal (e.g., 1: Stressed, 2: Anxious, 3: Tired, 4: Bored, 5: Confident, 6: Happy, 7: Sad, 8: Angry).
"""
emotions: String
"""
A comma-separated list of food items, where each item is formatted as 'Food record ID;ServingSize record ID;modifier' (e.g., '123;456;1,789;012;2'). Modifier is a numeric multiplier on the serving size. Associates the items with a Meal linked to this entry.
"""
food_items: String
"""
An image file upload to attach to the entry. See 'File Uploads' under 'API Concepts' in our 'Guides and Recipes' for more information on how to upload files.
"""
image: Upload
"""
A base64-encoded image string to attach to the entry, used as an alternative to the image upload field.
"""
image_string: String
"""
A comma-separated list of meal IDs to associate with this entry.
"""
meal_ids: String
"""
The name of a new meal to create and associate with this entry.
"""
meal_name: String
"""
The statistic associated with the metric entry.
"""
metric_stat: String
"""
If true, will trigger a notification to the provider based on the provider settings. If nil or false will trigger a notification to the provider if the poster is a patient.
"""
notify_provider: Boolean
"""
Other symptom typed by the client.
"""
other_symptom: String
"""
Deprecated misspelling of perceived_hungriness. Use perceived_hungriness instead.
"""
percieved_hungriness: String
@deprecated(reason: "Use `perceived_hungriness` instead")
"""
The user's self-reported hunger level.
"""
perceived_hungriness: String
"""
The user's free-text reflection or notes about the meal.
"""
reflection: String
"""
A comma-separated list of symptom IDs selected by the client for this entry.
"""
symptoms: String
"""
The third-party source that created this entry (e.g., apple_health, google_fit, fitbit).
"""
third_party_source: String
"""
The type of entry to create. One of MetricEntry, FoodEntry, WorkoutEntry, MirrorEntry, SleepEntry, NoteEntry, WaterIntakeEntry, PoopEntry, SymptomEntry.
"""
type: String
"""
The ID of the user (patient) for whom the entry is being created. Defaults to the current user if not provided.
"""
user_id: String
"""
The list of subentries associated with this entry.
"""
subentries: [SubentryInput]
}