get_dashboard_by_uid
Retrieve a complete Grafana dashboard with all panels, variables, and settings using the dashboard's unique identifier (UID).
Instructions
Retrieves the complete dashboard, including panels, variables, and settings, for a specific dashboard identified by its UID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The UID of the dashboard |
Implementation Reference
- src/clients/grafana-client.ts:65-72 (helper)GrafanaClient helper method that performs the actual API call to retrieve the dashboard by UID from Grafana.
async getDashboardByUid(uid: string): Promise<Dashboard> { try { const response = await this.client.get(`/api/dashboards/uid/${uid}`); return response.data.dashboard; } catch (error) { this.handleError(error); } }