The API usage threshold event allows you to monitor your brand’s API usage and trigger a workflow when the usage meets critical levels. You can monitor for general API usage across your brand, or narrow down the monitoring to specific API request types, errors, and users.
Drop in success rate: Trigger the workflow if a certain percentage of requests fail.
Failed Authentication attempts (HTTP 401): Trigger the workflow is a certain number of requests fail authentication with a 401 error.
Hitting brand-wide Rate Limit: Trigger the workflow when a certain number or percentage of your brandwide’s rate limit has been met.
Hitting endpoint API limit (429 errors found): Trigger the workflow when a certain number or percentage of requests to a specific endpoint are failing with a 429 error.
Spike of Total Calls for a User: Trigger the workflow when a specific user in your license sends a certain number of requests.
Spike of 200s successes: Trigger the workflow when a certain number or percentage of requests are succeeding with a 200 message.
Spike of 400s/500s (excluding 401s and 429s): Trigger the workflow when a certain percentage of requests are failing with 400s or 500s errors, excluding 401 and 429 errors.
Set the threshold for your notification. What you enter here will be different depending on the type of notification you selected.
Choose how often you’d like your threshold to be checked:
Hourly: Every hour, 15 minutes after the top of the hour.
Daily at 12:00 PM UTC
Click Save.
Add a task to your workflow. This will be the task that creates the notification.