---
title: "Deprecated: Get a managed integration"
method: GET
path: "/api/fleet/agentless_policies/{policyId}"
tags: ["Fleet agentless policies"]
---

# Deprecated: Get a managed integration

`GET /api/fleet/agentless_policies/{policyId}`

**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/agentless_policies/{policyId}</span></div>

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

Deprecated. Use `GET /api/fleet/managed_integrations/{policyId}` instead. Get a managed integration by ID

## Path parameters

- `policyId` string, required

## Response `200`

Indicates a successful response

- KibanaHTTPAPIsManagedIntegrationResponse
  - `item` KibanaHTTPAPIsManagedIntegration, required
    - `additional_datastreams_permissions` string[] — Additional data stream permissions granted to the managed integration.
    - `cloud_connector` KibanaHTTPAPIsManagedIntegrationCloudConnector
      - `cloud_connector_id` string, required — The ID of the cloud connector.
      - `enabled` boolean, required — Whether the cloud connector is active for this policy.
    - `created_at` string, required — Creation timestamp (ISO 8601).
    - `created_by` string, required — User who created the policy.
    - `description` string — Managed integration description.
    - `global_data_tags` object[] — Custom data tags applied to all data produced by this policy.
      - `name` string, required — The name of the custom field.
      - `value` union, required — The value of the custom field.
        - string
        - number
    - `id` string, required — Managed integration unique identifier.
    - `inputs` object, required — Package policy inputs. Refer to the integration documentation to know which inputs are available.
    - `name` string, required — Managed integration name.
    - `namespace` string — Policy namespace. Defaults to the agent policy namespace.
    - `package` KibanaHTTPAPIsManagedIntegrationPackage, required
      - `name` string, required — Integration package name.
      - `title` string, required — Integration package display title.
      - `version` string, required — Integration package version.
    - `updated_at` string, required — Last update timestamp (ISO 8601).
    - `updated_by` string, required — User who last updated the policy.
    - `var_group_selections` object — Variable group selections. Maps var_group name to the selected option name within that group.
    - `vars` object — Input/stream level variable. Refer to the integration documentation for more information.

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[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)
