> ## Documentation Index
> Fetch the complete documentation index at: https://metoro.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync Dashboards From Kubernetes Sources

> Trigger immediate synchronization of dashboards from Kubernetes sources, including ConfigMaps and MetoroDashboard CRDs. By default, dashboards are synced once every hour. This endpoint allows triggering the sync process manually without waiting for the scheduled sync.



## OpenAPI

````yaml /api-reference/openapi.yaml get /dashboards/sync
openapi: 3.0.0
info:
  description: API for managing Metoro environments, alerts, and dashboards.
  license:
    name: Proprietary
    url: https://metoro.io/terms
  title: Metoro API
  version: 1.0.0
servers:
  - description: Production API server
    url: https://us-east.metoro.io/api/v1
  - description: Demo API server
    url: https://demo.us-east.metoro.io/api/v1
security: []
paths:
  /dashboards/sync:
    get:
      tags:
        - Dashboards
      summary: Sync Dashboards From Kubernetes Sources
      description: >-
        Trigger immediate synchronization of dashboards from Kubernetes sources,
        including ConfigMaps and MetoroDashboard CRDs. By default, dashboards
        are synced once every hour. This endpoint allows triggering the sync
        process manually without waiting for the scheduled sync.
      operationId: syncDashboardsFromConfigMaps
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SyncDashboardsResponse'
          description: Dashboard synchronization initiated successfully
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Forbidden
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
      security:
        - bearerAuth: []
components:
  schemas:
    SyncDashboardsResponse:
      description: Response confirming the dashboard sync workflow was triggered
      example:
        message: Successfully triggered dashboard sync from Kubernetes sources
      properties:
        message:
          description: Human-readable message describing the sync status
          type: string
      required:
        - message
      type: object
    Error:
      example:
        error: 'Invalid alert configuration: missing required field'
      properties:
        error:
          description: Error message describing what went wrong
          type: string
      required:
        - error
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````