Technical capacity and protocol limits in ulex: request size, array and string lengths, pagination bounds, per-IP rate limits, token lifetimes, SAML and SCIM constraints. Pricing is usage-based; there are no plan quotas.
Technical limits protect the service and uphold protocol constraints. Pricing is usage-based; resource counts are informational and there are no plan quotas.
#Rate limits
| Bucket | Limit | Window | Scope | Error |
|---|
| General routes (including REST, MCP, SCIM, SAML) | 600 sustained, 1,200 burst | token bucket | source IP, per Lambda container | too_many_requests, 429 |
| Authentication/token routes | 60 sustained, 120 burst | token bucket | source IP, per Lambda container | too_many_requests, 429 |
| Request body | 2 MiB | per request | request | payload_too_large, 413 |
Rate buckets are in memory per Lambda container; API Gateway stage throttling is the distributed backstop. See Rate limits for response headers and retry behavior.
#String and value limits
| Field | Max | Error |
|---|
id | 29 chars (3 + 1 + 26) | pattern violation |
timestamp | ISO-8601 | validation_failed |
email | 320 | validation_failed |
hostname | 253 | validation_failed |
https URL | 2,048 | validation_failed |
slug | 63 | validation_failed |
name | 120 (most resources) | validation_failed |
user.first_name, last_name | 80 | validation_failed |
user.display_name | 160 | validation_failed |
user.job_title, department | 120 | validation_failed |
user.external_id | 255 | validation_failed |
connection.name | 120 | validation_failed |
connection.display_name (SAML) | 255 | validation_failed |
organization.metadata values | string, number, boolean, or null. No nested objects | validation_failed |
audit_event.metadata | any JSON | none |
Idempotency-Key | 64 | ignored if longer |
X-Ulex-Request-Id | 64 | ignored if longer |
X-Ulex-Correlation-Id | 64 | ignored if longer |
metadata on organizations, users, connections, and applications is flat. A nested object is 400 validation_failed with param: "metadata". The audit log's metadata is not flat and is the only place nested structures belong.
#Array limits
| Field | Max | Error |
|---|
application.redirect_uris | 50 | limit_reached |
application.cross_app_sso_redirect_urls | 50 | limit_reached |
connection.domains | 500 | limit_reached |
connection.organization_ids | 1,000 | limit_reached |
connection.directory_ids | 1,000 | limit_reached |
oidc.allowed_domains | 500 | limit_reached |
saml.acs_allowed_urls | 20 | limit_reached |
mock.seed_users | 500 | limit_reached |
scim.group_filter, scim.user_filter | 512 | validation_failed |
user.scim.timezone | 64 | validation_failed |
api_key.ip_allowlist | 50 | validation_failed |
auth_policy.blocked_ip_ranges | 200 | validation_failed |
audit_export window | 100,000 events | 413 |
audit_export in format: json | 10,000 events | silently truncated. Use ndjson |
/scim/v2/Bulk operations | 100 per request | 413 scim_bulk_exceeded |
/scim/v2/Bulk payload | 10 MiB | 413 |
| SAML AuthnRequest | 8 KiB deflated | 400 saml_request_invalid |
| SAML assertion | 256 KiB base64 | 400 saml_response_invalid |
SAML RelayState | 80 bytes | truncated, not rejected |
webhook.description | 300 | validation_failed |
webhook_delivery.response_body stored | 2,000 chars | truncated |
webhook_delivery.logs per step | 200 lines | older lines dropped |
deployment.resources | 200 | older entries dropped |
deployment.steps | 50 | validation_failed |
deployment.steps[].logs | 200 lines × 2,000 chars | older lines dropped |
deployment.commit_message | 500 | validation_failed |
mfa.remember_device_days | 365 | validation_failed |
audit_event.metadata | 100 keys | older keys dropped |
| |
|---|
limit | 1–200, default 20 |
starting_after and ending_before | mutually exclusive |
| Cursor validity | 1 hour |
GET /users, GET /organizations | hard cap 10,000 rows, then has_more: false |
count (SCIM) | 1–200, default 20 |
startIndex (SCIM) | 1-based |
#Token and session lifetimes
| Credential | Lifetime |
|---|
| Authorization code | 60 s |
| Access token | 3,600 s |
| Refresh token | 2,592,000 s (30 days) |
| ID token | 3,600 s |
| Token-exchange result | 900 s |
| Session absolute | 86,400 s (24 h) |
| Session idle | 604,800 s (7 days) |
| Re-authentication interval | 86,400 s |
| SAML assertion window | 300 s, ±120 s skew, hard ceiling 600 s |
| API key | 90 days default, null = never |
| JWT JWK lifetime | 900 s cached server-side |
#SAML constraints
| Constraint | Value | Error |
|---|
allowed_clock_skew_seconds | 0–600, default 120 | validation_failed |
acs_allowed_urls | 20 max | limit_reached |
| Signature algorithms | rsa-sha256, rsa-sha512, ecdsa-sha256, ecdsa-sha384 | validation_failed |
| Digest algorithms | sha256, sha512 | validation_failed |
| Bindings | saml_redirect, saml_post | validation_failed |
| Name ID formats | 4 values | validation_failed |
RelayState | 80 bytes | truncated |
| Assertion consumption | exactly once | saml_replay_detected |
| XML | DTDs and external entities disabled | saml_response_invalid |
#SCIM constraints
| Constraint | Value | Error |
|---|
| Bulk operations | 100 per request | 413 scim_bulk_exceeded |
| Bulk payload | 10 MiB | 413 |
| Filter attribute paths | 1 per filter | 400 invalidFilter |
| Filter boolean operators | 4 | 400 invalidFilter |
| Filter parenthesis depth | 4 | 400 invalidFilter |
| Sub-attribute path | one level, with a value selector | 400 invalidPath |
| PATCH operations | applied in order, not atomic across the batch | a partial apply is possible |
ListResponse count | 1–200 | clamped |
unique attribute with multiple eq matches | — | 400 tooMany |
#Webhook limits
| Constraint | Value |
|---|
| Delivery timeout | 5 s |
| Max attempts | 8 |
| Backoff | 10 s, 30 s, 2 m, 8 m, 30 m, 2 h, 8 h, with jitter |
| Concurrency | 25/s per endpoint |
| Auto-disable | 8 consecutive failures |
| Events per endpoint | all 34 |
| Payload size | ~64 KiB; larger users are truncated in data.user |
| Signature tolerance | 300 s |
dead_lettered retention | 30 days |
#Deployment limits
| Constraint | Value | Error |
|---|
commit_sha | 7–40 lowercase hex | validation_failed |
| Wall clock | ~1.5 s for simulated | — |
| Retention | 400 days | — |
issued block | returned once on the terminal read | null afterwards |
#What to do when you hit a limit
Array at capacity → 400 limit_reached. Trim it. There is no pagination for these arrays.
Rate limited → 429 with Retry-After. Honour it, and batch to avoid it next time.
Cursor expired → 400 validation_failed on starting_after. Start from the top.
Export too large → 413. Narrow the window to 7 days and split.
Rate limits documents per-IP request pacing.
#Reference