---
title: "ListDatabases"
method: GET
path: "/v1alpha/catalogs/{catalogId}/databases"
tags: ["DataCatalogsService"]
---

# ListDatabases

`GET /v1alpha/catalogs/{catalogId}/databases`

Lists all databases for the given catalog.

## Path parameters

- `catalogId` string, required

## Query parameters

- `pageParameters.skip` integer
- `pageParameters.pageSize` integer

## Response `200`

OK

- ListDatabasesResponse
  - `databases` DataCatalogDatabase[]
    - `catalog` DataCatalog
      - `databases` DataCatalogDatabase[] — A top-most level of the catalog. This is typically a database.
      - `id` string — An arbitrary but unique identifier for the catalog. This matches the id from the PACE app configuration.
      - `tags` string[]
      - `type` 'TYPE_UNSPECIFIED' | 'COLLIBRA' | 'ODD' | 'DATAHUB', enum
    - `displayName` string
    - `id` string — The id used by the catalog.
    - `schemas` DataCatalogSchema[] — The schemas in this database.
      - `database` DataCatalogDatabase — recursive
      - `id` string — The id used by the catalog.
      - `name` string
      - `tables` DataCatalogTable[] — The tables in this schema.
        - `id` string — The id used by the catalog.
        - `name` string
        - `schema` DataCatalogSchema — recursive
        - `tags` string[]
      - `tags` string[]
    - `tags` string[]
    - `type` string
  - `pageInfo` PageInfo
    - `total` integer — The (estimated) total number of records. If the total is unknown, this value is -1.

## Other responses

- `default` — Default error response

## Changes

- **2023-12-19** `df7ee7e702db` — 3 info
  - added the new optional `query` request parameter `pageParameters.pageSize`
  - added the new optional `query` request parameter `pageParameters.skip`
  - added the optional property `pageInfo` to the response with the `200` status
- **2023-11-29** `8ae5870420f4` — 1 info
  - endpoint added
- **2023-11-17** `04d64891152e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/getstrm/apis/pace-api/changes/v1alpha/catalogs/:catalogId/databases/get.md)

---

[API](https://skmtc.dev/getstrm/apis/pace-api.md) · [All operations](https://skmtc.dev/getstrm/apis/pace-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getstrm/pace-api/revisions/df7ee7e702db/schema)
