# 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.

&#x20;

<figure><img src="/files/UcA7ESiZJUprkXiyEaNy" alt=""><figcaption><p>URL for Get All Rules call</p></figcaption></figure>

&#x20;The body of the call looks like the body of the ‘Get Rule Details’ call.

&#x20;

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

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

&#x20;

<figure><img src="/files/FhXLrUGjF5nKcmM6bBfk" 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.

&#x20;

<figure><img src="/files/dXwmxF9pJjjyI7LiX2x1" alt=""><figcaption><p>Rules in TDO</p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.apica.io/platform-docs/test-data-orchestrator-tdo/user-documentation/api-guide/business-rule-apis/get-all-business-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
