API reference · TypeSafe

typesafe/jev-1.13

Integrate this model through SandBase's unified API, with production-ready schemas and examples.

LLMSynchronousOpen model
Production endpoint

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

POSThttps://api.sandbase.ai/v1/chat/completions
Model IDtypesafe/jev-1.13
01

Input Schema

2 parameters · 2 required · 0 optional

ParameterTypeRequiredDescription
stateanyRequiredState passed to the System One model. The upstream accepts the native TypeSafe state shape.
questionsobjectRequiredTyped questions evaluated against state.
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the completion
objectstringObject type, e.g. "chat.completion"
modelstringModel used for the completion
choicesarrayList of completion choices
choices[].message.contentstringGenerated text content
choices[].finish_reasonstringReason the generation stopped
usage.prompt_tokensintegerNumber of tokens in the prompt
usage.completion_tokensintegerNumber of tokens in the completion
usage.total_tokensintegerTotal tokens used
03

Code Examples

Ready-to-run snippets

curl https://api.sandbase.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "typesafe/jev-1.13",
    "messages": [{"role": "user", "content": "Hello"}],
    "temperature": 0.7,
    "max_tokens": 2048,
    "stream": true
  }'