---
title: "Config-managed dashboards: render a `.dashboard` straight from a patch ref before  it merges (ADR-0022). Runs as the file's run_as, gated on the previewer being  authorized for it; persists nothing."
method: POST
path: "/textql.rpc.public.dashboard.DashboardService/PreviewConfigDashboard"
tags: ["DashboardService"]
---

# Config-managed dashboards: render a `.dashboard` straight from a patch ref before  it merges (ADR-0022). Runs as the file's run_as, gated on the previewer being  authorized for it; persists nothing.

`POST /textql.rpc.public.dashboard.DashboardService/PreviewConfigDashboard`

Config-managed dashboards: render a `.dashboard` straight from a patch ref before
 it merges (ADR-0022). Runs as the file's run_as, gated on the previewer being
 authorized for it; persists nothing.

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicDashboardPreviewConfigDashboardRequest — PreviewConfigDashboard renders a config-managed dashboard from a patch ref before merge (ADR-0022). The previewing member + org come from auth context.
  - `patchRef` string — git ref of the patch to preview from
  - `dashboardPath` string — Library path of the .dashboard file

## Response `200`

Success

- TextqlRpcPublicDashboardPreviewConfigDashboardResponse
  - `url` string — serving URL for the ephemeral preview
  - `embedUrl` string — embeddable URL for the preview

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/revisions/31ce2b0c4427/schema)
