REST API

API reference

FastAPI backend on loopback by default. OpenAPI schema at /docs when contextmint serve or Engine is running.

v1.0 — available today

GET /api/health

Server and dependency health check.

GET /api/engine/status

Engine session state — server, Ollama, readiness.

POST /api/v1/chat/stream

Repo-aware chat with SSE; optional image attachments (multimodal).

POST /api/search

Hybrid BM25 + vector retrieval with workspace scoping.

POST /api/argus/audit

ARGUS visual audit — structured UI findings (report only).

GET /api/packs/*

Context pack builder, sync, and manifest APIs.

GET /api/quality/*

Quality map scans, findings store, governance lens data.

Verification Engine — roadmap

Fabric APIs

Graph verification endpoints planned — These power blast radius, decision graph, and agent proposals — not required for v1.0 chat and quality map. Features in v1.0.

GET /fabric/explain

Blast radius — impact paths with evidence (graph traversal, not LLM).

POST /fabric/correct

Human correction on graph edges — sets verification status.

POST /fabric/propose

Queue proposed graph mutations for human review (agents).

Interactive docs

Start the server and open Swagger UI for the full v1.0 schema.

contextmint serve
# → http://localhost:8000/docs

Terms: Glossary

Discuss your AI governance challenges

See the local-first decision-control plane — Context Lens, quality map, and human apply gates. v1.0 ships end of August 2026.