List agent policies
Spaces method and path for this operation:
get /s/{space_id}/api/fleet/agent_policies
Refer to Spaces for more information.
Query parameters
-
The number of items to return
Default value is
20
. -
Default value is
1
. -
Simplified or legacy format for package inputs
Values are
simplified
orlegacy
. -
When set to true, retrieve the related package policies for each agent policy.
-
When set to true, do not count how many agents are in the agent policy, this can improve performance if you are searching over a large number of agent policies. The "agents" property will always be 0 if set to true.
GET
/api/fleet/agent_policies
curl \
--request GET 'https://localhost:5601/api/fleet/agent_policies' \
--header "Authorization: $API_KEY"