---
type: api
title: Get a limited package list
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-fleet-epm-packages-limited
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v9/operation/operation-get-fleet-epm-packages-limited
products:
  - Kibana
---

# Get a limited package list

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

## Paths

- `GET` `/api/fleet/epm/packages/limited`
- `GET` `/s/{space_id}/api/fleet/epm/packages/limited`

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get the list of packages that cannot be uninstalled (e.g. elastic_agent, fleet_server).

## 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`

Successful response

`application/json`

- `items` (string[] · max items: 10000)
#### `400`

Bad Request

`application/json`

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

#### Console

```console
GET kbn:/api/fleet/epm/packages/limited
```

#### curl

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

## Response examples

#### Get limited packages

List of packages that cannot be uninstalled

```json
{
  "items": [
    "elastic_agent",
    "fleet_server"
  ]
}
```

#### Generic error response

Example of a generic error response

```json
{
  "error": "Bad Request",
  "message": "An error message describing what went wrong",
  "statusCode": 400
}
```

