---
title: "Sync Table Descriptions Schemas"
method: POST
path: "/api/table-descriptions/sync-schemas"
tags: ["Table Description"]
---

# Sync Table Descriptions Schemas

`POST /api/table-descriptions/sync-schemas`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`

## Request body

- ScanRequest[]
  - `db_connection_id` string, required
  - `table_names` string[]

## Response `201`

Successful Response

- TableDescriptionResponse[]
  - `id` string, required
  - `db_connection_id` string
  - `description` string
  - `columns` ColumnDescription[]
    - `name` string
    - `description` string
    - `is_primary_key` boolean
    - `data_type` string
    - `low_cardinality` boolean
    - `categories` string[]
    - `foreign_key` object
  - `examples` unknown[]
    - unknown
  - `table_name` string
  - `status` 'NOT_SYNCHRONIZED' | 'SYNCHRONIZING' | 'SYNCHRONIZED' | 'DEPRECATED' | 'FAILED': An enumeration.
  - `last_schema_sync` string, date-time
  - `created_at` string, date-time
  - `metadata` TableDescriptionMetadata
    - `dh_internal` object

## Other responses

- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/dataherald/apis/dataherald-api.md) - [All operations](https://skmtc.dev/dataherald/apis/dataherald-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dataherald/apis/dataherald-api/revisions/e168e98625a8?raw)
