API v1 · design preview

OLQIA API documentation

One secure endpoint for your agents: a versioned REST API and an MCP server, both behind the OLQIA gateway. Every response is structured, sourced and traced.

Quickstart

1. Get your free API key. 2. Send your first query. 3. Read the results, their sources and trust signals.

curl https://api.olqia.com/v1/search \
  -H "Authorization: Bearer $OLQIA_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "new EU rules for industrial batteries", "mode": "hybrid", "limit": 10}'

Authentication

All calls go through the API / MCP Gateway. Use an API key as a Bearer token. Enterprise accounts can use OAuth2 / OpenID Connect and mutual TLS. Keys are scoped, rate-limited and can be rotated from the console.

Authorization: Bearer olq_live_…

MCP server

Add OLQIA as a tool to any MCP-compatible agent. Calls go through the same gateway, quotas and audit as the REST API.

{
  "mcpServers": {
    "olqia": {
      "url": "https://mcp.olqia.com",
      "headers": { "Authorization": "Bearer $OLQIA_KEY" }
    }
  }
}

Agent Gateway

Publish your own agents through OLQIA. Each agent gets an endpoint such as agents.olqia.com/<org>/<agent>, an identity, access policies, request inspection and an audit trail, while it stays inside your private network via Private Link. Available on Enterprise plans and as a Pro add-on.

SDKs

# Python
pip install olqia

# TypeScript
npm install @olqia/sdk

Errors & limits

CodeMeaningWhat to do
400Invalid request or schemaCheck parameters and output_schema
401Missing or invalid keySend a valid Bearer token
403Not allowed for this key or planCheck scopes or upgrade
429Rate limit or quota reachedRetry after the indicated delay
5xxTemporary errorRetry with backoff; see Status

Live platform health: Status · Release notes: Changelog