---
title: "POST /api/v1/config/classic-dashboards"
method: POST
path: "/api/v1/config/classic-dashboards"
tags: ["ClassicDashboard"]
---

# POST /api/v1/config/classic-dashboards

`POST /api/v1/config/classic-dashboards`

## Request body

- Configv1CreateClassicDashboardRequest
  - `classic_dashboard` Configv1GrafanaDashboard
    - `bucket_slug` string — Slug of the bucket the dashboard belongs to. Required if collection_slug is not set.
    - `collection` Configv1CollectionReference
      - `slug` string
      - `type` 'SIMPLE' | 'SERVICE'
    - `collection_slug` string — Slug of the collection the dashboard belongs to. Required if bucket_slug is not set.
    - `created_at` string, date-time — Timestamp of when the GrafanaDashboard was created. Cannot be set by clients.
    - `dashboard_json` string — Required raw JSON of the Grafana dashboard.
    - `name` string, required — The name of the GrafanaDashboard. You can modify this value after the GrafanaDashboard is created.
    - `slug` string — The unique identifier of the GrafanaDashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the GrafanaDashboard is created.
    - `updated_at` string, date-time — Timestamp of when the GrafanaDashboard was last updated. Cannot be set by clients.
  - `dry_run` boolean — If `true`, validates the specified configuration without creating the GrafanaDashboard. If the specified configuration is valid, the endpoint returns a partial response without the GrafanaDashboard. If the specified configuration is invalid, the endpoint returns an error.

## Response `200`

A successful response containing the created GrafanaDashboard.

- Configv1CreateClassicDashboardResponse
  - `classic_dashboard` Configv1GrafanaDashboard
    - `bucket_slug` string — Slug of the bucket the dashboard belongs to. Required if collection_slug is not set.
    - `collection` Configv1CollectionReference
      - `slug` string
      - `type` 'SIMPLE' | 'SERVICE'
    - `collection_slug` string — Slug of the collection the dashboard belongs to. Required if bucket_slug is not set.
    - `created_at` string, date-time — Timestamp of when the GrafanaDashboard was created. Cannot be set by clients.
    - `dashboard_json` string — Required raw JSON of the Grafana dashboard.
    - `name` string, required — The name of the GrafanaDashboard. You can modify this value after the GrafanaDashboard is created.
    - `slug` string — The unique identifier of the GrafanaDashboard. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the GrafanaDashboard is created.
    - `updated_at` string, date-time — Timestamp of when the GrafanaDashboard was last updated. Cannot be set by clients.

## Other responses

- `400` — Cannot create the GrafanaDashboard because the request is invalid.
- `409` — Cannot create the GrafanaDashboard because there is a conflict with an existing GrafanaDashboard.
- `500` — An unexpected error response.
- `default` — An undefined error response.

---

[API](https://skmtc.dev/chronosphere/apis/data-v1-api.md) · [All operations](https://skmtc.dev/chronosphere/apis/data-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chronosphere/data-v1-api/revisions/ee91fd539ced/schema)
