Resources

Limits

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

BucketLimitWindowScopeError
General routes (including REST, MCP, SCIM, SAML)600 sustained, 1,200 bursttoken bucketsource IP, per Lambda containertoo_many_requests, 429
Authentication/token routes60 sustained, 120 bursttoken bucketsource IP, per Lambda containertoo_many_requests, 429
Request body2 MiBper requestrequestpayload_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

FieldMaxError
id29 chars (3 + 1 + 26)pattern violation
timestampISO-8601validation_failed
email320validation_failed
hostname253validation_failed
https URL2,048validation_failed
slug63validation_failed
name120 (most resources)validation_failed
user.first_name, last_name80validation_failed
user.display_name160validation_failed
user.job_title, department120validation_failed
user.external_id255validation_failed
connection.name120validation_failed
connection.display_name (SAML)255validation_failed
organization.metadata valuesstring, number, boolean, or null. No nested objectsvalidation_failed
audit_event.metadataany JSONnone
Idempotency-Key64ignored if longer
X-Ulex-Request-Id64ignored if longer
X-Ulex-Correlation-Id64ignored 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

FieldMaxError
application.redirect_uris50limit_reached
application.cross_app_sso_redirect_urls50limit_reached
connection.domains500limit_reached
connection.organization_ids1,000limit_reached
connection.directory_ids1,000limit_reached
oidc.allowed_domains500limit_reached
saml.acs_allowed_urls20limit_reached
mock.seed_users500limit_reached
scim.group_filter, scim.user_filter512validation_failed
user.scim.timezone64validation_failed
api_key.ip_allowlist50validation_failed
auth_policy.blocked_ip_ranges200validation_failed
audit_export window100,000 events413
audit_export in format: json10,000 eventssilently truncated. Use ndjson
/scim/v2/Bulk operations100 per request413 scim_bulk_exceeded
/scim/v2/Bulk payload10 MiB413
SAML AuthnRequest8 KiB deflated400 saml_request_invalid
SAML assertion256 KiB base64400 saml_response_invalid
SAML RelayState80 bytestruncated, not rejected
webhook.description300validation_failed
webhook_delivery.response_body stored2,000 charstruncated
webhook_delivery.logs per step200 linesolder lines dropped
deployment.resources200older entries dropped
deployment.steps50validation_failed
deployment.steps[].logs200 lines × 2,000 charsolder lines dropped
deployment.commit_message500validation_failed
mfa.remember_device_days365validation_failed
audit_event.metadata100 keysolder keys dropped

#Pagination

limit1–200, default 20
starting_after and ending_beforemutually exclusive
Cursor validity1 hour
GET /users, GET /organizationshard cap 10,000 rows, then has_more: false
count (SCIM)1–200, default 20
startIndex (SCIM)1-based

#Token and session lifetimes

CredentialLifetime
Authorization code60 s
Access token3,600 s
Refresh token2,592,000 s (30 days)
ID token3,600 s
Token-exchange result900 s
Session absolute86,400 s (24 h)
Session idle604,800 s (7 days)
Re-authentication interval86,400 s
SAML assertion window300 s, ±120 s skew, hard ceiling 600 s
API key90 days default, null = never
JWT JWK lifetime900 s cached server-side

#SAML constraints

ConstraintValueError
allowed_clock_skew_seconds0–600, default 120validation_failed
acs_allowed_urls20 maxlimit_reached
Signature algorithmsrsa-sha256, rsa-sha512, ecdsa-sha256, ecdsa-sha384validation_failed
Digest algorithmssha256, sha512validation_failed
Bindingssaml_redirect, saml_postvalidation_failed
Name ID formats4 valuesvalidation_failed
RelayState80 bytestruncated
Assertion consumptionexactly oncesaml_replay_detected
XMLDTDs and external entities disabledsaml_response_invalid

#SCIM constraints

ConstraintValueError
Bulk operations100 per request413 scim_bulk_exceeded
Bulk payload10 MiB413
Filter attribute paths1 per filter400 invalidFilter
Filter boolean operators4400 invalidFilter
Filter parenthesis depth4400 invalidFilter
Sub-attribute pathone level, with a value selector400 invalidPath
PATCH operationsapplied in order, not atomic across the batcha partial apply is possible
ListResponse count1–200clamped
unique attribute with multiple eq matches—400 tooMany

#Webhook limits

ConstraintValue
Delivery timeout5 s
Max attempts8
Backoff10 s, 30 s, 2 m, 8 m, 30 m, 2 h, 8 h, with jitter
Concurrency25/s per endpoint
Auto-disable8 consecutive failures
Events per endpointall 34
Payload size~64 KiB; larger users are truncated in data.user
Signature tolerance300 s
dead_lettered retention30 days

#Deployment limits

ConstraintValueError
commit_sha7–40 lowercase hexvalidation_failed
Wall clock~1.5 s for simulated—
Retention400 days—
issued blockreturned once on the terminal readnull afterwards

#What to do when you hit a limit

text
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