Seven routes to the Jev API endpoint, and which to pick

By Christophe Paka · Facts checked on 23 October 2026

Jev is TypeSafe's AI model that answers narrow questions about your data, such as which team should handle a ticket, and says how sure it is. This page answers one question: how do you reach it? Every route ends at the same Jev API endpoint, the one web address that takes your questions.

There are seven routes. The figure draws five doors (the Playground, curl, two SDKs and an agent skill) and one side gate for gateways. The seventh route, an n8n node, is not drawn. Pick the wrong one and you write code you did not need, or pay through a second bill. If you write no code, start in the Playground, or in the n8n node if your team runs n8n.

Five doors (Playground, curl, Python SDK, JavaScript SDK, agent skill) lead to POST /v1/systemone on api.typesafe.ai with a bearer key, model, state and questions. Jev returns model, answers and usage. Gateways reach Jev by a side gate.
Figure 3.1 Five doors, one endpoint, plus a side gate with its own key, bill and model name. Not drawn: the n8n node, which sends the same request.
Use this diagram on your site

Free to share in your blog post, docs, course or slides, as long as the credit link stays. Paste the code below where the figure should go.

How to read this figure

  1. Read the title first. The title says this drawing zooms in on one arrow of the book's big schema. That schema is one drawing of a whole Jev call, shown in the post on the big schema of a Jev call. The arrow enlarged here is the request you send.

  2. Read the five doors on the left. The Playground runs in TypeSafe's console, its web app, with no code. curl sends a raw web request from any terminal. The Python and JavaScript SDKs are code libraries that build the request for you. The agent skill is an add on for an AI coding assistant, such as Claude Code, so it writes the code for doors 2 to 4 for you.

  3. Follow the arrows to the pink box. All five arrows end at one endpoint, the web address where Jev takes requests: POST /v1/systemone on api.typesafe.ai. POST means the request sends data. Each request carries your key, the secret that proves the call is yours, read from a saved setting named TYPESAFE_API_KEY so it never sits in a file. It also holds a model name, your questions, and the state: the data to judge, such as a ticket.

  4. Read what Jev sends back. The box on the right lists the three parts of every response. model names the exact version that answered. The box shows two version numbers because both were serving when the book was written; yours may differ, so note it and keep it fixed while you test. answers holds one typed answer per question. usage counts the tokens you pay for.

  5. Check the side gate. The dashed box at the bottom is the gateway route. A gateway is a service that puts many AI models behind one key and one bill: OpenRouter, Vercel AI Gateway or Pydantic AI Gateway. The request shape stays the same. The key, the bill, the model name and the data terms change.

  6. Remember the door not drawn. The figure leaves out the n8n TypeSafe node, listed in n8n as TypeSafe AI. It is a workflow block that asks Jev about each item and can send each item down a named output. It sends the same request as the other doors.

Key takeaways

  • Pick one door for your team, such as the n8n node, an SDK or a gateway, and note its version.
  • Keep the key in TYPESAFE_API_KEY, never in your code or in a web page.
  • Before you move to a gateway, check its model name, its bill and its data terms.

Try this: pick your door in four questions

Answer these in order and stop at the first yes. The book makes the same choice in a table of all seven routes.

  1. Do you want no code at all? Start in the Playground, the console page where you ask Jev questions by hand.
  2. Does your team run n8n? Move the questions that work into the n8n TypeSafe node.
  3. Does your team buy AI through OpenRouter, Vercel or Pydantic? Stay on that gateway.
  4. Otherwise, pick the SDK in your team's language: typesafe-sdk for Python, @typesafe-ai/sdk for JavaScript and TypeScript.

Expected result: One route, written down with its version, so the whole team sends the same request. The post on your first Jev API call in six steps walks it end to end.

Questions readers ask

How do I get access to the Jev API?

Sign up in TypeSafe's console and ask for a key, as the docs say. Some readers were put on a waiting list first. If that happens to you, a gateway such as OpenRouter serves Jev without one, with the same request shape, on its own key and bill. Access has changed several times since launch, so check the console first.

Can I use Jev in n8n without writing code?

Yes. The n8n TypeSafe node, listed as TypeSafe AI, asks Jev about each item. Its Evaluate operation adds the answers to the item. Its Route operation sends each item down the output that matches the answer. If you run n8n yourself, you bring your own key.

Can I call Jev straight from a web page?

Not safely. The JavaScript client refuses to run in a browser unless you set dangerouslyAllowBrowser. Every visitor could then copy your key and spend it. Call Jev from your server instead.

What do the Jev API error codes mean?

Most first day errors are one of four. 401 means your key is wrong or missing. 400 or 422 means the request body is wrong, and the error names the field. 429 means you passed your rate limit, which TypeSafe sets per organization and shows in the console, with no fixed public numbers. 529 means the service is busy. The SDKs retry 429 and 529 for you; fix 401, 400 and 422 yourself.

Sources: Quick start (TypeSafe docs); Python SDK basic usage: gateways (TypeSafe docs); typesafe-ai/n8n-nodes-typesafe-ai (GitHub).

This figure is from Jev Made Crystal Clear, chapter 3.

The chapter builds the idea step by step, with recipes you can follow, a Try it to check yourself, and every source.

Get the book

All diagrams