---
title: "POST /BackTestAnomalyDetector"
method: POST
path: "/BackTestAnomalyDetector"
---

# POST /BackTestAnomalyDetector

`POST /BackTestAnomalyDetector`

Runs a backtest for anomaly detection for the specified resource.

## Request body

- object
  - `AnomalyDetectorArn` string, required — The Amazon Resource Name (ARN) of the anomaly detector.

## Response `200`

Success

- BackTestAnomalyDetectorResponse

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — TooManyRequestsException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/lookoutmetrics.md) · [All operations](https://skmtc.net/aws/apis/lookoutmetrics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/lookoutmetrics/versions/aace1e573660/schema)
