# Test API

This feature allows the users to test the API in the API Manager. This avoids the need for any external API testing applications for testing the API.

<figure><img src="/files/4jjM3HftxbDh2XuBv5CW" alt=""><figcaption></figcaption></figure>

### How to test?

* Navigate to the respective system and open the API Manager by clicking the “view all” button. It will display all the APIs associated with this system.
* Choose any existing APIs from the list or create a new API by providing the necessary information.
* Open the "Test Details" tab in the API and choose one of the below options to provide the necessary information
  * [Use Credentials](#use-credentials)
  * [Use Direct Values](#use-direct-values)
* Click the "Test" button to test the API.
* Once the API response is received, the response status and content will be displayed below the requested API.

{% hint style="success" %}
APIs can be tested while in the draft itself. This helps to test the API without saving first.
{% endhint %}

#### Use Credentials

This option allows the user to choose any existing credentials to authorize and test the API.

<figure><img src="/files/yPIjWi015kIKG0IO26VA" alt=""><figcaption></figcaption></figure>

#### Use Direct Values

This option allows the user to provide the credential information directly here. For security reasons, this credential information is <mark style="color:green;">not stored</mark> to reuse later.

<figure><img src="/files/rjL2WdwKhd9Bn3bKurgb" alt=""><figcaption></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.dckapintegrator.com/project-manager/systems/api-manager/test-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.
