Developer quickstart

OpenAI-compatible by default.

Change the SDK base URL and supply a project key. Chat completions and streaming use the standard OpenAI request shape.

API base: https://router-us.knowledgeops.io/v1
curl
curl https://router-us.knowledgeops.io/v1/chat/completions \
  -H "Authorization: Bearer sk-..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "chat-default",
    "messages": [{"role":"user","content":"Hello"}],
    "max_tokens": 200
  }'
POST

/v1/chat/completions

Chat completion requests with optional streaming, tools, temperature, and output limits.

GET

/v1/models

List the model names available to the supplied project key.

GET

/health

Check gateway availability before sending production traffic.