v53

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

Get a full agent policy

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/agent_policies/{agentPolicyId}/full</span></div>

Refer to Spaces for more information.

Get a full agent policy by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read.

get/api/fleet/agent_policies/{agentPolicyId}/full

Path parameters

agentPolicyIdstring required

The ID of the agent policy

Query parameters

downloadboolean

If true, returns the policy as a downloadable file

standaloneboolean

If true, returns the policy formatted for standalone agents

kubernetesboolean

If true, returns the policy formatted for Kubernetes deployment

revisionnumber

If provided, returns the policy at the specified revision. Cannot be used with standalone or kubernetes flags.

Response

Successful response