# Is there a REST API for Kibana?

**URL:** <https://discuss.elastic.co/t/is-there-a-rest-api-for-kibana/101834>\
**Category:** Kibana\
**Created:** [September 26, 2017, 10:51am UTC](https://discuss.elastic.co/t/is-there-a-rest-api-for-kibana/101834 "2017-09-26T10:51:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Grannell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_grannell/32/41712_2.png) [@Ryan\_Grannell](https://discuss.elastic.co/u/Ryan_Grannell)\
**Post date:** [September 26, 2017, 10:51am UTC](https://discuss.elastic.co/t/is-there-a-rest-api-for-kibana/101834/1 "2017-09-26T10:51:06Z")

</div>

Hi,

Is there any plan to implement a REST API for configuring Kibana? Or does a REST API currently exist?

We find Kibana useful, but we don't use it that much due to the upkeep effort of click-based configuration. Ideally we could configure dashboards and graphs through a REST API, such as the (slightly hokey) example below.

```auto
POST /kibana/dashboard/my_new_dashboard

POST /kibana/dashboard/my_new_dashboard/my_graph

{
  "type": "histogram",
  "x": { 
     ...
  },
  "y": {
     ...
   }
}

POST /kibana/layout/my_new_dashboard
{
 ...
}

```

This would help us dynamically generate graphs, keep our configuration in source-control, and support our different ElasticCloud clusters (dev / pre / prod). I'm aware that the .kibana index can be copied between servers, but unfortunately this stop-gap isn't that helpful to us.

Regards,  
Ryan

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [September 26, 2017, 9:22pm UTC](https://discuss.elastic.co/t/is-there-a-rest-api-for-kibana/101834/2 "2017-09-26T21:22:19Z")

</div>

There's a newer API that was added in 5.5 for doing this. It isn't in the docs yet, but I expect it will be closer to the release of 6.0. The pull request is probably the best source of information on it currently: [https://github.com/elastic/kibana/pull/10858](https://github.com/elastic/kibana/pull/10858)

---

<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:** [October 24, 2017, 9:22pm UTC](https://discuss.elastic.co/t/is-there-a-rest-api-for-kibana/101834/3 "2017-10-24T21:22:35Z")

</div>

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