LL LungLight AI Chest X-Ray Triage Interface

API Docs

API reference and integration guide

This page documents the endpoints behind the Pneumonia Diagnostic Engine so teams can run predictions, inspect model metadata, and embed the service into other products or research workflows.

Base URL Loading...

The active inference host used by this frontend.

Service Status Loading...

Checking health and model readiness.

Model Profile Loading...

Loading class and input-size metadata.

Endpoint Catalog

Core routes exposed by the backend

Loading endpoint details...

Integration Notes

What matters when another system consumes this API

File upload expectations

The prediction endpoint expects a multipart form upload with the field name file.

  • The backend currently supports research-facing classification between normal and pneumonia.
  • The saved performance metrics describe internal held-out evaluation, not external clinical validation.
  • CORS is configured so the Cloudflare Pages frontend can call the hosted backend directly.
  • The FastAPI interactive documentation remains available for live schema inspection and ad hoc testing.

Quick Start

Useful request examples

Health check
Loading example...
Metadata lookup
Loading example...
Prediction request
Loading example...

Response Shapes

Representative JSON payloads

GET /api/metadata
Loading example...
POST /api/predict
Loading example...