---
type: api
title: List Extensions
description: Retrieves all of the available extensions.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/operation/operation-list-extensions
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/operation/operation-list-extensions
products:
  - Elastic Cloud Enterprise
---

# List Extensions

Authentication: required

## Paths

- `GET` `/deployments/extensions`

## Description

Retrieves all of the available extensions.

## Response

The extensions that are available

`application/json`

- `extensions` (object[])
  The list of extensions.
  - `id` (string)
    The extension ID
  - `name` (string)
    The extension name.
  - `description` (string)
    The extension description.
  - `url` (string)
    The extension URL to be used in the plan.
  - `download_url` (string)
    The download URL specified during extension creation.
  - `extension_type` (enum)
    The extension type.
    Values: `plugin`, `bundle`
  - `version` (string)
    The Elasticsearch version.
  - `deployments` (string[])
    List of deployments using this extension. Up to only 10000 deployments will be included in the list.
  - `file_metadata` (object)
    - `last_modified_date` (string · format: date-time)
      The date and time the extension was last modified.
    - `size` (integer · format: int64)
      The extension file size in bytes.
    - `url` (string · format: uri)
      The temporary URL to download the extension file. Usable for verification.
## Code examples

#### curl

```curl
curl -X GET "${API_URL}/deployments/extensions" \
  -u "${USERNAME}:${PASSWORD}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "extensions": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "url": "string",
      "download_url": "string",
      "extension_type": "plugin",
      "version": "string",
      "deployments": [
        "string"
      ],
      "file_metadata": {
        "last_modified_date": "string",
        "size": 0,
        "url": "string"
      }
    }
  ]
}
```

