DOCS

JSON decision schema builder and SDK snippet generator

Design a single-label classification or a four-question typed rubric in the browser, verify every character and domain boundary before sending a request, and copy production-ready curl or TypeScript code.

JEV / SCHEMA BUILDER & SDK GENERATORCLIENT-SIDE VALIDATOR · 0 CREDITS USED

Schema valid: ready for POST /api/v1/decisions (1 credit per request, deterministic domain check).

READY-TO-RUN REQUEST & SIMULATED 201 RESPONSE

curl --fail-with-body --connect-timeout 5 --max-time 35 \
  https://jevapi.pro/api/v1/decisions \
  -H 'Authorization: Bearer YOUR_JEV_API_KEY' \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: schema-check-0001' \
  -d '{
  "text": "Invoice INV-2291 is still unpaid. Please send a copy with VAT breakdown.",
  "instructions": "Choose the billing or support queue responsible for resolving this message.",
  "labels": ["billing", "technical", "account_access", "clarify"],
  "threshold": 0.85
}'

Simulated 201 JSON Response

{
  "id": "dec_sim_44109",
  "model": "typesafe/jev-1.13",
  "choice": "billing",
  "confidence": 0.91,
  "probabilities": {
    "billing": 0.91,
    "technical": 0.09
  },
  "needsReview": false,
  "replayed": false
}

Jev: $99/mo (Launch $99 / 10,000 credits, ~260ms) vs GPT-4o JSON: ~$33.39/mo + schema retry overhead (~989ms, 74% faster).

Ready to run this decision schema against live Jev 1.13?

Start with a one-off $29 Top-up (1,800 credits, never expires) or choose Builder ($39 for 30 days · 3,500 credits) and mint a server-side API key in 30 seconds.

Your application sends a bounded request; Jev returns a typed answer; your policy controls the next action.
Your application sends a bounded request; Jev returns a typed answer; your policy controls the next action.

Catch contract errors before spending a single API credit

Most classification integration bugs happen before the model ever runs: duplicate label names, missing Idempotency-Key headers, labels over 60 characters, or mixing top-level labels with typed questions in the same JSON body (which returns 400 ambiguous_input). Validating those constraints locally shortens integration to one clean POST request.

Switch between a flat label array (2 to 12 mutually exclusive outcomes) and typed multi-question mode (up to 4 independent choice, noul yes/no, or ordered score questions in a single request). Both modes consume exactly one decision credit on completion and refund automatically on confirmed provider failures.

API request contract · Jev API quickstart

Single-label vs typed multi-question schemas compared

When a workflow only needs to pick one destination queue, a flat label list keeps the payload minimal. When a single message needs orthogonal judgements — such as checking whether a post is a bug report while simultaneously scoring urgency and assigning an owner — combining them into one typed questions array avoids three separate network round-trips.

Choosing the right Jev API request shape
Request modeDomain constraintReturned fieldsCredits per call
Single labels2 to 12 unique strings (max 60 chars)choice, confidence, probabilities, needsReview1 credit
Typed choice2 to 12 named criteria per questionanswers[id].choice, confidence, needsReview1 credit (up to 4 Qs)
Typed noulExplicit true and false definitionsanswers[id].probability (0–1), needsReview1 credit (up to 4 Qs)
Typed score2 to 7 ordered rubric levelsanswers[id].level, confidence, needsReview1 credit (up to 4 Qs)

Structured outputs by provider · Prepaid API plans

Move from local schema check to a server-side API key

Once your JSON payload validates cleanly above, test one live call in the browser playground or mint a revocable server-side key in your workspace. Prepaid credits start at $29 for 1,800 one-off credits or $39 for the 30-day Builder plan (3,500 credits), with zero auto-renewal.

Try a live decision in Playground · Compare Top-up and Builder plans

JSON decision schema questions

Does testing a schema in this builder spend credits?

No. Validation, response simulation, and curl/TypeScript code generation run deterministically in your browser with zero network calls and zero credits spent.

Can I combine choice, noul, and score in one API call?

Yes. Pass 1 to 4 entries in the questions array; Jev evaluates all of them in a single call for one credit and sets top-level needsReview to true if any answer falls below your threshold.

Try a decision ↗

Continue your workflow

DAILY BONUS

2 free credits, every day

Claim 2 free credits each UTC day — 14 across seven claims. No purchase needed. Credits do not expire.

    Resets at 00:00 UTC. No streak required.

    Try a decision →

    Take the next decision into your workspace.

    1 anonymous attempt per day · 20 signup credits · No card for the trial

    Sign in ↗

    Tell us what you need

    Describe the workflow you want to classify, the volume you expect, and the outcome you need. We reply by email.

    10–2,000 characters. Never include passwords, API keys, or payment details.