---
title: "Get an inputs template"
method: GET
path: "/api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs"
tags: ["Elastic Package Manager (EPM)"]
---

# Get an inputs template

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

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs</span></div>

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

Get an inputs template for a package, used to pre-populate package policy forms.<br/><br/>[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.

## Path parameters

- `pkgName` string, required
- `pkgVersion` string, required

## Query parameters

- `format` 'json' | 'yml' | 'yaml'
- `prerelease` boolean
- `ignoreUnverified` boolean

## Response `200`

Successful response

- union
  - string
  - KibanaHTTPAPIsGetInputsResponse
    - `connectors` object
    - `exporters` object
    - `extensions` object
    - `inputs` object[], required
      - `id` string, required
      - `streams` object[]
        - `data_stream` object, required
          - `dataset` string, required
          - `type` string
        - `id` string, required
      - `type` string, required
    - `processors` object
    - `receivers` object
    - `service` object
      - `extensions` string[]
      - `pipelines` object

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
