---
type: api
title: Get package dependencies
description: Get the list of packages that a specific package depends on.<br/><br/>[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v0/operation/operation-get-fleet-epm-packages-pkgname-pkgversion-dependencies
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v0/operation/operation-get-fleet-epm-packages-pkgname-pkgversion-dependencies
products:
  - Kibana
---

# Get package dependencies

Availability: Generally available since 9.4

- Server: `https://{kibana_url}`

## Paths

- `GET` `/api/fleet/epm/packages/{pkgName}/{pkgVersion}/dependencies`

#### Path parameters

- `pkgName` (string) — required
  Package name
- `pkgVersion` (string) — required
  Package version

## Description

Get the list of packages that a specific package depends on.

## Required authorization

- Privileges: `integrations-read` or `fleet-setup` or `fleet-all`

## Authentication

- Api key: `Authorization: <value>`
  These APIs use key-based authentication. You must create an API key and use the encoded value in the request header. For example: `Authorization: ApiKey base64AccessApiKey`
- Basic: `Authorization: Basic <credentials>`

## Responses

#### `200`

OK: A successful request.

`application/json`

- `items` (object[] · max items: 1000)
  - `name` (string)
  - `title` (string)
  - `version` (string)
#### `400`

A bad request.

`application/json`

- `attributes` (object)
- `error` (string)
- `errorType` (string)
- `message` (string)
- `statusCode` (number)
## Code examples

#### Console

```console
GET kbn:/api/fleet/epm/packages/PKG_NAME/PKG_VERSION/dependencies
```

#### curl

```curl
curl -X GET "${KIBANA_URL}/api/fleet/epm/packages/${PKG_NAME}/${PKG_VERSION}/dependencies" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### Dependencies

```json
{
  "items": [
    {
      "name": "aws",
      "title": "AWS",
      "version": "^2.0.0"
    },
    {
      "name": "system",
      "title": "System",
      "version": "^1.0.0"
    }
  ]
}
```

#### No dependencies

```json
{
  "items": []
}
```

#### Package not found

```json
{
  "message": "[my-package-1.0.0] package not found in registry"
}
```

