> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rhizomeai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Search and retrieve regulatory & clinical documents via API

## Welcome to Rhizome API

The Rhizome AI API provides programmatic access to search and retrieve regulatory documents from the FDA, EMA, and other regulatory agencies.

<CardGroup cols={2}>
  <Card title="Search Documents" icon="magnifying-glass" href="/api-reference/search">
    Search across regulatory documents with keyword matching and get page-level
    results.
  </Card>

  <Card title="Get Document Contents" icon="file-lines" href="/api-reference/contents">
    Retrieve the full text of any document page by page.
  </Card>
</CardGroup>

## Quick Start

### 1. Get your API Key

Visit the [API Keys console](https://rhizomeai.com/api-keys) to create an API key.

<Warning>
  API access requires an enterprise plan. Contact [support@rhizomeai.com](mailto:support@rhizomeai.com) to
  upgrade.
</Warning>

### 2. Make your first request

```bash theme={null}
curl -X POST https://rhizomeai.com/api/search \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{"query_text": "FDA approval process"}'
```

### 3. Explore the results

The search returns page-level results with the matched text:

```json theme={null}
{
  "results": [
    {
      "doc_id": "nda/2017/208264Orig1s000ChemR.pdf",
      "name": "TEPADINA THIOTEPA",
      "page_num": 42,
      "text": "...",
      "highlight": "<b>FDA</b> <b>approval</b> <b>process</b>..."
    }
  ],
  "total": 17319
}
```

### 4. Get full document

Use the `doc_id` to retrieve all pages:

```bash theme={null}
curl -X POST https://rhizomeai.com/api/contents \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{"doc_id": "nda/2017/208264Orig1s000ChemR.pdf"}'
```

## Available Datasets

### FDA Datasets

| Dataset                  | Description                                 |
| ------------------------ | ------------------------------------------- |
| `fda_drug`               | FDA drug approval documents (NDAs, ANDAs)   |
| `fda_biologic`           | FDA biologic license applications (BLAs)    |
| `fda_denovo_or_510k`     | FDA 510(k) and De Novo device clearances    |
| `fda_pma`                | FDA PMA device approvals                    |
| `fda_guidance`           | FDA guidance documents                      |
| `fda_warning_letters`    | FDA warning letters to companies            |
| `fda_clinical_trials`    | Clinical trial data from ClinicalTrials.gov |
| `fda_483`                | FDA 483 inspection observations             |
| `fda_inspections`        | FDA inspection records                      |
| `fda_recalls`            | FDA recall notices                          |
| `fda_crl`                | FDA Complete Response Letters               |
| `fda_ufa`                | FDA User Fee Act reports                    |
| `fda_recall_enforcement` | FDA recall enforcement reports              |
| `fda_maude`              | FDA MAUDE adverse event reports             |
| `fda_faers`              | FDA FAERS adverse event reports             |

### EMA Datasets

| Dataset             | Description                                |
| ------------------- | ------------------------------------------ |
| `ema_epar`          | EMA European Public Assessment Reports     |
| `ema_guidelines`    | EMA guidance documents                     |
| `ema_ctis`          | EMA Clinical Trials Information System     |
| `ema_pip`           | EMA Paediatric Investigation Plans         |
| `ema_committee`     | EMA committee meeting documents            |
| `ema_mdcg_guidance` | Medical Device Coordination Group guidance |

### Other Regulatory Agencies

| Dataset                  | Description                             |
| ------------------------ | --------------------------------------- |
| `canada_guidance`        | Health Canada guidance documents        |
| `canada_par`             | Health Canada Public Assessment Reports |
| `canada_clinical_trials` | Health Canada clinical trials           |
| `swiss_par`              | Swissmedic Public Assessment Reports    |
| `swiss_guidance`         | Swissmedic guidance documents           |
| `swiss_clinical_trials`  | Swiss clinical trials                   |
| `mhra_ct`                | MHRA clinical trials                    |
| `mhra_pr`                | MHRA public assessment reports          |
| `mhra_guidance`          | MHRA guidance documents                 |
| `tga_guidance`           | TGA (Australia) guidance documents      |
| `eu_ctr`                 | EU Clinical Trials Register             |
| `ich_guidelines`         | ICH harmonized guidelines               |

## Support

Need help? Contact us at [support@rhizomeai.com](mailto:support@rhizomeai.com).
