# Use timelion query/function outside of kibana?

**URL:** https://discuss.elastic.co/t/use-timelion-query-function-outside-of-kibana/75426
**Category:** Kibana
**Tags:** timelion
**Created:** [February 17, 2017, 2:19am UTC](https://discuss.elastic.co/t/use-timelion-query-function-outside-of-kibana/75426 "2017-02-17T02:19:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ggp](https://avatars.discourse-cdn.com/v4/letter/g/278dde/32.png) [@ggp](https://discuss.elastic.co/u/ggp)
#### Post date: [February 17, 2017, 2:19am UTC](https://discuss.elastic.co/t/use-timelion-query-function-outside-of-kibana/75426/1 "2017-02-17T02:19:42Z")

</div>

we have a built a custom UI using elastic search API's , is there a way we can use timelion query/function like elastic search API's ?

---

<div class="post-metadata">

### Author: ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)
#### Post date: [February 20, 2017, 10:35am UTC](https://discuss.elastic.co/t/use-timelion-query-function-outside-of-kibana/75426/2 "2017-02-20T10:35:53Z")

</div>

Hi @ggp,

there is no public API to access Timelion's computation results, but you can try to inspect the requests the browser makes to the endpoint at `/api/timelion/run` when you're viewing timelion sheets in Kibana. You should be able to execute equivalent requests from other scripts or applications if you preserve the `kbn-version` header.

**Please keep in mind that this is not a documented API which can change without notice in any update.**

---

<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: [March 20, 2017, 10:35am UTC](https://discuss.elastic.co/t/use-timelion-query-function-outside-of-kibana/75426/3 "2017-03-20T10:35:55Z")

</div>

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