Dashboard rendering

Hi,

I’m trying to use image-renderer to render PNGs from Grafana via API requests. I can successfully render a single panel via curl with URL like this (parametrized):
$GRAFANA_URL/render/d-solo/$DASHBOARD_UID?panelId=${panel}&orgId=1&from=${from_time}&to=${to_time}
However I’m wondering if it is possible to render the whole dashboard insetad of multiple panels? I found some notes in the Internet that using a modified URL would make this happen:
$GRAFANA_URL/render/d/$DASHBOARD_UID?orgId=1&from=${from_time}&to=${to_time}&width=$WIDTH&height=$HEIGHT
but it doesn’t work for me i.e. renders a PNG file with a page containing “Page not found”
I’m using Grafana 10.4.8