---
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
    - `slug` string — Unique identifier of the GrafanaDashboard. If a `slug` isn't provided, one will be generated based of the `name` field. You can't modify this field after the GrafanaDashboard is created.
    - `name` string — Required. Name of the GrafanaDashboard. You can modify this value after the GrafanaDashboard is created.
    - `created_at` string, date-time — Timestamp of when the GrafanaDashboard was created. Cannot be set by clients.
    - `updated_at` string, date-time — Timestamp of when the GrafanaDashboard was last updated. Cannot be set by clients.
    - `bucket_slug` string — Slug of the bucket the dashboard belongs to. Required if collection_slug is not set.
    - `collection_slug` string — Slug of the collection the dashboard belongs to. Required if bucket_slug is not set.
    - `collection` Configv1CollectionReference
      - `type` 'SIMPLE' | 'SERVICE' — Type values must match entitiespb.Collection.CollectionType.
      - `slug` string
    - `dashboard_json` string — Required raw JSON of the Grafana dashboard.
  - `dry_run` boolean — If true, the GrafanaDashboard isn't created, and no response GrafanaDashboard will be returned. The response will return an error if the given GrafanaDashboard is invalid.

## Response `200`

A successful response containing the created GrafanaDashboard.

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

## 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.net/chronosphere/apis/config-v1-api.md) · [All operations](https://skmtc.net/chronosphere/apis/config-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chronosphere/config-v1-api/revisions/530951bd2ccf/schema)
