Evidence Intelligence API

Structured Medical Events API

Convert messy medical record PDFs into structured medical events with page-level provenance.

GET /v1/extract-events
{
  "job_id": "job_123",
  "events": [
    {
      "event_type": "imaging",
      "date": "2023-04-17",
      "summary": "MRI lumbar spine",
      "provider": "Radiology Dept.",
      "facility": "ABC Medical Center",
      "provenance": {
        "document_id": "doc_9",
        "page": 42,
        "span": [120, 210]
      },
      "confidence": 0.94,
      "flags": []
    }
  ]
}

Core API Primitives

POST/extract-events

Extract Events

Converts PDFs into canonical medical events: visits, imaging, procedures, meds, and diagnoses with provenance.

POST/verify-claim

Verify Claim

Checks a medical claim against source evidence, returning supported, contradicted, or unknown status.

POST/resolve-citation

Resolve Citation

Returns page, snippet, and bounding box coordinates for a specific medical event in the packet.

Job Lifecycle

01

Submit Packet

Upload medical packets via async jobs. Receive a job ID for tracking extraction progress.

02

Poll Status / Webhooks

Poll the job status or register webhooks for job.completed and job.failed events.

03

Retrieve Results

Get the evidence graph, structured events, and resolved citations once the job completes.

Contract Guarantees

Versioned Schema

No breaking changes without a major version bump (/v1). Stability as a first-class feature.

Tenant Isolation

Per-tenant data isolation and encryption. No cross-tenant data leakage or model training.

Low Latency Pipeline

Optimized extraction pipeline designed for high-throughput and large packets.

Talk to our Engineering team

Request API Access
LineCite — Medical chronology for PI attorneys