Convert Gemini Decisions requests to System One (Jev, Clef)
The Gemini request is preloaded below, converted to Jev. Paste your own to convert it, and read the warnings before you send it.
Runs in your browser. Nothing you paste is uploaded.
Converted request
curl
How the answers come back
| Question | OpenAI | Gemini | Jev / Clef |
|---|---|---|---|
| Yes/no | {type: "predicate", name, probability} | {type: "noul", noul (0.01–0.99), confidence} | {type: "noul", noul} |
| Pick one | {type: "choice", name, choice, probabilities: [{value, probability}], confidence} | {type: "choice", choice, probabilities: {option: p}, confidence} | {type: "choice", choice, confidence, probabilities: {…}} |
| Ordered rubric | {type: "score", name, score, probabilities: [{value, label, probability}], confidence} | {type: "score", score, legend: {"0": …}, probabilities: {"0": p}, confidence} | {type: "score", score, confidence, legend, probabilities} |
| Refusal | {type: "refusal", name} (name is null for an unnamed question) | not documented | not documented |
| Container | array, in question order | map keyed by question id | map keyed by question name (Clef wraps the response in result: unconfirmed) |
17 warning types. Most link to the provider's docs; format facts come from the sources listed on each format pair page (last checked 2026-11-19).
What's different
| Gemini Decisions | TypeSafe Jev (System One) | Cloudflare Clef (System One) | |
|---|---|---|---|
| Endpoint | https://generativelanguage.googleapis.com/v1beta/decisions (unconfirmed) | https://api.typesafe.ai/v1/systemone | https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/cloudflare/clef |
| Model | gemini-decision-1 | jev-latest | clef |
| Questions | Map keyed by question id, 1–1000 | Map keyed by question id, 1–? (max unconfirmed) | Map keyed by question id, 1–64 |
| Yes/no | noul | noul | noul |
| Pick one | choice | choice | choice |
| Ordered rubric | score | score | score |
| Box (image) | Not supported | box | Not supported |
| Auth | x-goog-api-key: $GEMINI_API_KEY | Authorization: Bearer $TYPESAFE_API_KEY (unconfirmed) | Authorization: Bearer $CLOUDFLARE_API_TOKEN |
Sources
Read 2026-11-19; the OpenAI pages re-read 2026-11-20.
- Gemini: “Questions per request | 1 to 1,000 (bounded by the 262,144-token context window)”
- Gemini: “Before evaluation, the API sorts option keys alphabetically in UTF-8 byte order.”
- Gemini: “Conversation history, thought, and tool-call blocks aren’t supported”
- Gemini: “Serialize JSON objects and arrays to a string”
- Gemini: Question keys match
[A-Za-z0-9_-]+, up to 64 characters; choicecriteria2 to 255 options; scorecriteria2 to 255 non-empty strings. From the Decisions API docs (read 2026-11-19); no verbatim line stored. - Jev: “A System One request has
model,stateandquestions(a map); scorecriteriahasmaxItems: 10.” - Jev: Choice
criteria: 1 to 255 options, from the System One request schema (read 2026-11-19). The maximum question count isn’t documented. - Clef: “Clef follows the System One API, so you can switch an existing Jev integration to Clef by changing the endpoint and model. Ask up to 64 questions per request.”
- Clef: Model page for
@cf/cloudflare/clef(andclef-flash). Option limits and theresultresponse wrapper are unconfirmed here.