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


---

# 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.autogon.ai/autogon-qore/natural-language-ai/ask-your-data.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.
