Get a full agent policy

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

Get a full agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read.

Path parameters

  • agentPolicyId string Required

Query parameters

  • download boolean
  • standalone boolean
  • kubernetes boolean

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • item string | object Required

      Any of:
  • 400 application/json
    Hide response attributes Show response attributes object
    • error string
    • errorType string
    • message string Required
    • statusCode number
GET /api/fleet/agent_policies/{agentPolicyId}/full
curl \
 --request GET 'https://<KIBANA_URL>/api/fleet/agent_policies/{agentPolicyId}/full' \
 --header "Authorization: $API_KEY"