> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# API reference

> REST APIs for every e6data product. Endpoint pages are generated from the OpenAPI specs in the openapi/ folder.

Every endpoint page in this section comes from an OpenAPI spec in the `openapi/` folder of the docs repository. To change an endpoint page, change the spec.

<Columns cols={3}>
  <Card title="Query Engine: SQL over REST" icon="search-code" href="/api-reference/query-sql/statements/submit-a-statement">
    Submit SQL statements over HTTPS, poll for status, and page through results. `/api/v2/sql/statements`
  </Card>

  <Card title="Query Engine: query history" icon="history" href="/api-reference/query-history/query-history/get-query-count">
    Count queries by status, filtered by workspace, user and cluster.
  </Card>

  <Card title="Ingest Engine" icon="arrow-down-to-line" href="/api-reference/ingest/pipelines/create-a-pipeline">
    Create and manage pipelines, jobs, connection profiles and connection tables.
  </Card>
</Columns>

## Before you call an API

1. Get a credential. See [Authentication](/api-reference/authentication).
2. Find your host. For Query Engine, it's under **Cluster → Connectivity** in the console.
3. Send the credential as a bearer token in the `Authorization` header.

## Related guides

* [REST API for SQL queries](/query/connect/rest-api-for-sql): the full walkthrough, with a Python example.
* [REST API error codes](/query/errors/rest-api)
* [Management API](/platform/automate): automate clusters, catalogs, schedules and policies.
* [API limits](/platform/reference/limits/api)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.