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

# Clone Dashboard

> Creates a deep copy of a dashboard, charts included — the v2 replacement for POST /v1/api/dashboard/clone. With a project-user token the copy is a standalone dashboard in that user's space, which is also how a user makes an editable copy of a shared dashboard. Authenticate with an Upsolve API key or a project-user token (from /v1/api/projects/user-token, or /v1/api/tenant/register-tenant after migration).



## OpenAPI

````yaml post /v2/api/applications/{applicationId}/dashboards/{dashboardId}/clone
openapi: 3.1.0
info:
  title: Upsolve API
  version: 1.4.2
servers:
  - url: https://api.upsolve.ai
security: []
tags: []
paths:
  /v2/api/applications/{applicationId}/dashboards/{dashboardId}/clone:
    post:
      summary: Clone a dashboard
      description: >-
        Creates a deep copy of a dashboard, charts included — the v2 replacement
        for POST /v1/api/dashboard/clone. With a project-user token the copy is
        a standalone dashboard in that user's space, which is also how a user
        makes an editable copy of a shared dashboard. Authenticate with an
        Upsolve API key or a project-user token (from
        /v1/api/projects/user-token, or /v1/api/tenant/register-tenant after
        migration).
      operationId: PostV2ApiApplicationsApplicationIdDashboardsDashboardIdClone
      parameters:
        - name: applicationId
          in: path
          required: true
          description: >-
            ID of the application. List them with GET /v2/api/applications.
            After a v1 migration, each v1 workspace became one application —
            `legacyWorkspaceId` on the list says which.
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: >-
              ID of the application. List them with GET /v2/api/applications.
              After a v1 migration, each v1 workspace became one application —
              `legacyWorkspaceId` on the list says which.
        - name: dashboardId
          in: path
          required: true
          description: ID of the dashboard to copy
          schema:
            type: string
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            description: ID of the dashboard to copy
      requestBody:
        description: >-
          POST /v2/api/applications/:applicationId/dashboards/:dashboardId/clone
          Request body
        content:
          application/json:
            schema:
              type: object
              properties:
                apiKey:
                  description: >-
                    Upsolve API key, generated under Account → Developer
                    settings in the Upsolve Hub. Keys are user-scoped: pass
                    organizationId alongside the key to select which org to act
                    on.
                  type: string
                  minLength: 1
                organizationId:
                  type: string
                  description: >-
                    The ID of the organization. Required when using Supabase JWT
                    authentication.
                connectionId:
                  type: string
                  description: The ID of the connection a guest has access to
                name:
                  description: Name for the copy. Defaults to '[original name] (Copy)'.
                  type: string
                  minLength: 1
              required: []
      responses:
        '201':
          description: >-
            POST
            /v2/api/applications/:applicationId/dashboards/:dashboardId/clone
            Positive response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: success
                  data:
                    type: object
                    properties:
                      applicationId:
                        type: string
                        description: ID of the application
                      dashboardId:
                        type: string
                        description: ID of the created or updated dashboard
                      name:
                        type: string
                        description: Name of the dashboard
                      kind:
                        type: string
                        enum:
                          - template
                          - dashboard
                        description: >-
                          `template` is a dashboard shared with every user of
                          the application (created with an API key, or by an
                          admin in the Hub). `dashboard` belongs to one user's
                          space — their own, or their customized copy of a
                          template.
                    required:
                      - applicationId
                      - dashboardId
                      - name
                      - kind
                    additionalProperties: false
                required:
                  - status
                  - data
                additionalProperties: false
        '400':
          description: >-
            POST
            /v2/api/applications/:applicationId/dashboards/:dashboardId/clone
            Negative response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    const: error
                  error:
                    type: object
                    properties:
                      message:
                        type: string
                      code:
                        type: string
                      details:
                        type: object
                        propertyNames:
                          type: string
                        additionalProperties: {}
                    required:
                      - message
                    additionalProperties: false
                required:
                  - status
                  - error
                additionalProperties: false
      security:
        - APIKEY_2: []
components:
  securitySchemes:
    APIKEY_2:
      type: apiKey
      in: header
      name: authorization

````