User Symptoms
Use the userSymptoms
query to retrieve the logs of all the symptoms registered by the user.
Required Arguments
start
DateTime!
The starting date for the date range. Use the format: YYYY-MM-DD
end
DateTime!
The end date for the date range. Use the format: YYYY-MM-DD
id
ID
Symptom log Id.
first
Int
Max number of entries retrieved.
after
String
It takes the cursor type and retrieves results after that position.
Available Fields
id
ID
Symptom Log Id.
symptomId
ID
Symptom Id.
intensity
Int
Numeric value provided by the user to describe the intensity of the symptom.
timestamp
DateTime
Date entered by the user for when the symptom occurred.
notes
String
User-provided information about the symptom, e.g., trigger, duration, etc.
createdAt
DateTime
Date when the symptom was registered.
updatedAt
DateTime
Date when the symptom was last updated.
Example
query{
userSymptoms(start:"2025-07-02" end:"2025-07-04" first: 10){
pageInfo{
startCursor
endCursor
}
edges{
node{
id
symptomId
symptom{
id
name
categories{
id
name
}
}
intensity
timestamp
notes
createdAt
updatedAt
}
}
}
}
Last updated
Was this helpful?