Elastic Agent policies
Download an agent manifest
Spaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/fleet/kubernetes/download</span></div>Refer to Spaces for more information.
Download 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/download
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 — returns the Kubernetes manifest as a YAML file download
string required