# API

## Step by step walkthrough

To Add API kindly follow the below steps

**STEP 1:**  Go to **Studio** on the Left Navigation, it directs to new window which will be appearing as shown below.

![](/files/-MgpSeICOkIC4wEvjWBv)

**STEP 2:** On the right corner Click on "**+**" icon and select **Add API**, it should appear as below.

![](/files/-MgtWXx_zTsoYK9OlBro)

**STEP 3:** Fill the required details as shown in the below screenshot.

![](/files/-MgtWloT6b8p3kQdaLV1)

The following is the detailed explanation for adding API details.

* **API Name**: The Name of the API need to be filled ( it could be any name of your convenience).
* **Description**: Mention in detail the project or what type of testing is to be conducted.
* **Type**: It consists of two testing methods -SOAP, REST. Choose according to your need.
* **Select Group**: select the group name which you prefer to conduct the test on.
* **END Point Url**: Add the URL of the source which you are conducting the test.
* **Methods**: POST, GET, PUT, HEAD, PATCH, DELETE, OPTION, TRACE - need to choose one of these methods according to the Testing requirements.

**STEP 4:** Click on **Save** to save the details you have entered.&#x20;

## Short Video

![](/files/-MkH-QYDMuhS0BssFDqw)


---

# 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.qatts.com/automation/objects/api.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.
