> For the complete documentation index, see [llms.txt](https://docs.apica.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apica.io/platform-docs/test-data-orchestrator-tdo/user-documentation/api-guide/business-rule-apis/get-all-business-rules.md).

# Get All Business Rules

This API returns details on all rules within a single coverage set. It is sent as a POST, with the same header details as the ‘create’ and ‘update’ calls.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FUfHxpuR9oXwQRjhSogfM%2Fimage.png?alt=media&amp;token=861dc1b3-e4b1-4d3b-96a7-a03fd0ac8a42" alt=""><figcaption><p>URL for Get All Rules call</p></figcaption></figure>

The body of the call looks like the body of the ‘Get Rule Details’ call.

```
{
    "context": {
        "user": "mbj_test",
        "password": "xxxx",
        "project": {
            "name": "imp_payments_demo",
            "version": "1.0"
        },
        "coverage" : {
            "name": "api_demo_coverage",
          "version": "1.2"
        }
    }
}
```

The return message of the API shows the information for all rules contained in this coverage set.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FD6cYrkCKNtL7xBAm5J7z%2Fimage.png?alt=media&amp;token=c6c40446-dc15-407b-b4cd-b8fb9168e3b0" alt=""><figcaption><p>Results for Get All Rules</p></figcaption></figure>

This coverage set now contains three rules; the information on all three is included above. In TDO, the three rules are also shown.

<figure><img src="https://2948796384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LmzGprckLqwd5v6bs6m%2Fuploads%2FfCX1WHd6dpboiSMZxVEI%2Fimage.png?alt=media&amp;token=5eaf1912-f216-40ac-9537-348d19ef573b" alt=""><figcaption><p>Rules in TDO</p></figcaption></figure>
