---
title: "Add Dashboard View"
method: POST
path: "/api/endpoint-monitor/endpoints/{endpoint_id}/dashboard-views"
tags: ["endpoint-monitor"]
---

# Add Dashboard View

`POST /api/endpoint-monitor/endpoints/{endpoint_id}/dashboard-views`

Add a dashboard view by pasting a URL. Parses the URL to extract provider, UID, and variable bindings.

## Path parameters

- `endpoint_id` string, uuid, required

## Request body

- AddDashboardViewRequest — Request to add a dashboard view by pasting a URL.
  - `url` string, required
  - `role` string

## Response `200`

Successful Response

- DashboardViewResponse — A saved dashboard view for an endpoint.
  - `id` string, required
  - `source_url` string, required
  - `provider` string, required
  - `dashboard_uid` string, required
  - `dashboard_name` string, nullable, required
  - `var_bindings` object, required
  - `panel_ids` unknown[], nullable, required
    - unknown
  - `extra_metadata` object, nullable, required
  - `role` string
  - `created_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/revisions/4e792a4f0e21/schema)
