GraphQL API Change Log
The heading date indicates the date that the GraphQL API code is made available in the production environment.
2025-08-16
Beta Availability: 2025-06-16
Announcement Date: 2025-06-18
Updated on 2025-07-03: Production release of 2025-07-19 is delayed, the new production date is 2025-08-16.
Improved Handling of User Data for Anonymous Grading
When querying submissions for assignments that are actively using anonymous grading, the user field returns null. This change helps preserve grading anonymity by preventing access to identifiable user information while anonymous grading is active.
2025-05-17
Beta Availability: 2025-04-21
Announcement Date: 2025-04-18
GraphQL limits are added to Canvas to strengthen Canvas's GraphQL implementation against various denial of service attacks.
- A query cannot have a complexity over 375,000. (To see how complexity is calculated look at https://graphql-ruby.org/queries/complexity_and_depth#connection-fields.) Query strings exceeding 5000 tokens will result in an error.
Changes that won’t trigger errors, but may return fewer values than expected:
- The default page size for returned results is now set to 20. Queries that would previously return unlimited results, by default, are capped at 20. See the GraphQL API Pagination section for more details.
- Users can request a higher page limit (up to100) in their query.
2024-10-09
Announcement Date: 2024-09-27
Beta Availability: 2024-09-26
GraphQL limits are added to Canvas to strengthen Canvas's GraphQL implementation against various denial of service attacks.
Significant changes to be aware of that may affect functionality:
- A query is limited to a max depth of 15.
- A query cannot have a complexity over 375,000. (To see how complexity is calculated look at https://graphql-ruby.org/queries/complexity_and_depth#connection-fields.)Query strings exceeding 5000 tokens will result in an error. [Delayed as of 2024-10-08]
Changes that won’t trigger errors, but may return fewer values than expected:
- The default page size for returned results is now set to 20. Queries that would previously return unlimited results, by default, are capped at 20. [Delayed as of 2024-10-08]
- Users can request a higher page limit (up to100) in their query.