About the flow restriction of multiple APIs associated with an usage plan

0

Please tell me about the behavior of the request flow restriction set in the usage plan.
When multiple APIs are associated with one usage plan, which of the following behaviors does the flow restriction set in the usage plan have?
①: The flow rate is restricted for each API. (When requesting multiple APIs, even if one API causes an excessive request error, the other API does not cause an excessive request error.)
②: The flow rate is restricted for the total number of requests to each API. (When requesting multiple APIs, if one API causes an excessive request error, the other API will also cause an excessive request error.)

akazaki
asked 4 years ago206 views
1 Answer
0
Accepted Answer

Hello:

The usage plan limit is applied per API key and is global to all APIs that have that plan associated, so #2 in your posted scenarios. If you want to assert different limits per API, you would associate different usage plans per API and/or set method level throttling inside the plan. Though note that if you set method level throttling inside the plan, that doesn't change the fact that the overall usage plan limit is still global to that key.

Regards,
Bob

EXPERT
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions