Elastic Agent policies

Bulk get agent policies

Changed on

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/agent_policies/_bulk_get</span></div>

Refer to Spaces for more information.

Get multiple agent policies by ID.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.

post/api/fleet/agent_policies/_bulk_get

Request

  • Base URL
    https://localhost:5601
  • URL
    https://localhost:5601/api/fleet/agent_policies/_bulk_get
  • Auth
    • API key in header Authorization
    • or HTTP basic

Query parameters

format'simplified' | 'legacy'

Format for the response: simplified or legacy

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

fullboolean

get full policies with package policies populated

idsstring[] required

list of package policy ids

ignoreMissingboolean

Response

Successful response

Changes

    • info

      added the optional property // to the response with the status

    • info

      response property items/items/download_source_id deprecated