Get agent policies
Changed onSpaces method and path for this operation:
<div><span class="operation-verb get">get</span> <span class="operation-path">/s/{space_id}/api/fleet/agent_policies</span></div>Refer to Spaces for more information.
List all agent policies.<br/><br/>[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/fleet/agent_policies
- Auth
- API key in header Authorization
- or HTTP basic
Query parameters
Page number
Number of results per page
Field to sort results by
Sort order, ascending or descending
When true, only show policies with upgradeable agents
A KQL query string to filter results
When false, exclude managed integration policies from the results. To manage these policies, use the managed integrations APIs.
use withAgentCount instead
get policies with agent count
get full policies with package policies populated
Format for the response: simplified or legacy
Response
Successful response
Changes
- info
added the optional property
//to the response with the status - info
response property
items/items/download_source_iddeprecated
- info