> For the complete documentation index, see [llms.txt](https://docs.autogon.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autogon.ai/autogon-qore/natural-language-ai/ask-your-data.md).

# Ask Your Data

Query your data using natural language.

Leverage on artificial intelligence to help you work with your data, ranging from tasks such as data cleansing, data analytics, to data visualization, and more.

#### Pricing

Requests made to the Ask Your Data API are billed.

The pricing for API requests is as follows:

* **Per Request Cost**: 3 units base cost per request.

<mark style="color:green;">`POST`</mark> `https://api.autogon.ai/api/v1/services/ask-your-data/`

The Ask Your Data API empowers developers to directly query their datasets using natural language without having to use SQL or any programming language.

It is recommended you use the [upload](https://docs.autogon.ai/autogon-qore/natural-language-ai/pages/UGxplb3QjCSpqvgd4xY4#uploads-a-dataset.) endpoint with your dataset to generate a dataset URL.

#### Headers

| Name                                           | Type   | Description      |
| ---------------------------------------------- | ------ | ---------------- |
| Content-Type<mark style="color:red;">\*</mark> | String | application/json |

#### Request Body

| Name                                     | Type   | Description                                               |
| ---------------------------------------- | ------ | --------------------------------------------------------- |
| data<mark style="color:red;">\*</mark>   | String | URL to dataset to be queried                              |
| prompt<mark style="color:red;">\*</mark> | String | Query text (Ex: Give me a chart of the first two columns) |

{% tabs %}
{% tab title="200: OK Signed URL to queried content" %}

```json
{
    "status": true,
    "data": ""
}

```

{% endtab %}
{% endtabs %}
