Spaces method and path for this operation:
get /s/{space_id}/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status
Refer to Spaces for more information.
Get the auto-upgrade status for agents assigned to an agent policy.
[Required authorization] Route required privileges: fleet-agents-read.
GET
/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status
curl \
--request GET 'https://<KIBANA_URL>/api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status' \
--header "Authorization: $API_KEY"
Response examples (200)
Auto-upgrade status for agents in the policy
{
"agentsCount": 5,
"currentVersion": "8.16.0",
"failedAgentsCount": 0,
"upgradedAgentsCount": 3,
"upgradingAgentsCount": 1
}
Response examples (400)
Example of a generic error response
{
"error": "Bad Request",
"message": "An error message describing what went wrong",
"statusCode": 400
}