---
title: "Get list of DB tables per YB API (YCQL/YSQL)"
method: GET
path: "/tables"
tags: ["cluster-info"]
---

# Get list of DB tables per YB API (YCQL/YSQL)

`GET /tables`

Get list of tables per YB API (YCQL/YSQL)

## Query parameters

- `api` 'YCQL' | 'YSQL'

## Response `200`

List of cluster tables

- object
  - `tables` ClusterTable[], required — List of cluster tables
    - `name` string, required
    - `keyspace` string, required
    - `uuid` string, required
    - `type` 'YSQL' | 'YCQL', required — Type of DB API (YSQL/YCQL)
    - `size_bytes` integer, required
  - `indexes` ClusterTable[], required — List of cluster tables
    - `name` string, required
    - `keyspace` string, required
    - `uuid` string, required
    - `type` 'YSQL' | 'YCQL', required — Type of DB API (YSQL/YCQL)
    - `size_bytes` integer, required

## Other responses

- `400` — API Error
- `500` — API Error

---

[API](https://skmtc.net/yugabyte/apis/yugabyte-cloud.md) · [All operations](https://skmtc.net/yugabyte/apis/yugabyte-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yugabyte/yugabyte-cloud/revisions/a851ee3a0a88/schema)
