v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Fleet managed integrations

Create a managed integration

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/managed_integrations</span></div>

Refer to Spaces for more information.

Create a managed integration

post/api/fleet/managed_integrations

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

additional_datastreams_permissionsstring[] nullable

Additional data stream permissions that will be added to the agent policy.

create_dataset_templatesboolean

When true, install dedicated index templates for streams with a custom data_stream.dataset. Defaults to true for input packages, false for integration packages.

descriptionstring

Policy description.

forceboolean

Force package policy creation even if the package is not verified, or if the agent policy is managed.

idstring

Policy unique identifier.

inputsobject

Package policy inputs. Refer to the integration documentation to know which inputs are available.

namestring required

Unique name for the policy.

namespacestring

Policy namespace. When not specified, it inherits the agent policy namespace.

policy_templatestring

The policy template to use for the managed integration. If not provided, the default policy template is used.

var_group_selectionsobject

Variable group selections. Maps var_group name to the selected option name within that group.

varsobject

Input/stream level variable. Refer to the integration documentation for more information.

Response

Indicates a successful response