# Generate Coverage Matrix

This call generates the coverage matrix from the business rules. &#x20;

{% 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>


---

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