# Apache Superset SQL Lab API

**Canonical:** https://apis.io/apis/apache-superset/apache-superset-sql-lab-api/  
**Provider:** Apache Superset — https://apis.io/providers/apache-superset/  
**Base URL:** http://localhost:8088  
**Documentation:** https://superset.apache.org/developer-docs/api

Apache Superset SQL Lab API is one of 21 APIs that [Apache Superset](https://apis.io/providers/apache-superset/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include SQL Lab. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

The SQL Lab API from Apache Superset — 6 operation(s) for sql lab.

## Operations (6)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/v1/sqllab/` | SQL Lab home info |
| POST | `/api/v1/sqllab/execute/` | Execute SQL |
| POST | `/api/v1/sqllab/estimate/` | Estimate SQL cost |
| POST | `/api/v1/sqllab/format_sql/` | Format SQL |
| GET | `/api/v1/sqllab/results/` | Fetch SQL results |
| GET | `/api/v1/sqllab/export/{client_id}/` | Export SQL Lab results |

## Machine-readable artifacts (3)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/apache-superset/refs/heads/main/openapi/apache-superset-sql-lab-api-openapi.yml
- **Documentation** — https://superset.apache.org/developer-docs/api
- **APIReference** — https://superset.apache.org/docs/api

## Other Apache Superset APIs (12)

- [Apache Superset Annotation Layer API](https://apis.io/apis/apache-superset/apache-superset-annotation-layer-api/)
- [Apache Superset Assets API](https://apis.io/apis/apache-superset/apache-superset-assets-api/)
- [Apache Superset Async Event API](https://apis.io/apis/apache-superset/apache-superset-async-event-api/)
- [Apache Superset Available Domains API](https://apis.io/apis/apache-superset/apache-superset-available-domains-api/)
- [Apache Superset Cachekey API](https://apis.io/apis/apache-superset/apache-superset-cachekey-api/)
- [Apache Superset Chart API](https://apis.io/apis/apache-superset/apache-superset-chart-api/)
- [Apache Superset Css Template API](https://apis.io/apis/apache-superset/apache-superset-css-template-api/)
- [Apache Superset Dashboard API](https://apis.io/apis/apache-superset/apache-superset-dashboard-api/)
- [Apache Superset Database API](https://apis.io/apis/apache-superset/apache-superset-database-api/)
- [Apache Superset Dataset API](https://apis.io/apis/apache-superset/apache-superset-dataset-api/)
- [Apache Superset Embedded Dashboard API](https://apis.io/apis/apache-superset/apache-superset-embedded-dashboard-api/)
- [Apache Superset Log API](https://apis.io/apis/apache-superset/apache-superset-log-api/)

## Tags

SQL Lab

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/apache-superset/apache-superset-sql-lab-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/apache-superset/.
