# Is there a way to create visualizations/dashboards automatically via API calls?

**URL:** https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379
**Category:** Kibana
**Created:** [May 19, 2021, 9:21am UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379 "2021-05-19T09:21:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)
#### Post date: [May 19, 2021, 9:21am UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379/1 "2021-05-19T09:21:19Z")

</div>

I have just started off with ELK stack , i have a bunch of data that needs to be visualized, while it is easy on doing it in the GUI, i was wondering if there a way to create visualizations /dashboards automatically via API calls ? If yes, how do we go about this ?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 20, 2021, 1:47am UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379/2 "2021-05-20T01:47:51Z")

</div>

You can do this via the [Kibana API](https://www.elastic.co/guide/en/kibana/current/saved-objects-api.html), but you'd need to build the objects to import yourself.

---

<div class="post-metadata">

### Author: ![Shreesh\_Narayanan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shreesh_narayanan/32/87312_2.png) [@Shreesh\_Narayanan](https://discuss.elastic.co/u/Shreesh_Narayanan)
#### Post date: [May 20, 2021, 7:42pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379/3 "2021-05-20T19:42:18Z")

</div>

Thanks @warkolm , could you let me know the steps to get started here . i'm new to ELK stack and hoping to know how to get this done

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 21, 2021, 6:16am UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379/4 "2021-05-21T06:16:47Z")

</div>

It's not very common to be honest. But I guess you can start by grabbing the dashboard object that you want to copy, then edit it and upload with some changes.

---

<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: [June 18, 2021, 6:17am UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-visualizations-dashboards-automatically-via-api-calls/273379/5 "2021-06-18T06:17:22Z")

</div>

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