> 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/coverage-set-apis/create-coverage-set.md).

# Create Coverage Set

The first action to take on coverage sets is to create a new coverage set.  This can be done for one or more determining attributes.  The call is set up as a POST call.

&#x20;

<figure><img src="/files/jS8mUC08RCcvtKSRko33" alt=""><figcaption><p>Create coverage set API call</p></figcaption></figure>

&#x20;

The body of the call contains the project name and version and credentials in the ‘context’ section.  In the entity section, you provide the name of the coverage set you are creating (it must end with ‘\_coverage’) and the determining attribute name(s)/version(s) you want to include.

&#x20;

```
{
    "context": {
        "user": "mbj_test",
        "password": "xxxx",
        "project": {
            "name": "imp_payments_demo",
            "version": "1.0"
        }
    },
    "entity": {
        "name": "api_demo_coverage",
        "determiningAttributes": [
            {"name": "acct_type", "version": "1.0"},
            {"name": "has_app", "version": "1.0"},
            {"name": "has_online", "version": "1.0"},
            {"name": "balance", "version": "1.0"}
        ]
    }
}
```

&#x20;

When this is run, a successful return message will show the return code (200) as well as the information on the coverage set created by this call.

&#x20;&#x20;

<figure><img src="/files/zmKngm7lWNboyjQjIQOk" alt=""><figcaption><p>Create coverage set return message</p></figcaption></figure>

&#x20;&#x20;

When the coverage set is viewed in the TDO UI, you can see the determining attributes linked to this set.

&#x20;

<figure><img src="/files/ANoOYaxqYcYFpwAxXijA" alt=""><figcaption><p>Coverage set contents in TDO</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.apica.io/platform-docs/test-data-orchestrator-tdo/user-documentation/api-guide/coverage-set-apis/create-coverage-set.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
