Spaces method and path for this operation:
get /s/{space_id}/api/fleet/agentless_policies/{policyId}
Refer to Spaces for more information.
Deprecated. Use GET /api/fleet/managed_integrations/{policyId} instead. Get a managed integration by ID
GET
/api/fleet/agentless_policies/{policyId}
curl \
--request GET 'https://localhost:5601/api/fleet/agentless_policies/{policyId}' \
--header "Authorization: $API_KEY"
Response examples (200)
Example response for getting a managed integration by ID
{
"item": {
"created_at": "2025-11-06T18:27:43.541Z",
"created_by": "test_user",
"description": "test",
"id": "d52a7812-5736-4fdc-aed8-72152afa1ffa",
"inputs": {
"ESS Billing-cel": {
"enabled": true,
"streams": {
"ess_billing.billing": {
"enabled": true,
"vars": {
"hide_sensitive": true,
"http_client_timeout": "30s",
"lookbehind": 365,
"tags": [
"forwarded",
"billing"
]
}
},
"ess_billing.credits": {
"enabled": false
}
},
"vars": {
"api_key": {
"id": "QY1sWpoBbWcMW-edr0Ee",
"isSecretRef": true
},
"organization_id": "1234",
"url": "https://billing.elastic-cloud.com"
}
}
},
"name": "ess_billing-1",
"namespace": "default",
"package": {
"name": "ess_billing",
"title": "Elasticsearch Service Billing",
"version": "1.6.0"
},
"updated_at": "2025-11-06T18:27:43.541Z",
"updated_by": "test_user"
}
}
Response examples (400)
Example of a generic error response
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}
Response examples (404)
Example of a not found error response
{
"message": "Agentless policy d52a7812-5736-4fdc-aed8-72152afa1ffa not found"
}