# How to Export Kubernetes OOTB Metric Thresholds for Anomaly Detection

**URL:** <https://community.dynatrace.com/t/how-to-export-kubernetes-ootb-metric-thresholds-for-anomaly-detection/53559>\
**Category:** Alerting\
**Tags:** dynatrace-managed, threshold, anomaly-detection, kubernetes, dynatrace-api\
**Created:** [September 29, 2025, 8:14pm UTC](https://community.dynatrace.com/t/how-to-export-kubernetes-ootb-metric-thresholds-for-anomaly-detection/53559 "2025-09-29T20:14:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![djmnyc](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@djmnyc](https://community.dynatrace.com/u/djmnyc)\
**Post date:** [September 29, 2025, 8:14pm UTC](https://community.dynatrace.com/t/how-to-export-kubernetes-ootb-metric-thresholds-for-anomaly-detection/53559/1 "2025-09-29T20:14:22Z")

</div>

Good afternoon.

I have been asked what all the existing Kubernetes metrics and their thresholds are for anomaly detection.&nbsp; These are all OOTB thresholds.

How can I export all of these existing anomaly detection metric thresholds?

I know how to pull each one up manually under Settings/Anomaly Detection/Kubernetes, but I am assuming there is an API call that would allow me to export these for a much quicker review with my DevOps team?

I reviewed the different APIs that I have access to, but I could not find anything.&nbsp; Nor could CoPilot or Google searches direct me to an answer here.

Thank you for your assistance.

---

<div class="post-metadata">

**Author:** ![p\_devulapalli](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/p_devulapalli/32/41590_2.png) [@p\_devulapalli](https://community.dynatrace.com/u/p_devulapalli)\
**Post date:** [September 29, 2025, 11:36pm UTC](https://community.dynatrace.com/t/how-to-export-kubernetes-ootb-metric-thresholds-for-anomaly-detection/53559/2 "2025-09-29T23:36:39Z")

</div>

[@djmnyc](https://community.dynatrace.com/user/84138)&nbsp;Below API should get the details you are after , include the schemaIds

> **[Settings API - GET effective values](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/get-effective-values)**
>
> View an actual configuration for a settings schema via the Dynatrace API.

```markup
curl -X 'GET' \
  'https://DT_URL/api/v2/settings/effectiveValues?schemaIds=builtin%3Aanomaly-detection.kubernetes.node%2Cbuiltin%3Aanomaly-detection.kubernetes.cluster%2Cbuiltin%3Aanomaly-detection.kubernetes.namespace%2Cbuiltin%3Aanomaly-detection.kubernetes.workload%2Cbuiltin%3Aanomaly-detection.kubernetes.pvc&scope=environment&fields=origin%2Cvalue&adminAccess=false' \
  -H 'accept: application/json; charset=utf-8' \
  -H 'Authorization: Api-Token dt0c01.XXXX'

```
