One API for chat, agents and embeddings.Inside your environment.
One gateway, one key per client, and SDKs for Python and TypeScript. A request never leaves your environment.
How it works
Three steps to your first answer.
01
Get your Matca key
Issued from the console, with your organisation's limits and budget built in.
02
Install the SDK
Python or TypeScript, from your own environment's package registry.
03
Call a model or an agent
Name an alias, send your messages, get the answer back. An agent is called just like a model.
The API
Four calls. You call an agent like a model.
Chat
POST /v1/chat/completionsmodel is an alias, e.g. matca/dutch-rag-default. Set stream to true for streaming.
Agents
POST /v1/chat/completionsmodel is agent/<name>. An answer may take a few minutes.
Embeddings
POST /v1/embeddingsmodel is an embedding alias, e.g. bge-m3.
Models
GET /v1/modelsThe aliases and agents your key may use.
A call
Ask the Dutch-language assistant.
MatcaError.status carries the gateway's answer, such as 401, 402, 429 or 5xx. It is 0 when the gateway could not be reached.
Streaming works for chat. An agent returns its answer in one piece.
Keys
Every key carries your limits. Your code always knows what is going on.
401
Unknown or revoked key
Keys are issued and revoked from the console, and shown once.
429
Rate limit reached
Requests per minute and tokens per month, set per organisation.
402
Budget spent
A monthly budget in euros, so costs never surprise you.
Name an alias, not a model
When a better model arrives, Matca moves the alias after the evaluation. Your code does not change.
Nothing leaves, nothing is kept
A request never leaves the environment, no closed model is reachable, and the gateway keeps no prompts or answers in its traces.
SDKs
Python and TypeScript, from your own registry.
The SDKs live in your environment's package registry, not in the public ones. They report their version to the gateway, so Matca can say when an update is due. Any other language works with a plain HTTP client.
matcaPythonPython 3.11 or newer. httpx is its only dependency.
@matca/sdkTypeScriptNode 20 or newer. No dependencies.
Frequently asked questions
How do we get a key?
Matca issues and revokes keys from the console. A key is shown once, when it is issued.
Is streaming supported?
Yes, for chat. Set stream to true. An agent returns its answer in one piece.
Can we use other languages?
Yes. Any language with an HTTP client works.
Talk through your situation.
Tell us which data you want to process with AI and which rules apply. You get a personal answer.