code: def _get(url, profile):
      '''Get a specific dashboard.'''
      request_url = "{0}/api/dashboards/{1}".format(profile.get('grafana_url'),
                                                    url)
      response = requests.get(
          request_url,
          headers={
              "Accept": "application/json",
              "Authorization": "Bearer {0}".format(profile.get('grafana_token'))
          },
          timeout=profile.get('grafana_timeout', 3),
      )
      data = response.json()
      if data.get('message') == 'Not found':
          return None
      if 'dashboard' not in data:
          return None
      return data['dashboard'f _get(url, profile):
      '''Get a specific dashboard.'''
      request_url = "{0}/api/dashboards/{1}".format(profile.get('grafana_url'),
                                                    url)
      response = requests.get(
          request_url,
          headers={
              "Accept": "application/json",
              "Authorization": "Bearer {0}".format(profile.get('grafana_token'))
          },
          timeout=profile.get('grafana_timeout', 3),
      )
      data = response.json()
      if data.get('message') == 'Not found':
          return None
      if 'dashboard' not in data:
          return None
      return data['dashboard']
docs: Get a specific dashboard.