Private beta
Change one URL. Keep your SDK.
The MardoQ API speaks the OpenAI Chat Completions format. Point your client at MardoQ and every request passes through the cache and the memory of that tenant before it reaches your model.
Works with OpenAI · Anthropic · Google · Groq · Ollama
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://<your-mardoq-host>/v1",
api_key="sk-mardoq-…",
)
reply = client.chat.completions.create(
model="gpt-4o-mini",
messages=[
{"role": "user", "content": "Summarise the tickets"},
],
)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://<your-mardoq-host>/v1",
apiKey: "sk-mardoq-…",
});
const reply = await client.chat.completions.create({
model: "gpt-4o-mini",
messages: [{ role: "user", content: "Summarise the tickets" }],
});curl https://<your-mardoq-host>/v1/chat/completions \
-H "Authorization: Bearer sk-mardoq-…" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o-mini",
"messages": [{"role": "user", "content": "Summarise the tickets"}]}'Supports Chat Completions and streaming. Function calling is coming next.
Endpoints
Every request is scoped to one workspace by its key.
| Endpoint | What it does |
|---|---|
POST /v1/chat/completions | Chat completions, with streaming. |
GET /v1/models | The models available to your workspace. |
GET /v1/conversations | Saved conversations; read or delete them. |
GET /v1/usage | Requests, answers from memory and response time. |
POST /v1/cache/feedback | Mark an answer from memory as right or wrong. |
POST /v1/vertical/upload · /train | Teach your workspace from text. |
Measured results
Results from our own benchmarks, with how each one was measured.
| Capability | Result | How it was measured |
|---|---|---|
| Cache lookup on a lexical hit | 0.504 msp50 · p95 0.947 ms | Intel Core i7-14700F, CPU only, release build. |
| Paraphrase recall | 8 / 100 false positives | Similarity floor 0.84. N = 20, one author, one domain. |
| Turns served without the provider | 41.2 %7 of 17 turns | Gate benchmark on product turns, each with a verdict. |
| Memory recall | 4 / 60 / 6 with memory off | A/B experiment: the same questions with memory on and off. |
| Tenant isolation | Testedmemory · cache · credentials | Integration tests check that one tenant cannot read another tenant's data. |
Benchmarks run in August 2026 on MardoQ's own test sets. They are not customer results.
Give your team an AI that already knows your business.
MardoQ is in private beta. Leave your work email and we will write to you.