---
title: "Get dashboard by uid."
method: GET
path: "/dashboards/uid/{uid}"
tags: ["dashboards"]
deprecated: true
---

# Get dashboard by uid.

`GET /dashboards/uid/{uid}`

## Request

- Base URL: `/api` (relative, and the document’s source URL is not known)
- URL: `/api/dashboards/uid/{uid}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

> **Deprecated.**

Optional query parameter `apiVersion` selects the Kubernetes API version used to load the dashboard first
(for example `v1beta1`). If that request fails, the default version is used instead. When omitted, only the default is used.

Will return the dashboard given the dashboard unique identifier (uid).

Use: /apis/dashboard.grafana.app/v1/namespaces/{ns}/dashboards/{uid}

## Path parameters

- `uid` string, required

## Response `200`

(empty)

- DashboardFullWithMeta
  - `dashboard` Json
  - `meta` DashboardMeta
    - `annotationsPermissions` AnnotationPermission: +k8s:deepcopy-gen=true
      - `dashboard` AnnotationActions: +k8s:deepcopy-gen=true
        - `canAdd` boolean
        - `canDelete` boolean
        - `canEdit` boolean
    - `apiVersion` string
    - `canAdmin` boolean
    - `canDelete` boolean
    - `canEdit` boolean
    - `canSave` boolean
    - `canStar` boolean
    - `created` string, date-time
    - `createdBy` string
    - `expires` string, date-time
    - `folderId` integer: Deprecated: use FolderUID instead
    - `folderTitle` string
    - `folderUid` string
    - `folderUrl` string
    - `hasAcl` boolean
    - `isFolder` boolean
    - `isSnapshot` boolean
    - `provisioned` boolean
    - `provisionedExternalId` string
    - `publicDashboardEnabled` boolean
    - `slug` string
    - `type` string
    - `updated` string, date-time
    - `updatedBy` string
    - `url` string
    - `version` integer

## Other responses

- `401`: UnauthorizedError is returned when the request is not authenticated.
- `403`: ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.
- `404`: NotFoundError is returned when the requested resource was not found.
- `406`: NotAcceptableError is returned when the server cannot produce a response matching the accepted formats.
- `500`: InternalServerError is a general error indicating something went wrong internally.

---

[API](https://skmtc.dev/grafana/apis/grafana-http-api.md) - [All operations](https://skmtc.dev/grafana/apis/grafana-http-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grafana/apis/grafana-http-api/revisions/df55ba1718ba?raw)
