API Documentation
← All tools
GET
/api/v1/diseases/:key/family-treeFamily Tree
diseasesAvailable on FreeNo success wrapper
Returns the ancestor and descendant branches of a disease in the disease hierarchy, up to the requested depth, along with counts and whether the root key resolved. Call it to explore parent/child relationships around a disease. Returns 400 for invalid query parameters, 503 when the disease hierarchy is unavailable on this deployment, and 500 on internal failure.
When to use it
- Explore a disease's parent and child relationships
- Find ancestor diseases of a condition
- List descendant diseases under a disease
Getting started
Base URL
https://app.caelrith.com/api/v1/toolsAuthentication
Include your API key in the x-api-key header.
Rate limit
Every call counts against your workspace’s daily quota for disease-family-tree. Exceeding it returns HTTP 429.
Plans and daily limits
| Plan | Available | Calls / day |
|---|---|---|
| free | yes | 10 |
| pro | yes | 200 |
| custom (default) | yes | 10,000 |
Plan defaults. A custom workspace may carry per-tenant overrides.
Parameters
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| key(path) | string | Yes |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| depth | integer | No | Range 1-8; default 3 (range 1-8; default 3) Range: 1 to 8 |
Example request
curl -H "x-api-key: YOUR_API_KEY" \
"https://app.caelrith.com/api/v1/diseases/{key}/family-tree"Response envelope
This endpoint returns an implicit 2xx response - there is no success flag in the body.
{
"data": { /* payload */ },
"meta": { /* pagination, totals */ }
}
// No "success" flag on this endpoint - any 2xx JSON is a success.Catalog version mcp-2026-10-28 · generated from the live MCP catalog