scripted dashboards cannot be fetched by id, but by the script file name. Scripted dashboards is a legacy feature that is poorly documented and supported. We do not recommend it’s use, please generate dashboards using https://github.com/grafana/grafonnet-lib and import using api instead