> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsiam/protect-your-endpoints/endpoint-security/install-and-manage-endpoints/manage-endpoint-protection/monitor-agent-upgrade-status.md).

# Monitor agent upgrade status

From Cortex XSIAM, you have full visibility into the Cortex XDR agent upgrade status on the endpoint. You can monitor the Cortex XDR agent statuses in **Inventory → Endpoints → All Endpoints**. If the upgrade status fields are missing, add them. Cortex XDR agents report upgrade statuses as follows:

| Status                          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Last upgrade status**         | <p>Displays the last upgrade status for each endpoint, and can be filtered by:</p><ul><li><strong>In Progress:</strong> This is the first stage shown when an upgrade is initiated (There is no Pending status).</li><li><strong>Completed Successfully</strong></li><li><strong>Failed</strong></li><li><strong>No Upgrade:</strong> No upgrade of any type has been initiated for the endpoint. Newly installed endpoints will also show this status until an upgrade is initiated by one of the upgrade methods.</li></ul> |
| **Last upgrade status time**    | Displays a timestamp for the last time the upgrade status changed for each endpoint. This column can be filtered by date and time.                                                                                                                                                                                                                                                                                                                                                                                            |
| **Last upgrade failure reason** | When relevant, displays the reason for an upgrade failure. This column can be filtered by free text.                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Last upgrade source**         | <p>Displays the source that initiated the last upgrade, and can be filtered by:</p><ul><li><strong>Manual Server Upgrade:</strong> The upgrade was manually initiated from the server.</li><li><strong>Auto Upgrade:</strong> The endpoint was automatically upgraded according to the upgrade policy.</li><li><strong>Local Manual Upgrade:</strong> The upgrade was manually initiated at the endpoint side.</li></ul>                                                                                                      |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/protect-your-endpoints/endpoint-security/install-and-manage-endpoints/manage-endpoint-protection/monitor-agent-upgrade-status.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
