Rate limits
Per-IP request rate limits, burst capacity, request-size limits, and 429 handling. Pricing is usage-based; there are no plan quotas.
ulex applies technical request-rate controls to protect authentication and service availability. Pricing is usage-based; tenant resource counts and usage reports do not impose plan limits.
#Request buckets
| Traffic | Sustained rate | Burst | Key |
|---|---|---|---|
| General routes (including MCP, SCIM, SAML, REST) | 600 requests/minute | 1,200 | Source IP |
Authentication and token routes (/oauth2/*, /auth/*, portal signup/session) | 60 requests/minute | 120 | Source IP |
These token buckets are in memory per Lambda execution environment. API Gateway stage throttling is the distributed backstop. Requests behind one NAT share a bucket within a container. A missing source IP uses the unknown bucket.
Request bodies are limited to 2 MiB. A larger body returns 413 payload_too_large before JSON/XML parsing.
#Rate-limit response
{
"error": {
"type": "rate_limited",
"code": "too_many_requests",
"message": "Rate limit exceeded. Back off and retry."
}
}The response includes Retry-After, ratelimit, and x-ulex-request-id headers. Honor Retry-After; it is the seconds until a token is available. Add jitter when coordinating multiple callers.
HTTP/2 429 Too Many Requests
retry-after: 17
ratelimit: "ulex";r=600, t=17#Other technical capacity limits
Protocol and request-shape bounds—such as pagination limits, SCIM bulk operation count, SAML response size, and webhook retry caps—are documented in Limits. These are correctness and resource-protection boundaries, not billing tiers.
#A 500 is not a rate limit
Under concurrent load, Lambda account concurrency can produce a 500 rather than 429 before the shield runs. That is the account's concurrency ceiling, not a source-IP bucket; see the burst-traffic runbook.
#Usage
ulex_get_status and ulex_get_usage report tenant resource counts for visibility. Their output contains no quota or headroom fields and is not a prediction of a plan limit. Pricing is usage-based.