Get Agent Upgrade History

Get Agent Upgrade History

Gets the agent upgrade history.

Request
URI
GET
https://{api_host}/rest/external/v1/audit-events/agent-upgrade-history
COPY
Query Parameters
integer
from_time
Optional

Indicates the time from which upgrade history is to be fetched. If both from_time and to_time are unset, all history till date will be fetched.

from_time example
1652079610000
integer
to_time
Optional

Indicates the time up to which upgrade history is to be fetched. If both from_time and to_time are unset, all history till date will be fetched.

to_time example
1652079610000

Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "agent_build": "8.10.0-12345678",
        "cancelled_count": 5,
        "failed_count": 10,
        "skipped_count": 10,
        "succeeded_count": 20,
        "task_id": "7e0db15d-9c07-47b1-8e3a-f450adcac002",
        "upgrade_window_end_time": 1665417715000,
        "upgrade_window_start_time": 1660417715000
    }
]

401

User is not authenticated

Operation doesn't return any data structure

409

Conflict

Operation doesn't return any data structure