Download an agent manifest

Base URL
https://{kibana_url}
  • GET /api/fleet/kubernetes/download
Auth

Requires

fleet-agent-policies-read or fleet-setup
privileges
Query 3 parameters Responses 3 responses

Download the Kubernetes manifest for deploying Elastic Agent.

Query parameters

download boolean

If true, returns the manifest as a downloadable file

fleetServer string

Fleet Server host URL to include in the manifest

enrolToken string

Enrollment token to include in the manifest

Responses

Successful response — returns the Kubernetes manifest as a YAML file download

application/json

Response Type: string

Base URL
https://{kibana_url}