---
type: api
title: Get inputs template
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-get-inputs-template
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/kibana/v8/operation/operation-get-inputs-template
products:
  - Kibana
---

# Get inputs template

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

## Paths

- `GET` `/api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs`
- `GET` `/s/{space_id}/api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs`

#### Path parameters

- `pkgName` (string) — required
- `pkgVersion` (string) — required

## Description

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

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

## Query string parameters

- `format` (enum) — optional
  Format of response - json or yaml
  Values: `json`, `yaml`, `yml`
- `prerelease` (boolean) — optional
  Specify if version is prerelease
- `ignoreUnverified` (boolean) — optional
  Ignore if the package is fails signature verification

## Responses

#### `200`

OK

#### `400`

Generic Error

`application/json`

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

#### Console

```console
GET kbn:/api/fleet/epm/templates/PKG_NAME/PKG_VERSION/inputs
```

#### curl

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

