---
title: "ListSchemas"
method: GET
path: "/catalogs/{catalogId}/schemas"
tags: ["DataCatalogsService"]
---

# ListSchemas

`GET /catalogs/{catalogId}/schemas`

Lists all schemas (for a given database, if applicable).

## Path parameters

- `catalogId` string, required

## Query parameters

- `databaseId` string

## Response `200`

OK

- ListSchemasResponse — (-- api-linter: core::0158::response-plural-first-field=disabled aip.dev/not-precedent: Schemata? Get real. --)
  - `schemas` DataCatalogSchema[]
    - `database` 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.
      - `tags` string[]
      - `type` string
    - `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[]

## Other responses

- `default` — Default error response

## Changes

- **2023-11-17** `04d64891152e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/getstrm/apis/pace-api/changes/catalogs/:catalogId/schemas/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.dev/getstrm/apis/pace-api/revisions/04d64891152e?raw)
