Create rate limit rules to limit the number of inbound REST API requests processed per hour.

Before you begin

Role required: rate_limit_admin

About this task

Set rate limits for all users, users with specific roles, or all users.
Note: As requests reach an instance, each node maintains a rate limit count per user. Every 30 seconds, the count is committed to the database. As a result, a rate limit rule may not take effect for up to 30 seconds.

Procedure

  1. Navigate to All > System Web Services > REST > Rate Limit Rules.
  2. Click New and enter the following field values.
  3. Click Submit.
    The new rate limit goes into effect.

What to do next

After you submit the rule, the ServiceNow AI Platform adds the following related lists to the rule record:
Rate Limit Counts
Lists, by user, the number of inbound REST API requests affected by this rate limit rule.
Rate Limit Violations
Lists, by user, the violations of this rate limit rule.

You can use these related lists to Monitor inbound REST API rate limit counts and violations.