---
title: "Return WordPress installation activity"
method: GET
path: "/WPX/get_site_activity"
tags: ["WPX"]
---

# Return WordPress installation activity

`GET /WPX/get_site_activity`

## Request

- Base URL: `https://cpanel-server.tld:2083/execute`
- URL: `https://cpanel-server.tld:2083/execute/WPX/get_site_activity`
- Auth: HTTP basic

This function reports whether the account has done meaningful work on a
WordPress installation it owns. A WordPress site goes live the moment it
installs, and WordPress sends no event when real setup work finishes. So
the system compares the live site to a fresh installation and reports the
differences as flags.

  **Note:**

  - The `has_user_activity` field is the summary flag. It is `1` when the
    `authored_content` or `uploaded_media` field is `1`. The remaining
    three flags are informational and do not affect it.
  - This function is expensive. It starts WordPress once to collect every
    signal, and the system stops the attempt after 30 seconds.
  - A site whose WordPress cannot start, or that does not answer within
    the 30-second limit, reports every flag as `0`. This is not an error.
  - An `id` parameter that does not exist, or that belongs to another
    account, returns a failure status with a message in the `errors`
    field. The two cases are indistinguishable.
  - The system verifies that the caller owns the installation before it
    reads anything.

## Query parameters

- `id` integer, required

## Response `200`

The HTTP request was successful.

- object
  - `apiversion` integer: The version of the API.
  - `func` string: The name of the method called.
  - `module` string: The name of the module called.
  - `result` object
    - `data` object: The activity flags for the installation. Every flag is `1` or `0`.
      - `authored_content` 1 | 0: Whether the site holds content that is not part of a fresh installation, or whether its seed content changed.
      - `changed_appearance` 1 | 0: Whether the site's appearance differs from a fresh installation. Informational.
      - `extended_functionality` 1 | 0: Whether the site added functionality beyond a fresh installation. Informational.
      - `has_user_activity` 1 | 0: Whether the account has done meaningful work on the site. This is `1` when the `authored_content` or `uploaded_media` field is `1`.
      - `personalized_identity` 1 | 0: Whether the site's identity, such as its tagline, logo, or site icon, differs from a fresh installation. Informational.
      - `uploaded_media` 1 | 0: Whether the site's media library holds at least one item.
    - `errors` string[], nullable: List of errors if the API failed.
    - `messages` string[], nullable: List of messages generated by the API.
    - `metadata` object
      - `transformed` 1: Post-processing may have transformed the data.
    - `status` 1 | 0: - `1` - Success. - `0` - Failed: Check the errors field for more details.
    - `warnings` string[], nullable: List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running an API.

## Changes

- **2026-09-23** `aed66b1a51cc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cpanel/apis/cpanel-uapi/changes/WPX/get_site_activity/get.md)

---

[API](https://skmtc.dev/cpanel/apis/cpanel-uapi.md) - [All operations](https://skmtc.dev/cpanel/apis/cpanel-uapi/llms.txt) - [OpenAPI document](https://skmtc.dev/cpanel/apis/cpanel-uapi/revisions/05239220da37?raw)
