I have an Elastic Cloud deployment and would like to download saved reports with curl and an API key. I tried curl and wget, but I don't know how to get the right URL of the report. When I download the image manually all looks fine, but when I try to download it by curl, i only get html code. I am also wondering how to read from Kibana what reports are saved (this would be to find out if something new is stored and ready for download)
Help is very apreciated.