---
title: "GET /v2/list-dependencies"
method: GET
path: "/v2/list-dependencies"
---

# GET /v2/list-dependencies

`GET /v2/list-dependencies`

Lists dependencies discovered for services.

## Query parameters

- `serviceArn` string — ARN identifier.
- `queryRangeStartTime` string, date-time
- `queryRangeEndTime` string, date-time
- `queryRangeGranularity` 'HOURLY' | 'DAILY'
- `maxResults` integer — Pagination page size.
- `nextToken` string — Pagination token.

## Response `200`

Success

- ListDependenciesResponse
  - `dependencySummaries` DependencySummary[], required — The list of dependency summaries.
    - `dependencyId` string, required — The unique identifier of the dependency.
    - `serviceArn` string, required — ARN identifier.
    - `dependencyName` string, required — The name of the dependency.
    - `dnsName` string, required — The DNS name associated with the dependency.
    - `location` string, required — The location of the dependency.
    - `lastDetectedTime` string, date-time, required — The timestamp when the dependency was last detected.
    - `sourceRegions` AwsRegion[], required — The source Regions from which the dependency was detected.
    - `provider` string — The provider of the dependency.
    - `queryRange` object, required — The query range data for the dependency.
      - `startTime` string, date-time, required — The start time of the query range.
      - `endTime` string, date-time, required — The end time of the query range.
      - `granularity` 'HOURLY' | 'DAILY', required — The granularity of the query range data points.
      - `dataPoints` QueryDataPoint[], required — The data points within the query range.
        - `timestamp` string, date-time, required — The timestamp of the data point.
        - `queryCount` integer, required — The number of queries at this data point.
    - `criticality` 'HARD' | 'SOFT' | 'UNKNOWN', required — The criticality level of the dependency.
    - `comment` string — A user-provided comment about the dependency.
  - `nextToken` string — Pagination token.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ValidationException
- `483` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/resiliencehubv2.md) · [All operations](https://skmtc.net/aws/apis/resiliencehubv2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/resiliencehubv2/versions/27331d252935/schema)
