# IHME GBD Results · Hierarchy page

Get health and medical data with IHME GBD Results · Hierarchy page from Alexandria through one Spiral API key. One page of hierarchy_node records for an entity type (cause, location, age, sex, measure, metric, rei) in a GBD round: id, name, parent_id, level, tree placement and the raw source entry. Tree types come in depth-first hierarchy order; page with cursor until next_cursor is null. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Health
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `ihme-gbd-results/gbd/metadata`
- Page: https://spiral.ai/tools/alexandria/ihme-gbd-results/gbd/metadata

## Pricing

$0.001746 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `type` (required) | one of | cause, location, age, sex, measure, metric, rei | — | Entity type to list. |
| `gbd_round` (required) | one of | 2021, 2023 | — | GBD round served by the Results tool: 2021 (gbd2021.healthdata.org) or 2023 (vizhub.healthdata.org, current release). Pinned on every record. |
| `proxy` | JSON |  | — | Optional runner proxy override {kind: datacenter\|residential\|mobile, country?, sticky?}. Staging leases datacenter only. |
| `cursor` | text |  | — | next_cursor from the previous page of the same type and gbd_round. |
| `page_size` | number | 1 to 1000 | 200 | Records per page. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "ihme-gbd-results/gbd/metadata",
    "input": {
      "type": "cause",
      "gbd_round": "2021"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=ihme-gbd-results%2Fgbd%2Fmetadata

## Common questions

### IHME GBD Results · Hierarchy page

**How much does IHME GBD Results · Hierarchy page cost?**

$0.001746 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use IHME GBD Results · Hierarchy page through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "ihme-gbd-results/gbd/metadata"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use IHME GBD Results · Hierarchy page?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use IHME GBD Results · Hierarchy page?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

