News & Updates

How to Find a Grafana Dashboard URL and ID Quickly

By Natalie Farrow 10 min read 3663 views

How to Find a Grafana Dashboard URL and ID Quickly

Whether you’re sharing a panel with a teammate or embedding a chart in a report, knowing exactly where to grab the Grafana dashboard URL and its internal ID can save a lot of back‑and‑forth. Below is a straightforward walk‑through that covers the most common ways to locate both pieces of information, plus a few handy tips for when you’re working with permissions or custom setups.

Why the URL and ID Matter

The URL is the address you paste into a browser or embed tag, while the dashboard ID is the numeric identifier Grafana uses behind the scenes. Some API calls, sharing links, or deep‑linking features require the ID explicitly, so having it on hand prevents guesswork.

Spotting the Dashboard ID in the UI

Grafana displays the ID in a few predictable spots:

  • Address bar – After opening a dashboard, look at the URL. It typically ends with /d/​abcd1234/dashboard‑name. The alphanumeric string after /d/ is the ID.
  • Dashboard Settings – Click the gear icon ► JSON Model. The top‑level "id" field shows the integer value.
  • Explore Mode – When you switch to Explore from a dashboard, the breadcrumb trail often includes the ID in a hidden tooltip.

Getting the Full URL for Sharing

There are three main ways to copy a sharing‑ready link:

1. Use the Share Button

Open the dashboard, click the Share icon (looks like a paper plane), and select Link. Grafana presents a pre‑formatted URL that already includes the ID and any time‑range parameters you’ve set.

2. Manual Construction

If you prefer to craft the link yourself, combine the base address with the ID and optional query strings:

https://your-grafana.com/d/abcd1234/dashboard-name?orgId=1&from=now-6h&to=now

Replace abcd1234 with your actual ID, and adjust orgId and time range as needed.

3. Direct JSON Export

From Settings ► JSON Model, click Copy to clipboard. The JSON includes the "uid" (a human‑readable slug) and the numeric "id". Paste it into a text editor, then pull out the "uid" to build a short link:

https://your-grafana.com/d/uid/dashboard-name

Working with API Calls

If you’re automating tasks, the API expects the numeric dashboardId field. A quick curl example:

curl -H "Authorization: Bearer $TOKEN" \

https://your-grafana.com/api/dashboards/uid/abcd1234

The response contains both the id and the uid, so you can verify you have the right dashboard before proceeding.

Dealing with Permissions

Sometimes the URL shows up, but clicking it leads to a “Permission denied” page. That usually means:

  • You’re logged into a different organization than the dashboard belongs to (check the orgId query param).
  • Your user role lacks View rights for that folder or dashboard.
  • The dashboard is hidden (marked as “private” in settings).

In those cases, ask an admin to grant at least Viewer access, or switch to the correct organization via the user menu.

Tips for Cleaner Links

  • Remove time‑range parameters if you want a generic link that always opens at the dashboard’s default view.
  • Use the UID slug (/d/uid/…) for shorter, more readable URLs, especially in documentation.
  • Enable “Snapshot” sharing when you need a static image that doesn’t require authentication.

Common Pitfalls and How to Avoid Them

Misreading the ID – The alphanumeric part after /d/ is the UID, not the numeric ID. If an API expects a number, use the JSON Model to locate the true "id".

Copying the wrong segment – When you copy a link from the browser’s address bar, you might inadvertently include a session token or extra query strings. The Share dialog strips those out, giving you a cleaner result.

Forgetting the organization – In multi‑org setups, the same UID can exist in different orgs. Always verify the orgId parameter if you see “Not found” errors.

Wrapping It Up

Finding a Grafana dashboard’s URL and ID doesn’t need to be a scavenger hunt. With the share button, a quick glance at the address bar, or a peek at the JSON model, you’ve got everything you need to share, embed, or automate. Keep these shortcuts in mind, and you’ll spend less time hunting IDs and more time getting insight from your data.

How to build advanced dashboards in Grafana
Grafana variables: what they are and how they create dynamic dashboards ...
Chapter 1: Grafana K8s Dashboard - Kubernetes Guides - Apptio
Grafana Dashboard Looking For The Perfect Dashboard: InfluxDB,

Written by Natalie Farrow

Natalie Farrow is a Chief Correspondent with over a decade of experience covering breaking trends, in-depth analysis, and exclusive insights.