OpenWaya documentation

From first request to production traffic.

Build against one OpenAI-compatible API, then add routing, consensus, billing, and operational controls without replacing your integration.

Browse documentationGuides, APIs, models, and operations →

Documentation map

Find the shortest path to an answer.

Quickstart

Send a routed request in minutes.

  1. 01Create an API key
  2. 02Keep the OpenAI SDK
  3. 03Change the base URL
  4. 04Select a model or auto route
import OpenAI from "openai";

const openwaya = new OpenAI({
  apiKey: process.env.OPENWAYA_API_KEY,
  baseURL: "https://api.openwaya.africa/v1",
});

const response = await openwaya.chat.completions.create({
  model: "openwaya/auto",
  messages: [{ role: "user", content: "Hello" }],
});

API surface

Stable contracts across the platform.

POST/v1/chat/completionsOpenAI-compatible chat and streaming
POST/v1/responsesOpenAI-compatible text responses and streaming
POST/v1/consensusIndependent model agreement and synthesis
POST/v1/embeddingsOrdered float vectors through governed routing
GET/v1/modelsModel, capability, pricing, and lifecycle registry
GET/v1/usageMetered request and token usage
POST/v1/webhooksSigned event delivery configuration
Open generated API reference

Production support

Operate with the context intact.

Every error includes a stable code and request ID. Every routed request preserves its policy and configuration snapshot so support can investigate without direct database access.

Get an API key