---
title: "Put Workflow Dashboard"
method: PUT
path: "/api/workflows/{workflow_id}/dashboard"
tags: ["Workflows"]
---

# Put Workflow Dashboard

`PUT /api/workflows/{workflow_id}/dashboard`

Replace the workflow's dashboard spec, or clear it when ``spec``
is None. Called by the Kirbi ``build_dashboard_spec`` tool (with a
full spec) and by the UI reset button (with spec=None).

The frontend never writes a hand-edited spec in Phase 1; the only
valid human write is ``spec=None`` to reset.

## Path parameters

- `workflow_id` string, required

## Request body

- DashboardSpecPayload — PUT body for the dashboard spec endpoint. ``spec`` is either a full spec dict (set/replace) or ``None`` to clear the dashboard back to the empty state. The Kirbi tool always sends a full spec; the UI reset button sends ``None``.
  - `spec` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/versions/718de1c0d866/schema)
