跳到正文
Jev

Developer guide

How to get a Jev API key in 5 minutes

1. Five steps to a live key

  • Sign in or register on Account (email or Google if configured).
  • Open Pricing and buy a prepaid pack (from $5).
  • Back on Account → Create API key — copy the jv_live_… secret once.
  • Store it as JEV_API_KEY in your env (never commit it).
  • Call POST https://jevtypesafe.org/api/v1/decide with Authorization: Bearer …

Full endpoint docs: Hosted API guide.

2. First call (copy-paste)

Replace jv_live_YOUR_KEY_HERE with your key. Output tokens are free on this host; only input tokens debit your balance.

curl
curl https://jevtypesafe.org/api/v1/decide \
  -H "Authorization: Bearer jv_live_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "state": "Customer: I was charged twice and nobody replied for 3 days.",
    "questions": {
      "route": {
        "type": "choice",
        "instructions": "Where should this go?",
        "criteria": { "billing": "money", "bug": "broken", "account": "login" }
      },
      "urgency": {
        "type": "score",
        "instructions": "How urgent is this?",
        "criteria": ["routine", "today", "urgent", "critical"]
      },
      "escalate": {
        "type": "noul",
        "instructions": "Escalate to a human now?"
      }
    }
  }'

3. Tips that save time

  • Try tools in the browser first (5 free anonymous runs) before buying.
  • One decide call can ask several choice / score / noul questions — cheaper than many LLM round-trips.
  • Official TypeSafe waitlist and gateways remain alternatives; this host is for instant prepaid access.

Ready for a key?

Buy tokens, create jv_live_, and call decide in minutes.

How to Get a Jev API Key in 5 Minutes | Hosted jv_live_