# Is there an API to return Anomaly Detection Job results? (Not a Rule)

**URL:** <https://discuss.elastic.co/t/is-there-an-api-to-return-anomaly-detection-job-results-not-a-rule/338599>\
**Category:** Kibana\
**Created:** [July 17, 2023, 5:53pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-return-anomaly-detection-job-results-not-a-rule/338599 "2023-07-17T17:53:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![McJava1967](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@McJava1967](https://discuss.elastic.co/u/McJava1967)\
**Post date:** [July 17, 2023, 5:53pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-return-anomaly-detection-job-results-not-a-rule/338599/1 "2023-07-17T17:53:25Z")

</div>

Hi all. Is there an API (or some way) to programmatically return the results displayed on this page?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/9/09845d90cff7e9ebb8b92d6b4338c2ad7f8f177d.png)

I can do without the chart. I just need some way to know there's some score over 90, for instance. I know about Anomaly Detection Rules, but have been completely unable to get them to ever create an alert after three days of trying.

Thanks!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [July 17, 2023, 6:10pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-return-anomaly-detection-job-results-not-a-rule/338599/2 "2023-07-17T18:10:12Z")

</div>

Hi @McJava1967

Did you look at

> **[Get records API | Elasticsearch Guide \[8.8\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html)**

---

<div class="post-metadata">

**Author:** ![McJava1967](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@McJava1967](https://discuss.elastic.co/u/McJava1967)\
**Post date:** [July 17, 2023, 6:24pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-return-anomaly-detection-job-results-not-a-rule/338599/3 "2023-07-17T18:24:29Z")

</div>

Dude! You are my HERO!!!

Have some CAKE: 🍰

I've been reading the API docs, but hadn't found that one yet. THANK YOU!!!

---

<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:** [August 14, 2023, 6:25pm UTC](https://discuss.elastic.co/t/is-there-an-api-to-return-anomaly-detection-job-results-not-a-rule/338599/4 "2023-08-14T18:25:17Z")

</div>

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