Get auto upgrade agent status

Base URL
https://{kibana_url}
Auth

Get the auto-upgrade status for agents assigned to an agent policy.

Required authorization

Privileges fleet-agents-read

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

agentPolicyId string required

The ID of the agent policy

Responses

Successful response

application/json
currentVersions object[] · max items: 10000 required
agents number required

Number of agents that upgraded to this version

failedUpgradeActionIds string[] · max items: 1000

List of action IDs related to failed upgrades

failedUpgradeAgents number required

Number of agents that failed to upgrade to this version

inProgressUpgradeActionIds string[] · max items: 1000

List of action IDs related to in-progress upgrades

inProgressUpgradeAgents number required

Number of agents that are upgrading to this version

version string required

Agent version

totalAgents number required

Bad Request

application/json
attributes object required
error string
errorType string
message string required
statusCode number
Base URL
https://{kibana_url}