• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

NerdGraph tutorial: Export dashboards as files

You can export your as PDF or PNG files programmatically using the NerdGraph dashboardCreateSnapshotUrl mutation. You can also export dashboards using the UI.

For full documentation of the mutation, all available parameters, and examples — including variable overrides, custom dimensions, and per-widget chart image export — see Export dashboards and charts via NerdGraph API.

Troubleshooting

Here's what to do if you experience any of the following errors while trying to export a dashboard:

  • From New Relic UI: We ran into an error while creating the PDF. Please try again

  • From New Relic NerdGraph: Operation on dashboard entity failed with guid:YOUR_GUID with cause: Error 504: upstream request timeout

These errors can occur if the export exceeds the API max response time. Check if any widgets on your dashboard use a large time window — for example, comparing data across an entire month. If so, try reducing the time window.

Another possible cause is a dashboard with a large number of widgets. Try removing unused widgets to see if this resolves the error.

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.