---
type: api
title: Get plugin info
description: Get information about all Logstash plugins that are currently installed. This API returns the same output you get by running the `bin/logstash-plugin list --verbose` command.
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/logstash/operation/operation-nodeplugins
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/logstash/operation/operation-nodeplugins
products:
  - Logstash
---

# Get plugin info

- Server: `/`

## Paths

- `GET` `/_node/plugins`

## Description

Get information about all Logstash plugins that are currently installed. This API returns the same output you get by running the `bin/logstash-plugin list --verbose` command.

## Authentication

- Basic: `Authorization: Basic <credentials>`

## Query string parameters

- `pretty` (boolean) — optional
  If you append `?pretty=true` to the request, the JSON returned will be pretty formatted. Use it for debugging only!

## Response

Indicates a successful call

`application/json`

- `total` (integer)
- `plugins` (object[])
  - `name` (string)
  - `version` (string)
## Code examples

#### curl

```curl
curl -X GET "${LOGSTASH_URL}/_node/plugins" \
  -u "${USERNAME}:${PASSWORD}"
```

## Response examples

#### Node plugins example1

```json
{
  "total": 4,
  "plugins": [
    {
      "name": "logstash-codec-cef",
      "version": "6.2.8"
    },
    {
      "name": "logstash-codec-collectd",
      "version": "3.0.3"
    },
    {
      "name": "logstash-codec-dots",
      "version": "3.0.2"
    },
    {
      "name": "logstash-coded-edn",
      "version": "3.0.2"
    }
  ]
}
```

