I'm trying to access grade items with my web application, but I only receive 'Course total' for user grades when using core_grades_get_grades.
Currently I only have one test user with different grades manually set in Moodle and the received response correctly shows the summary of those values, but doesn't list them separately.
I'm using the admin's token and other queries work correctly (eg. listing courses and students)
My guess is that the system hides the grade items by default, but I've tried many settings and couldn't get it work.
Thanks in advance