---
title: "Create dashboard"
method: POST
path: "/v1/private/dashboards"
tags: ["Dashboards"]
---

# Create dashboard

`POST /v1/private/dashboards`

Create a new dashboard in a workspace

## Request body

- DashboardWrite
  - `project_id` string, uuid — Project ID. Takes precedence over project_name when both are provided.
  - `project_name` string — For project scope, specify either project_id or project_name. If project_name is provided and the project does not exist, it will be created. Ignored when project_id is provided. If neither is provided, the dashboard is created at workspace level.
  - `name` string, required
  - `type` 'multi_project' | 'experiments'
  - `description` string
  - `config` JsonNodeWrite, required

## Response `201`

Created

- DashboardPublic
  - `id` string, uuid
  - `workspace_id` string
  - `project_id` string, uuid — Project ID. Takes precedence over project_name when both are provided.
  - `name` string, required
  - `slug` string
  - `type` 'multi_project' | 'experiments'
  - `scope` 'workspace' | 'insights'
  - `description` string
  - `config` JsonNodePublic, required
  - `created_by` string
  - `last_updated_by` string
  - `created_at` string, date-time
  - `last_updated_at` string, date-time

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
