---
title: "List metadata taxonomy nodes"
method: GET
path: "/metadata_taxonomies/{namespace}/{taxonomy_key}/nodes"
tags: ["Metadata taxonomies"]
---

# List metadata taxonomy nodes

`GET /metadata_taxonomies/{namespace}/{taxonomy_key}/nodes`

Used to retrieve metadata taxonomy nodes based on the parameters specified. 
Results are sorted in lexicographic order unless a `query` parameter is passed. 
With a `query` parameter specified, results are sorted in order of relevance.

## Path parameters

- `namespace` string, required
- `taxonomy_key` string, required

## Query parameters

- `level` integer[]
- `parent` string[]
- `ancestor` string[]
- `query` string
- `include-total-result-count` boolean
- `marker` string
- `limit` integer

## Response `200`

Returns a list of the taxonomy nodes that match the specified parameters.

- MetadataTaxonomyNodes — The part of an API response that describes marker based pagination.
  - `limit` integer — The limit that was used for these entries. This will be the same as the `limit` query parameter unless that value exceeded the maximum value allowed. The maximum value varies by API.
  - `next_marker` string, nullable — The marker for the start of the next page of results.
  - `prev_marker` string, nullable — The marker for the start of the previous page of results.
  - `entries` MetadataTaxonomyNode[] — A list of metadata taxonomy nodes.
    - `id` string, required — A unique identifier of the metadata taxonomy node.
    - `displayName` string, required — The display name of the metadata taxonomy node.
    - `level` integer, required — An index of the level to which the node belongs.
    - `parentId` string — The identifier of the parent node.
    - `nodePath` string[] — An array of identifiers for all ancestor nodes. Not returned for root-level nodes.
    - `ancestors` MetadataTaxonomyAncestor[] — An array of objects for all ancestor nodes. Not returned for root-level nodes.
      - `id` string — A unique identifier of the metadata taxonomy node.
      - `displayName` string — The display name of the metadata taxonomy node.
      - `level` integer — An index of the level to which the node belongs.

## Other responses

- `400` — Returned when the request parameters are not valid.
- `default` — An unexpected client error.

---

[API](https://skmtc.net/box/apis/platform-api.md) · [All operations](https://skmtc.net/box/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/box/platform-api/versions/ba8f087e1a4d/schema)
