Retrieves a paginated list of Fleet agent policies with filtering, sorting, and optional detailed information. Use this action to: - List all agent policies in your Fleet deployment - Filter policies using KQL queries (e.g., by name, namespace, or other fields) - Get agent enrol…
fullbooleanReturn full policy details including all nested package policies.
pageintegerPage number for pagination (starts at 1).
kuerystringKQL (Kibana Query Language) filter string to filter agent policies by specific criteria.
formatstringResponse format: 'simplified' or 'legacy'.
perPageintegerNumber of items to return per page (max 10,000).
sortFieldstringField name to sort results by (e.g., 'name', 'updated_at', 'created_at').
sortOrderstringSort direction: 'asc' or 'desc'.
withAgentCountbooleanInclude the number of agents enrolled in each policy in the response.
showUpgradeablebooleanFilter to show only policies that have upgradeable package policies.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.