> 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/generate-coverage-matrix.md).

# Generate Coverage Matrix

This call generates the coverage matrix from the business rules.

{% hint style="warning" %}
If you do not have any business rules set, this call will not return any data.
{% endhint %}

This is sent as a POST call.

<figure><img src="/files/S6SZEhxKtcncTpsTRpMF" alt=""><figcaption><p>Generate Coverage Matrix API call</p></figcaption></figure>

The body of the call is simple; it contains the user credentials, project, and coverage set information.

```postman_json
{
	"context": {
		"user": "user_id",
		"password": "xxxx",
		"project": {
			"name": "imp_payments_demo",
			"version": "1.0"
		},
		"coverage" : {
		  "name": "api_demo_coverage",
		  "version": "1.9"
		}
	}
}
```

The results of this call will display information on the generated coverage matrix. The body contains information on each row generated as part of the coverage matrix.

<figure><img src="/files/AfVLZ7MsBZ5bpzTZVtsX" alt=""><figcaption><p>Coverage generation return messagel</p></figcaption></figure>

In TDO, the generate coverage matrix can be viewed from the Coverage Matrix section of the menu.

<figure><img src="/files/j1RuwLozHeqGhC7sAmIr" alt=""><figcaption><p>Generated coverage matrix</p></figcaption></figure>
