{ "opencollection": "1.0.0", "info": { "name": "Kibana APIs Actions Elastic Package Manager (EPM) API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Elastic Package Manager (EPM)", "type": "folder" }, "items": [ { "info": { "name": "Bulk get assets", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/bulk_assets", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/bulk_assets
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nRetrieve multiple Kibana saved object assets by their IDs and types.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Get package categories", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/categories", "params": [ { "name": "prerelease", "value": "", "type": "query", "description": "When true, include prerelease packages in the results" }, { "name": "include_policy_templates", "value": "", "type": "query", "description": "When true, include categories that only contain policy templates" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/categories
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet a list of integration categories.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Create a custom integration", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/custom_integrations", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/custom_integrations
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nCreate a new custom integration package with user-defined data streams.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Update a custom integration", "type": "http" }, "http": { "method": "PUT", "url": "https://{kibana_url}/api/fleet/epm/custom_integrations/:pkgName", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
put /s/{space_id}/api/fleet/epm/custom_integrations/{pkgName}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUpdate the datasets of an existing custom integration package.

[Required authorization] Route required privileges: fleet-settings-all AND integrations-all." }, { "info": { "name": "Get packages", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages", "params": [ { "name": "category", "value": "", "type": "query", "description": "Filter packages by category" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, include prerelease packages in the results" }, { "name": "excludeInstallStatus", "value": "", "type": "query", "description": "When true, exclude the install status from the response" }, { "name": "withPackagePoliciesCount", "value": "", "type": "query", "description": "When true, include the number of package policies per package" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet a list of integration packages available in the registry.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Install a package by upload", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "ignoreMappingUpdateErrors", "value": "", "type": "query", "description": "When true, ignore mapping update errors during installation" }, { "name": "skipDataStreamRollover", "value": "", "type": "query", "description": "When true, skip data stream rollover after installation" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nInstall a package by uploading a .zip or .tar.gz archive (max 100MB). Only available to superusers.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Bulk install packages", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "prerelease", "value": "", "type": "query", "description": "When true, allow installing prerelease versions" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/_bulk
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nInstall multiple packages from the Elastic Package Registry in a single request.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Bulk rollback packages", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk_rollback", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/_bulk_rollback
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nRollback multiple packages to their previous versions.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get Bulk rollback packages details", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk_rollback/:taskId", "params": [ { "name": "taskId", "value": "", "type": "path", "description": "Task ID of the bulk operation" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/_bulk_rollback/{taskId}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the status and results of a bulk package rollback operation.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Bulk uninstall packages", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk_uninstall", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/_bulk_uninstall
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUninstall multiple packages in a single operation.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get Bulk uninstall packages details", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk_uninstall/:taskId", "params": [ { "name": "taskId", "value": "", "type": "path", "description": "Task ID of the bulk operation" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/_bulk_uninstall/{taskId}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the status and results of a bulk package uninstall operation.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Bulk upgrade packages", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk_upgrade", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/_bulk_upgrade
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUpgrade multiple packages to their latest versions.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get Bulk upgrade packages details", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/_bulk_upgrade/:taskId", "params": [ { "name": "taskId", "value": "", "type": "path", "description": "Task ID of the bulk operation" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/_bulk_upgrade/{taskId}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the status and results of a bulk package upgrade operation.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get a package", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName", "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "ignoreUnverified", "value": "", "type": "query", "description": "When true, returns the package even if the signature cannot be verified" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, include prerelease versions" }, { "name": "full", "value": "", "type": "query", "description": "When true, return the full package info including assets" }, { "name": "withMetadata", "value": "", "type": "query", "description": "When true, include package metadata such as whether it has package policies" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/{pkgName}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet information about a package by name, returning the latest installed or available version." }, { "info": { "name": "Install a package from the registry", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, allow installing prerelease versions" }, { "name": "ignoreMappingUpdateErrors", "value": "", "type": "query", "description": "When true, ignore mapping update errors during installation" }, { "name": "skipDataStreamRollover", "value": "", "type": "query", "description": "When true, skip data stream rollover after installation" }, { "name": "skipDependencyCheck", "value": "", "type": "query", "description": "Skip dependency validation when installing a package with dependencies" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nInstall the latest version of a package from the Elastic Package Registry.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Update package settings", "type": "http" }, "http": { "method": "PUT", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
put /s/{space_id}/api/fleet/epm/packages/{pkgName}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUpdate settings for a package, such as whether policies are kept up to date automatically.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Delete a package", "type": "http" }, "http": { "method": "DELETE", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "force", "value": "", "type": "query", "description": "When true, delete the package even if it has active package policies" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
delete /s/{space_id}/api/fleet/epm/packages/{pkgName}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUninstall a package and remove all its assets.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get a package", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion", "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "ignoreUnverified", "value": "", "type": "query", "description": "When true, returns the package even if the signature cannot be verified" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, include prerelease versions" }, { "name": "full", "value": "", "type": "query", "description": "When true, return the full package info including assets" }, { "name": "withMetadata", "value": "", "type": "query", "description": "When true, include package metadata such as whether it has package policies" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet information about a specific version of a package." }, { "info": { "name": "Install a package from the registry", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, allow installing prerelease versions" }, { "name": "ignoreMappingUpdateErrors", "value": "", "type": "query", "description": "When true, ignore mapping update errors during installation" }, { "name": "skipDataStreamRollover", "value": "", "type": "query", "description": "When true, skip data stream rollover after installation" }, { "name": "skipDependencyCheck", "value": "", "type": "query", "description": "Skip dependency validation when installing a package with dependencies" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nInstall a specific version of a package from the Elastic Package Registry.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Update package settings", "type": "http" }, "http": { "method": "PUT", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
put /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUpdate settings for a specific version of a package.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Delete a package", "type": "http" }, "http": { "method": "DELETE", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "force", "value": "", "type": "query", "description": "When true, delete the package even if it has active package policies" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
delete /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nUninstall a specific version of a package and remove all its assets.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get a package file", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/:filePath", "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "filePath", "value": "", "type": "path", "description": "File path within the package" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the contents of a specific file from a package.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Delete assets for an input package", "type": "http" }, "http": { "method": "DELETE", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/datastream_assets", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "packagePolicyId", "value": "", "type": "query", "description": "The ID of the package policy" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
delete /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/datastream_assets
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nDelete datastream assets for a specific input package, by data stream name.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-pol" }, { "info": { "name": "Get package dependencies", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/dependencies", "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/dependencies
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the list of packages that a specific package depends on.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Install Kibana assets for a package", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/kibana_assets", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nInstall Kibana assets (dashboards, visualizations, etc.) for a specific package version.

[Required authorization] Route required privileges: integrations-all AND fleet-agen" }, { "info": { "name": "Delete Kibana assets for a package", "type": "http" }, "http": { "method": "DELETE", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/kibana_assets", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
delete /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nDelete Kibana assets (dashboards, visualizations, etc.) for a specific package version.

[Required authorization] Route required privileges: integrations-all AND fleet-a" }, { "info": { "name": "Install Kibana alert rule for a package", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/rule_assets", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/rule_assets
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nInstall Kibana alert rule assets for a specific package version.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Authorize transforms", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/:pkgVersion/transforms/authorize", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, allow prerelease versions" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/{pkgVersion}/transforms/authorize
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nReauthorize Elasticsearch transforms installed by a package with secondary authorization headers." }, { "info": { "name": "Review a pending policy upgrade for a package with deprecations", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/review_upgrade", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name to review upgrade for" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/review_upgrade
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nReview and accept or reject a pending policy upgrade for a package that contains deprecations.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-poli" }, { "info": { "name": "Rollback a package to previous version", "type": "http" }, "http": { "method": "POST", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/rollback", "headers": [ { "name": "kbn-xsrf", "value": "" } ], "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name to roll back" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
post /s/{space_id}/api/fleet/epm/packages/{pkgName}/rollback
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nRollback a package to its previously installed version.

[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all." }, { "info": { "name": "Get package stats", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/:pkgName/stats", "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/{pkgName}/stats
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet usage statistics for a specific package, such as the number of agent policies using it.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Get installed packages", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/installed", "params": [ { "name": "dataStreamType", "value": "", "type": "query", "description": "Filter by data stream type" }, { "name": "showOnlyActiveDataStreams", "value": "", "type": "query", "description": "When true, only return packages with active data streams" }, { "name": "nameQuery", "value": "", "type": "query", "description": "Filter packages by name" }, { "name": "searchAfter", "value": "", "type": "query", "description": "Sort values from the previous page for `search_after` pagination" }, { "name": "perPage", "value": "", "type": "query", "description": "Number of results per page" }, { "name": "sortOrder", "value": "", "type": "query", "description": "Sort order, ascending or descending" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/installed
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet a list of all currently installed integration packages.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Get a limited package list", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/packages/limited" }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/packages/limited
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the list of packages that cannot be uninstalled (e.g. elastic_agent, fleet_server).

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Get an inputs template", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/templates/:pkgName/:pkgVersion/inputs", "params": [ { "name": "pkgName", "value": "", "type": "path", "description": "Package name" }, { "name": "pkgVersion", "value": "", "type": "path", "description": "Package version" }, { "name": "format", "value": "", "type": "query", "description": "Output format for the inputs template: json, yml, or yaml" }, { "name": "prerelease", "value": "", "type": "query", "description": "When true, allow prerelease versions" }, { "name": "ignoreUnverified", "value": "", "type": "query", "description": "When true, return inputs even if the package signature cannot be verified" } ] }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet an inputs template for a package, used to pre-populate package policy forms.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." }, { "info": { "name": "Get a package signature verification key ID", "type": "http" }, "http": { "method": "GET", "url": "https://{kibana_url}/api/fleet/epm/verification_key_id" }, "docs": "**Spaces method and path for this operation:**\n\n
get /s/{space_id}/api/fleet/epm/verification_key_id
\n\nRefer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.\n\nGet the GPG key ID used to verify the signatures of packages from the Elastic Package Registry.

[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all." } ] } ], "bundled": true }