Docs
CommunityJev Guides & Articles
TypeSafe API Request Rules and Errors
Reference page for the System One API covering request limits, compression, and HTTP status codes: a 32 MiB body cap, UTF-8 JSON without a BOM, 64 nesting levels, gzip or zstd, and the error codes returned.
- Format
- Docs
- Reading time
- 2 min
- Published by
- Community
- Added
- Nov 23, 2026
Highlights
- Body size is capped at 32 MiB, excluding headers; larger bodies return 413.
- Bodies must be UTF-8 JSON without a byte order mark, with at most 64 nested levels in state, instructions, and criteria.
- Only finite numbers are accepted; NaN, Infinity, and values like 1e400 are rejected.
- gzip, x-gzip, or zstd compression is supported, one layer only, with the zstd window at most 8 MiB.
- 429 and 529 responses should be retried with exponential backoff; the official SDKs do this by default.
Questions about this entry
Short answers drawn from the linked project or page.
32 MiB, and headers do not count toward it. The limit applies to both the compressed and the decompressed body. A body over 32 MiB returns HTTP 413.
Content-Encoding: gzip (or x-gzip) and zstd. Use a single compression layer and keep the zstd window at most 8 MiB. An unsupported encoding or more than one layer returns 415; a malformed compressed body returns 400.
The request body failed validation, for example a missing required field or a malformed question. The response body details the offending field.
Retry with exponential backoff rather than immediately. 429 means you exceeded your rate limit and 529 means TypeSafe is temporarily overloaded. The official client SDKs handle this automatically with their default retry policy.
At most 64 nested levels of objects and arrays in each of state, instructions, and criteria. Deeper content must be flattened, and exceeding the limit returns 400.
No. Only finite numbers are accepted; NaN, Infinity, and numbers too large to represent such as 1e400 are rejected. Send identifiers and exact large quantities as strings.
The request is longer than the model's context length. Other 400 causes include invalid UTF-8, too much nesting, a number that is not finite, or a malformed compressed body.
Reactions & coverage
Posts, threads, and videos about this entry from around the web.
X: Agent Handoff Gate: agents verify what they hand off
X: Jev as an LLM guardrail inside Agentgateway
X: Vercel's fx safety reviewer, measured at 18× faster
Reddit: Early experiments wiring Jev into Pi as a safety layer and model router.
From the Jev guides
Original write-ups on what this entry is for.
From the Jev AI model community
Posts from builders shipping with Jev right now.