# Download reports by curl

**URL:** <https://discuss.elastic.co/t/download-reports-by-curl/306912>\
**Category:** Kibana\
**Created:** [June 10, 2022, 7:41pm UTC](https://discuss.elastic.co/t/download-reports-by-curl/306912 "2022-06-10T19:41:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PascalThalmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pascalthalmann/32/101672_2.png) [@PascalThalmann](https://discuss.elastic.co/u/PascalThalmann)\
**Post date:** [June 10, 2022, 7:41pm UTC](https://discuss.elastic.co/t/download-reports-by-curl/306912/1 "2022-06-10T19:41:33Z")

</div>

Hi,  
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.

 ![download_image](https://us1.discourse-cdn.com/elastic/original/3X/a/c/acfea7b6a6dd6db75d8a479ac27aae06d9f14198.png)

---

<div class="post-metadata">

**Author:** ![LizaD](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lizad/32/51074_2.png) [@LizaD](https://discuss.elastic.co/u/LizaD)\
**Post date:** [June 10, 2022, 11:15pm UTC](https://discuss.elastic.co/t/download-reports-by-curl/306912/2 "2022-06-10T23:15:53Z")

</div>

Hi @PascalThalmann you can use POST URL to get the URL. Please see the following documentation for reporting API:

> **[Automatically generate reports | Kibana Guide \[8.2\] | Elastic](https://www.elastic.co/guide/en/kibana/current/automating-report-generation.html)**
>
> Kibana provides you with several options to share \*Discover\* saved searches, dashboards, \*Visualize Library\* visualizations, and \*Canvas\* workpads with others, or on a website.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 8, 2022, 11:16pm UTC](https://discuss.elastic.co/t/download-reports-by-curl/306912/3 "2022-07-08T23:16:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
