Event types
Last updated: 2 minutes read.
The built-in events that Tyk Gateway will generate are:
Rate limit events
RatelimitExceeded: the rate limit has been exceeded for a specific keyOrgRateLimitExceeded: the rate limit has been exceeded for a specific organisationRateLimitSmoothingUp: the intermediate rate limit allowance has been increased for a specific keyRateLimitSmoothingDown: the intermediate rate limit allowance has been decreased for a specific key
Standard quota events
QuotaExceeded: the quota for a specific key has been exceededOrgQuotaExceeded: the quota for a specific organisation has been exceeded
Authentication failure events
AuthFailure: a key has failed authentication or has attempted access and was deniedKeyExpired: an attempt has been made to access an API using an expired key
API version events
VersionFailure: a key has attempted access to a version of an API that it does not have permission to access
Circuit breaker events
BreakerTripped: a circuit breaker on a path has tripped and been taken offlineBreakerReset: a circuit breaker has reset and the path is available againBreakerTriggered: a circuit breaker has changed state, this is generated when either aBreakerTripped, or aBreakerResetevent occurs; a status code in the metadata passed to the webhook will indicate which of these events was triggered
Uptime events
HostDown: the uptime checker has found that a host is down/not availableHostUp: the uptime checker has found that a host is available again after being offline
Token lifecycle events
TokenCreated: a token has been createdTokenUpdated: a token has been changed/updatedTokenDeleted: a token has been deleted