Quickstart

Connect to the Jatevo multi-model gateway

Your sk-clb-… key works as a standard Bearer token against Jatevo's compatible /v1 surface. These examples use https://2.lb.jatevo.ai; if the gateway moves to jatevo.ai, only the host changes.

Endpoints

POST/v1/chat/completions

Chat completions endpoint for compatible clients (streaming supported).

POST/v1/responses

Responses endpoint for stateful model sessions.

GET/v1/models

List models available to your key (free, no quota cost).

POST/backend-api/codex

Codex CLI compatibility endpoint.

Codex CLI

~/.codex/config.toml

[providers.jatevo]
type = "openai"
base_url = "https://2.lb.jatevo.ai/backend-api/codex"
api_key = "sk-clb-..."

OpenCode

~/.config/opencode/opencode.json

{
  "providers": {
    "jatevo": {
      "type": "openai",
      "base_url": "https://2.lb.jatevo.ai/v1",
      "api_key": "sk-clb-..."
    }
  }
}

JavaScript fetch

request.ts

const response = await fetch("https://2.lb.jatevo.ai/v1/chat/completions", {
  method: "POST",
  headers: {
    "Authorization": "Bearer sk-clb-...",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    model: "auto",
    messages: [{ role: "user", content: "ping" }]
  })
});

console.log(await response.json());

curl

shell

curl https://2.lb.jatevo.ai/v1/chat/completions \
  -H "Authorization: Bearer sk-clb-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "messages": [{"role": "user", "content": "ping"}]
  }'

Errors

401Missing or invalid API key — set the Bearer header to sk-clb-…
429Daily request quota exhausted — wait for the 00:00 UTC reset or increase your $JTVO holdings.
403Key disabled — refresh wallet verification or rotate the key from the dashboard.
502/504Upstream model route unavailable — retry while Jatevo routes around unhealthy providers.