Developer preview

A retrieval contract your application can inspect.

Send the user query and structured filters. Receive ranked passages, source metadata, citations, and the exact knowledge-base version used for the request.

Private beta The interfaces shown here define the intended product contract. Public access is not yet available.

RequestREST
POST /v1/retrieve
Authorization: Bearer cm_live_••••••••
Content-Type: application/json

{
  "query": "Which obligations apply to providers of high-risk AI systems?",
  "knowledge_base": "eu-ai-regulation",
  "filters": { "jurisdiction": "EU", "status": "in_force" },
  "top_k": 5
}
ResponseJSON
{
  "request_id": "ret_01J...",
  "knowledge_base_version": "2026.08",
  "results": [{
    "text": "Providers of high-risk AI systems shall...",
    "score": 0.91,
    "source": {
      "authority": "European Union",
      "document_id": "CELEX:32024R1689",
      "url": "https://eur-lex.europa.eu/...",
      "citation": "Article 16"
    }
  }]
}

Contract principles

Stable at the edge. Versioned underneath.

The retrieval engine can evolve without forcing customers to manage embeddings or rebuild their integration.

Raw queries in

CorpusMesh owns document and query embedding so model instructions and normalization cannot drift between clients.

Structured filters

Jurisdiction, language, dates, verification state, and domain-specific fields remain explicit and enforceable.

Bounded context

Response and usage limits protect latency, cost, and the licensed corpus from systematic extraction.

REST and MCP

Use the same retrieval contract from application code or an agent tool without handing CorpusMesh control of your model.

Measured evidence

See this contract produce source-linked context.

Inspect the EU AI Act trace, then tell us what your own application needs.

Request developer access