SynthMD API

Welcome to the SynthMD synthetic clinical trial cohort generation API.

Base URL: https://api.synthmd.com

Available Endpoints

POST /generate_cohort

Generate a synthetic clinical trial cohort

Request Body (JSON):

{
  "cohort": {
    "disease": "nsclc",
    "size": 100,
    "strategy": "REALISTIC"
  },
  "fast_mode": true,
  "random_seed": 42
}

Parameters:

GET /generate_cohort

Generate a synthetic clinical trial cohort via query parameters

Parameters:

Example: GET /generate_cohort?size=100&random_seed=42

GET /health_check

Health check endpoint - returns API and SynthMD engine status

Example: GET /health_check

Documentation

For full documentation, visit synthmd.com