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
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/kubernetes/download
- Auth
- API key in header Authorization
- or HTTP basic
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
Changes
No operation changes recorded.