# Ask Your Data

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/other-apis/dataset#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 %}
