---
title: "Install Kibana assets for a package"
method: POST
path: "/api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets"
tags: ["Elastic Package Manager (EPM)"]
---

# Install Kibana assets for a package

`POST /api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets`

## Request

- Base URL: `https://localhost:5601`
- URL: `https://localhost:5601/api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP basic

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

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

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

Install Kibana assets (dashboards, visualizations, etc.) for a specific package version.<br/><br/>[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.

## Path parameters

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

## Headers

- `kbn-xsrf` string, required

## Request body

- KibanaHTTPAPIsInstallKibanaAssetsRequest
  - `force` boolean
  - `space_ids` string[]: When provided, assets are installed in the specified spaces instead of the current space.

## Response `200`

Successful response

- KibanaHTTPAPIsInstallKibanaAssetsResponse
  - `success` boolean, required

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/elastic/apis/kibana-apis.md) - [All operations](https://skmtc.dev/elastic/apis/kibana-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/elastic/apis/kibana-apis/revisions/b87131d80c52?raw)
