---
title: "Sync Dashboard Metadata"
method: POST
path: "/metabase/sync-dashboard-metadata"
tags: ["METABASE"]
deprecated: true
---

# Sync Dashboard Metadata

`POST /metabase/sync-dashboard-metadata`

> **Deprecated.**

Sync Metabase dashboard metadata from Airflow DAG to local database.

This endpoint receives collections and dashboards data from an Airflow DAG
and stores the metadata in the local PostgreSQL database for the specified tenant.

Args:
    request: SyncDashboardMetadataRequest containing tenant, collections, dashboards, and fetch timestamp

Returns:
    SyncDashboardMetadataResponse with sync operation results

## Request body

- SyncDashboardMetadataRequest
  - `tenant_name` string, required
  - `collections` MetabaseCollectionSync[], required
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `color` string, nullable
    - `parent_id` integer, nullable
    - `personal_owner_id` integer, nullable
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `archived` boolean, nullable
    - `slug` string, nullable
    - `location` string, nullable
    - `namespace` string, nullable
    - `authority_level` string, nullable
    - `type` string, nullable
  - `dashboards` MetabaseDashboardSync[], required
    - `id` integer, required
    - `name` string, required
    - `description` string, nullable
    - `collection_id` integer, nullable
    - `collection_position` integer, nullable
    - `creator_id` integer, nullable
    - `created_at` string, nullable
    - `updated_at` string, nullable
    - `archived` boolean, nullable
    - `public_uuid` string, nullable
    - `made_public_by_id` integer, nullable
    - `enable_embedding` boolean, nullable
    - `embedding_params` object, nullable
    - `caveats` string, nullable
    - `points_of_interest` string, nullable
    - `show_in_getting_started` boolean, nullable
    - `position` integer, nullable
    - `parameters` object[], nullable
    - `tags` string[], nullable
    - `auto_apply_filters` boolean, nullable
    - `cache_field_values_schedule` string, nullable
    - `cache_duration` integer, nullable
  - `fetch_timestamp` string, required

## Response `200`

Successful Response

- union
  - SyncDashboardMetadataResponse
    - `success` boolean, required
    - `message` string, required
    - `dashboards_synced` integer, required
    - `dashboards_updated` integer, required
    - `dashboards_deleted` integer, required
    - `total_dashboards` integer, required
    - `tenant` string, required
    - `processing_time_seconds` number, required
  - SyncDashboardMetadataErrorResponse
    - `success` boolean, required
    - `error` string, required
    - `tenant` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
