• /
  • Log in
  • Free account

NerdGraph tutorial: Export dashboards as files

Do you need to schedule reports that contain charts or dashboards? Do you want to automate how you share dashboards? You can obtain your dashboards as PDF or PNG files programmatically with a GraphQL mutation.


You can also export dashboards as PDF files using the UI.

Export dashboard pages

  1. Obtain the dashboard's GUID: Click the icon by the dashboard's name to access the See metadata and manage tags modal and see the dashboard's GUID.

  2. Get the individual pages' GUIDs using the query below:

     actor {
        entitySearch(query: "parentId ='YOUR_PAGE_GUID'") {
          results {
            entities {
              ... on DashboardEntityOutline {
  3. Run the dashboardCreateSnapshotURL mutation in the NerdGraphQL explorer as many times as dashboard pages you want to export. You just need to provide the desired dashboard page GUID as a parameter.

  4. Get the link to retrieve your dashboard page as a PDF. The link looks similar to:

  1. Configure the exported file, if necessary.

Configure the file you retrieve

Edit the returned link to change the format of your export (PDF or PNG), or resize it.

For example, if you obtain the link:


You could:

  • Substitute PDF for PNG to get an image.
  • Modify the width and height fields to adjust the size to your needs. The maximum value is 2000.

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.