> For the complete documentation index, see [llms.txt](https://docs.quadratichq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quadratichq.com/connections/api-requests.md).

# API requests

For any data sources you can't connect directly to with SQL, we recommend using API requests via Python or JavaScript. Alternatively, you can [import Excel files](/import-data/import-excel-files.md), [drag and drop CSVs](/import-data/drag-and-drop-.csv.md), or [let us know if you need help](https://quadratichq.com/contact) with the specific data source you're trying to connect.&#x20;

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f40d">🐍</span> Make an API request from Python -></td><td></td><td></td><td><a href="/python/make-an-api-request.md">Make an API request</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f7e8">🟨</span> Make an API request from JavaScript -></td><td></td><td></td><td><a href="/javascript/api-requests.md">API Requests</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f7e9">🟩</span> Import Excel files -></td><td></td><td></td><td><a href="/import-data/import-excel-files.md">Import Excel files</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4c1">📁</span> Drag and drop .CSV files -></td><td></td><td></td><td><a href="/import-data/drag-and-drop-.csv.md">Drag and drop .CSV</a></td></tr><tr><td><span data-gb-custom-inline data-tag="emoji" data-code="1f5c4">🗄️</span> Drag and drop .Parquet files -></td><td></td><td></td><td><a href="/import-data/drag-and-drop-.parquet.md">Drag and drop .Parquet</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.quadratichq.com/connections/api-requests.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
