Integrations and developersBy Odebode Toluwalase Esq · 4 min read

API overview

The service topology and the main REST endpoints 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 from your sign-in. For tools that run without a person signed in (n8n, Zapier, your own scripts), use a workspace API token instead, which reaches a small, fixed set of routes; see Connect LexCore to your other tools. 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. Several fields are JSON strings (for example questions, steps, rules, placeholders, citation), so parse them defensively. The full endpoint list and internal service ports are in the technical documentation (docs/TECHNICAL_DOCUMENTATION.md).

Related documentation

Verification guarantee: LexCore rejects any AI assertion it cannot trace to exact character offsets in the source agreement. It is a review assistant, and its output is not legal advice. For the architecture behind that, see the Security & Trust Centre.