---
title: "Get the resource dependencies graph for the current set of migratable resources."
method: GET
path: "/cloudmigration/resources/dependencies"
tags: ["migrations"]
---

# Get the resource dependencies graph for the current set of migratable resources.

`GET /cloudmigration/resources/dependencies`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/cloudmigration/resources/dependencies`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

## Response `200`

(empty)

- ResourceDependenciesResponseDTO
  - `resourceDependencies` ResourceDependencyDTO[]
    - `dependencies` string[]
    - `resourceType` 'DASHBOARD' | 'DATASOURCE' | 'FOLDER' | 'LIBRARY_ELEMENT' | 'ALERT_RULE' | 'ALERT_RULE_GROUP' | 'CONTACT_POINT' | 'NOTIFICATION_POLICY' | 'NOTIFICATION_TEMPLATE' | 'MUTE_TIMING' | 'PLUGIN'

---

[API](https://skmtc.dev/grafana/apis/grafana-http-api.md) - [All operations](https://skmtc.dev/grafana/apis/grafana-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grafana/apis/grafana-http-api/revisions/df55ba1718ba?raw)
