> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nx1cloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# View a rule

> View a rule to see its versions, their statuses, and its publication history.

You can view a rule to see its details, its versions, the published version, and its publication history.

## Prerequisites

Before starting this task, ensure you have the following:

* Required role: [Any workspace role](https://docs.nx1cloud.com/documentation/data/overview/business-rules.md#roles-and-permissions), such as `Viewer`
* An [existing rule](https://docs.nx1cloud.com/documentation/data/tasks/business-rules/rules/create-a-rule.md)

## Steps

> [tab] Web portal
>
> Perform these steps to view a rule:
>
> 1. Log in to NexusOne.
> 2. On the top navigation bar, hover your mouse over **Data** and then select **Business Rules**.
> 3. Select a workspace.
> 4. In the **Business rules** tab, select a rule.
> 5. Use the following tabs to review a rule:
>
>    * **Versions**: Lists each version with its status, author, approver, and notes.
>    * **Simulate**: Tests a rule with sample input. This tab appears only if you can simulate rules.
>    * **Publication history**: Lists each time a version went live or was rolled back, with who did it and when.

> [tab] REST API
>
> Use the following API endpoints to view a rule:
>
> * [Get a decision](https://docs.nx1cloud.com/api-reference/endpoints/decisions/get-a-decision.md)
> * [Get one version with its rule content](https://docs.nx1cloud.com/api-reference/endpoints/decisions/get-one-version-with-its-jdm-content.md)
> * [Get publication history for a decision](https://docs.nx1cloud.com/api-reference/endpoints/decisions/get-publication-history-for-a-decision.md)
> * [List versions of a decision](https://docs.nx1cloud.com/api-reference/endpoints/decisions/list-versions-of-a-decision.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.