LinkedIn
Copied!

Table of Contents

Downloading the system state by using a REST API

Version:

Only available versions of this content are shown in the dropdown

To download the current system state for a single node or for the whole cluster for use by a third-party tool, use a REST API. REST APIs are a standard way to access the resource status and can be used by third-party tools that support calling the API.

To invoke a REST API for downloading the system state, authenticate as a user with the PegaRULES:SysOpsObserver role.
  1. In the address bar of a third-party tool that supports calling this API, enter the following URL: http:// hostname:port /api/v1/nodes/ {nodeIdentifier} /state

    For variables, enter the following details:
    • hostname:port is the host name and the port for the Pega Platform application server to which you want to connect.

    • {nodeIdentifier} is the ID of the node for which you want to download the system state. If you enter all, you download the system state for the whole cluster.

  2. To check the system state for the specific node or the whole cluster, save or open the JSON file that was generated.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.