GraphQL API Change Log
The heading date indicates the date that the GraphQL API code was made available in the production environment.
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.
- 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.