# Bytebase SQL Service API

**Canonical:** https://apis.io/apis/bytebase/bytebase-sqlservice-api/  
**Provider:** Bytebase — https://apis.io/providers/bytebase/  
**Base URL:** https://demo.bytebase.com/v1  
**Documentation:** https://docs.bytebase.com/integrations/api/overview

Bytebase SQL Service API is one of 33 APIs that [Bytebase](https://apis.io/providers/bytebase/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include SQLService. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

SQLService executes SQL queries and manages query operations.

## Operations (8)

| Method | Path | Summary |
|---|---|---|
| POST | `/bytebase.v1.SQLService/GetQueryHistory` | GetQueryHistory |
| POST | `/bytebase.v1.SQLService/ListQueryHistories` | ListQueryHistories |
| POST | `/bytebase.v1.SQLService/SearchQueryHistories` | SearchQueryHistories |
| POST | `/v1/instances/{instance}/databases/{database}:export` | Export |
| POST | `/v1/instances/{instance}/databases/{database}:query` | Query |
| POST | `/v1/projects/{project}/instances/{instance}/databases/{database}:export` | Export |
| POST | `/v1/projects/{project}/instances/{instance}/databases/{database}:query` | Query |
| GET | `/v1:adminExecute` | AdminExecute |

## Machine-readable artifacts (5)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/bytebase/refs/heads/main/openapi/bytebase-sqlservice-api-openapi.yml
- **Documentation** — https://docs.bytebase.com/integrations/api/overview
- **APIReference** — https://api.bytebase.com/
- **PostmanCollection** — https://raw.githubusercontent.com/api-evangelist/bytebase/refs/heads/main/collections/bytebase.postman_collection.json
- **OpenCollection** — https://raw.githubusercontent.com/api-evangelist/bytebase/refs/heads/main/collections/bytebase.opencollection.json

## Other Bytebase APIs (12)

- [Bytebase Access Grant Service API](https://apis.io/apis/bytebase/bytebase-accessgrantservice-api/)
- [Bytebase Actuator Service API](https://apis.io/apis/bytebase/bytebase-actuatorservice-api/)
- [Bytebase AI Service API](https://apis.io/apis/bytebase/bytebase-aiservice-api/)
- [Bytebase Audit Log Service API](https://apis.io/apis/bytebase/bytebase-auditlogservice-api/)
- [Bytebase Cel Service API](https://apis.io/apis/bytebase/bytebase-celservice-api/)
- [Bytebase Changelog Service API](https://apis.io/apis/bytebase/bytebase-changelogservice-api/)
- [Bytebase Database Catalog Service API](https://apis.io/apis/bytebase/bytebase-databasecatalogservice-api/)
- [Bytebase Database Group Service API](https://apis.io/apis/bytebase/bytebase-databasegroupservice-api/)
- [Bytebase Database Service API](https://apis.io/apis/bytebase/bytebase-databaseservice-api/)
- [Bytebase Group Service API](https://apis.io/apis/bytebase/bytebase-groupservice-api/)
- [Bytebase Identity Provider Service API](https://apis.io/apis/bytebase/bytebase-identityproviderservice-api/)
- [Bytebase Instance Role Service API](https://apis.io/apis/bytebase/bytebase-instanceroleservice-api/)

## Tags

SQLService

---

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