Playground/Ask gate
API ACTIVITY

Usage & budget

Your TypeSafe API key

Import your key to override the shared server default.

Saved on this browser until removed or site data is cleared. Masked on screen; sent only with Jev requests through this app. The saved value is never displayed.

Connecting
Ask gate

Ask Jev, or ask a human?

Gate incoming questions against what the channel already answered and what the docs already say.

Classification only · no answers written
WORKSPACE GUIDE

Ask gate

Decide whether a request belongs with Jev or needs human attention.

QuestionEvidenceReview decision

What you provide

An incoming question or chat dump, conversation history, and optional documentation that could support an answer.

What happens

Jev classifies whether the supplied evidence can support the question. Citation checks and conservative policy control the final routing decision.

What you get

An evidence-backed gate decision with supporting citations, or a human handoff when support is weak. No answer or message is sent.

Walk through a run

  1. 01

    Supply the evidence

    Enter a question with conversation history and optional documentation.

  2. 02

    Run the gate

    Triage one question or a whole chat dump.

  3. 03

    Check the citation

    Inspect the supporting message or document. Weak evidence goes to a human.

Try this

Run the sample with its supporting documentation, then remove that evidence and compare the handoff decision.

Execution limits

Live classification only. The lab does not write an answer or contact a reviewer.

Explore the example. Check the evidence.

What came in

The question is gated on its own. It does not need to appear in the transcript below.
Only the last 20 messages are sent as context.One line per fact. Headings starting with # name the section a citation points at.
Parsed context 4 messages · 7 doc lines
Val

Every Jev call in this playground goes through /api/run, so TYPESAFE_API_KEY stays server-side. Never ship it to the browser.

Morgan

Same on Vercel: add TYPESAFE_API_KEY as a project environment variable and redeploy. No NEXT_PUBLIC_ prefix, ever.

Priya

Rate limits are 60 requests a minute per key. Go over and you get HTTP 429 back; the playground shows it as a plain error and you retry.

Val

And leave the model field empty if you want jev-latest, which is the default.

Questions

Choice questions need at least two named candidates; a single-candidate choice is rejected with HTTP 400.

Questions

Score questions need at least two ordered levels, lowest first.

Questions

Noul questions return one probability between 0 and 1.

Keys and limits

Set TYPESAFE_API_KEY on the server. The browser never sees it.

Keys and limits

The default rate limit is 60 requests per minute per key, and exceeding it returns HTTP 429.

Models

Leave the model field empty and requests default to jev-latest.

Models

Pin an explicit model version when you need reproducible runs.

Model
2 closed-set questions · 1 request

The gate

QuestionEvidenceReview decision

Does this really need a person?

Run triage to see whether the channel or the docs already answered it, with the exact line that proves it.

Gate more questionsTrust a person

Jev only picks one of four outcomes and one piece of evidence. Any weak or unsupported match falls back to a human.