v53

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

Download an 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/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