Skip to main content
Folders provide a hierarchical structure for organizing dashboards, library panels, and other resources. They also serve as the primary mechanism for managing access permissions.

What are Folders?

Folders in Grafana organize resources and control access:
  • Hierarchical organization: Group related dashboards together
  • Permission boundary: Control who can view, edit, or admin resources
  • Search scope: Filter searches by folder
  • Resource container: Store dashboards, library panels, alert rules
Folders can contain sub-folders, creating a tree structure for complex organizations.

Creating Folders

Via the UI

  1. Navigate to Dashboards
  2. Click NewNew folder
  3. Enter a folder name
  4. Optionally set a parent folder (for sub-folders)
  5. Configure initial permissions
  6. Click Create

Via the API

TypeScript Interface

Managing Folders

Get Folder Information

Update Folder

Update folder title, description, or parent:

Delete Folder

Deleting a folder also deletes its contents:
Deleting a folder removes all dashboards, library panels, and alert rules it contains. This action cannot be undone.
Before deleting, check folder contents:

Folder Counts Interface

Moving Dashboards Between Folders

Move Single Dashboard

Update the dashboard’s folderUid property:

Move Multiple Dashboards

Folder Permissions

Folders are the primary unit for permission management in Grafana.

Permission Levels

  • View: Read-only access to dashboards and library panels
  • Edit: Create and modify dashboards and library panels
  • Admin: Manage folder settings, permissions, and deletion

Permission Inheritance

Resources inherit permissions from their folder:
  • Dashboards in a folder inherit the folder’s permissions
  • Library panels inherit permissions from their folder
  • Alert rules inherit permissions from their folder
  • Sub-folders inherit default permissions (can be overridden)
Users need at least View permission on a folder to see dashboards within it.

Setting Permissions

Permissions can be assigned to:
  • Users: Individual user accounts
  • Teams: Groups of users
  • Roles: Organization roles (Viewer, Editor, Admin)
Via UI:
  1. Go to folder settings
  2. Navigate to Permissions tab
  3. Add users, teams, or roles
  4. Set permission level
  5. Save changes
Via API:
Permission values:
  • 1: View
  • 2: Edit
  • 4: Admin

Default Permissions

New folders inherit default organization permissions:
  • Viewers role: View permission
  • Editors role: Edit permission
  • Admins role: Admin permission
You can override these defaults when creating or updating folders.

Folder Hierarchy

Parent-Child Relationships

Folders can be nested to create hierarchies:
Breadcrumbs show the folder path:

Moving Folders

Change a folder’s parent by updating its parent field:

Searching Within Folders

Filter search results by folder:

Search API

Virtual Folders

Grafana provides special virtual folders:
  • General: Default folder for dashboards without a folder
  • Recent: Recently viewed dashboards
  • Starred: User-starred dashboards
These cannot be deleted or have permissions modified.

API Reference Summary

Best Practices

Structure folders to match your organization:
This makes ownership and access control clear.
  • Avoid generic names like Folder 1 or Test
  • Include scope: API Production Dashboards
  • Be consistent across similar folders
Rather than setting permissions on individual dashboards:
  1. Create folders with appropriate permissions
  2. Place dashboards in correctly-permissioned folders
  3. Use teams for group-based access control
This is easier to maintain than per-dashboard permissions.
While Grafana supports deep hierarchies, keep it simple:
  • Good: 2-3 levels (Team → Environment → Service)
  • Too deep: 5+ levels become hard to navigate
  • Use dashboard tags for additional categorization
Use the description field to explain:
  • What dashboards belong here
  • Who owns this folder
  • Any special access considerations
This helps teams navigate large Grafana instances.
Always check folder contents before deleting:

Dashboards

Create and manage dashboards within folders

Library Panels

Store reusable panels in folders

Permissions

Detailed permission model documentation

Teams

Manage team-based folder access