AI EngineerGuide

Convert System One (Jev, Clef) requests to Gemini Decisions

The Jev request is preloaded below, converted to Gemini. 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
Paste a request body, a structured-output schema, or a tool definition. Remove secrets first. Nothing leaves your browser.
curl
How the answers come back
QuestionOpenAIGeminiJev / 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 documentednot documented
Containerarray, in question ordermap keyed by question idmap 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

TypeSafe Jev (System One)Gemini DecisionsCloudflare Clef (System One)
Endpointhttps://api.typesafe.ai/v1/systemonehttps://generativelanguage.googleapis.com/v1beta/decisions (unconfirmed)https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/cloudflare/clef
Modeljev-latestgemini-decision-1clef
QuestionsMap keyed by question id, 1–? (max unconfirmed)Map keyed by question id, 1–1000Map keyed by question id, 1–64
Yes/nonoulnoulnoul
Pick onechoicechoicechoice
Ordered rubricscorescorescore
Box (image)boxNot supportedNot supported
AuthAuthorization: Bearer $TYPESAFE_API_KEY (unconfirmed)x-goog-api-key: $GEMINI_API_KEYAuthorization: Bearer $CLOUDFLARE_API_TOKEN

Sources

Read 2026-11-19; the OpenAI pages re-read 2026-11-20.

  • Jev: “A System One request has model, state and questions (a map); score criteria has maxItems: 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.
  • 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; choice criteria 2 to 255 options; score criteria 2 to 255 non-empty strings. From the Decisions API docs (read 2026-11-19); no verbatim line stored.
  • 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 (and clef-flash). Option limits and the result response wrapper are unconfirmed here.

All formats · Classifier schema to decisions