---
title: "Get metrics tree"
method: GET
path: "/api/v1/projects/{projectUuid}/dataCatalog/metrics/tree"
tags: ["Catalog"]
deprecated: true
---

# Get metrics tree

`GET /api/v1/projects/{projectUuid}/dataCatalog/metrics/tree`

> **Deprecated.**

Get the metrics tree structure (deprecated, use POST instead)

## Path parameters

- `projectUuid` string, required

## Query parameters

- `metricUuids` string[], required

## Response `200`

Success

- ApiGetMetricsTree
  - `results` object, required
    - `edges` CatalogMetricsTreeEdge[], required
      - `createdFrom` 'ui' | 'yaml', required
      - `projectUuid` string, required
      - `createdByUserUuid` string, nullable, required
      - `createdAt` string, date-time, required
      - `target` CatalogMetricsTreeNode, required — From T, pick a set of properties whose keys are in the union K
        - `name` string, required
        - `tableName` string, required
        - `label` string, required
        - `catalogSearchUuid` string, required
      - `source` CatalogMetricsTreeNode, required — From T, pick a set of properties whose keys are in the union K
        - `name` string, required
        - `tableName` string, required
        - `label` string, required
        - `catalogSearchUuid` string, required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

[API](https://skmtc.dev/lightdash/apis/lightdash-api.md) · [All operations](https://skmtc.dev/lightdash/apis/lightdash-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lightdash/lightdash-api/revisions/40c933755c9a/schema)
