Idempotency and rate limits
Covers the idempotency mechanism for write operations and rate limit conventions.
Idempotency key
Write requests carry Idempotency-Key. The server deduplicates by key. The frontend generates a unique key in the request layer, so business code does not need to handle it.
http
POST /api/system/users
Idempotency-Key: <uuid>- Repeated requests with the same key return the first result without re-execution
- Keys are valid for a limited window and can be reused afterwards
- Idempotency keys do not replace business uniqueness constraints
Rate limits
| Dimension | Description |
|---|---|
| Login | Failed attempts per account and IP, locked at threshold |
| Captcha | Send frequency per session and IP |
| General APIs | Request rate per token or IP |
Outbound safety
HTTP nodes and outbound URLs are validated: only public http/https is allowed, blocking private, loopback, cloud metadata, CGNAT and IPv6 ULA addresses.
