Throttling or where is your quota defined?

Jump to solution
healeyt
Community Novice

I am writing a service that will call the Canvas API anywhere from once every 5 minutes to once every hour.

Based on this page:

Throttling - Canvas LMS REST API Documentation

I am will be throttled based on my quota but I can't find my quota. Where is it?

Now the document above mentions that since I won't issue more than one request at a time, I likely won't hit the limit, but I would like to know what it is.

Can anyone help?

1 Solution
marksuman
Community Novice

When you make a request, your remaining quota is returned in the header under the X-Rate-Limit-Remaining value. You can also look at the X-Request-Cost header to see how much that specific request cost against your quota and make projections about your potential throughput.

View solution in original post