Integrations & Developers4 min read

API overview

The service topology and the main REST surface for integrators.

LexCore is three cooperating services. Integrators talk to case-management (the system of record and API gateway); it proxies AI work to the ai-orchestrator and document mechanics to the doc-engine, both of which are internal and guarded by a shared secret.

case-management exposes a REST API under /api/v1/cases, authenticated with a bearer JWT. Representative areas:

AreaRepresentative endpoints
Documentsupload (multipart) · get · download · delete · versions/export
AI reviewreview-contract · redline (+ .docx) · compare · grid (+ XLSX) · reverify
Researchresearch · verify-authority · authority/coverage
AI tasksdraft · extract-clauses · chronology · absence-check · opposition · contract-graph
Workflowslist/create · run
Templates / PlaybooksCRUD · publish (PII-scrub gate) · versioned playbooks
Healthhealth (liveness) · ready (dependencies) · metrics

Note

Client contracts are pinned in the web-app's API client. Note that several fields are JSON strings (for example questions, steps, rules, placeholders, citation) — parse them defensively. The full endpoint list and internal service ports are in the technical documentation (docs/TECHNICAL_DOCUMENTATION.md).

Verification Guarantee: LexCore rejects any AI assertion it cannot mathematically trace to character offsets within the source agreement. It serves as a mechanical review assistant and does not constitute formal legal advice. For technical architecture details, see the Security & Trust Center.