Skip to main content
Typesafe AI serves System One models. Instead of a chat conversation, a System One request sends a state and a set of typed questions. The response returns a typed answer for each question, with a calibrated probability. Typesafe AI only supports System One requests at https://gateway.ngrok.ai/v1/systemone. Chat Completions, Responses, and Messages requests don’t reach Typesafe AI models.
Typesafe AI is a built-in provider you can pay for with credits, so a provider key is optional. Add your own Typesafe AI key to bill usage to your Typesafe AI account instead of your ngrok.ai credits.

Setup

1

Create an access key and add credits

Follow the quickstart to create an access key and purchase credits in app.ngrok.ai.
2

Store your Typesafe AI API key (optional)

Skip this step to pay with credits. To bring your own key, create an API key in your Typesafe AI account. Then add a provider key and create an access key configuration with a typesafeai routing rule that uses it.
3

Send requests

Send a POST request to /v1/systemone with your access key:

Request format

A System One request body has three fields: The gateway removes any other top-level field before it forwards the request. System One doesn’t stream, so a request with "stream": true returns an error. See the Typesafe AI API reference for question types and the response format.

Available models

See the model catalog. jev-latest points at the current Jev build, and jev-preview points at the next one.

Next steps