v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
Elastic Agent policies

Get a full K8s agent manifest

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

Refer to Spaces for more information.

Get the Kubernetes manifest for deploying Elastic Agent.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.

get/api/fleet/kubernetes

Query parameters

downloadboolean

If true, returns the manifest as a downloadable file

fleetServerstring

Fleet Server host URL to include in the manifest

enrolTokenstring

Enrollment token to include in the manifest

Response

Successful response

itemstring required