> 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/xsoar-8-api/changes-in-this-release.md).

# Changes in this release

## New Paths

### `POST /public_api/v1/system_diagnostics/data/papi/`

**Note:** This endpoint is supported in XSOAR 8.13 On-prem and later.

| Property         | Value                                                               |
| ---------------- | ------------------------------------------------------------------- |
| **Operation ID** | `getSystemHealthMetrics`                                            |
| **Tag**          | System Management                                                   |
| **Summary**      | Get System Health Metrics                                           |
| **Request body** | None                                                                |
| **Auth**         | `authorization` (api\_key) + `x-xdr-auth-id` (api\_key\_id) headers |
| **Availability** | Cortex XSOAR 8.13 On-prem and later                                 |

**Description:** Retrieves system health metrics snapshots for the tenant. Each snapshot contains node metrics, component statuses, storage usage, queue depths, and external connectivity information. By default, returns data from the last 24 hours. Snapshots are ordered by timestamp descending (most recent first).

**Response codes:**

| Code  | Description                                       |
| ----- | ------------------------------------------------- |
| `200` | Successful response → `SystemDiagnosticsResponse` |
| `400` | Bad Request — invalid JSON                        |
| `401` | Unauthorized — authentication failure             |
| `402` | Unauthorized — insufficient license               |
| `403` | Forbidden — insufficient RBAC permissions         |
| `500` | Internal server error                             |

***

## New Schemas

| Schema                      | Type   | Description                                                                                                           |
| --------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------- |
| `SystemDiagnosticsResponse` | object | Top-level response wrapper with `reply` → `SystemDiagnosticsResults`                                                  |
| `SystemDiagnosticsResults`  | object | Contains `results` array of snapshots                                                                                 |
| `SystemDiagnosticsSnapshot` | object | Point-in-time snapshot: `timestamp`, `nodes`, `cluster_disk_usage`, `components`, `storage`, `queues`, `connectivity` |
| `NodeMetrics`               | object | Per-node health: `name`, `cpu_usage`, `memory_usage`, `os_disk_usage`, `connected`                                    |
| `ConnectivityStatus`        | object | External connectivity: `connected`, `since`, `error`                                                                  |

**Note:** The `ErrorResponse` schema (used by 400/401/402/403/500 responses) already existed in the baseline spec.


---

# 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/xsoar-8-api/changes-in-this-release.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.
