# Amazon Lookout for Metrics API

> Amazon Lookout for Metrics API on Apizie: 30 endpoints (Activates an anomaly detector., Runs a backtest for anomaly detection for the specified resource., Creates an alert for an anomaly detector., Creates an anomaly detector., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:amazonaws-lookoutmetrics`
- Category: Cloud
- Status: byok
- Source: https://github.com/mermade/aws2openapi
- Page: https://zieapi.vercel.app/api/cloud/amazonaws-lookoutmetrics
- OpenAPI: https://zieapi.vercel.app/api/cloud/amazonaws-lookoutmetrics/openapi.json

This is the Amazon Lookout for Metrics API Reference . For an introduction to the service with tutorials for getting started, visit Amazon Lookout for Metrics Developer Guide .

## Endpoints

### Activates an anomaly detector.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/activate-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Runs a backtest for anomaly detection for the specified resource.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/back-test-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Creates an alert for an anomaly detector.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/create-alert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Creates an anomaly detector.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/create-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Creates a dataset.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/create-metric-set` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Deactivates an anomaly detector.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/deactivate-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Deletes an alert.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/delete-alert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/delete-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Describes an alert. Amazon Lookout for Metrics API actions are eventually consistent. If you do a read…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/describe-alert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Returns information about the status of the specified anomaly detection jobs.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/describe-anomaly-detection-executions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Describes a detector. Amazon Lookout for Metrics API actions are eventually consistent. If you do a read…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/describe-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Describes a dataset. Amazon Lookout for Metrics API actions are eventually consistent. If you do a read…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/describe-metric-set` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Detects an Amazon S3 dataset's file format, interval, and offset.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/detect-metric-set-config` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Returns details about a group of anomalous metrics.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/get-anomaly-group` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Returns details about the requested data quality metrics.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/get-data-quality-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Get feedback for an anomaly group.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/get-feedback` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Returns a selection of sample records from an Amazon S3 datasource.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/get-sample-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Lists the alerts attached to a detector. Amazon Lookout for Metrics API actions are eventually consistent.…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-alerts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Lists the detectors in the current AWS Region. Amazon Lookout for Metrics API actions are eventually…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-anomaly-detectors` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Returns a list of measures that are potential causes or effects of an anomaly group.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-anomaly-group-related-metrics` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Returns a list of anomaly groups.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-anomaly-group-summaries` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Gets a list of anomalous metrics for a measure in an anomaly group.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-anomaly-group-time-series` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Lists the datasets in the current AWS Region. Amazon Lookout for Metrics API actions are eventually…
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-metric-sets` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| MaxResults | string | no | Pagination limit |
| NextToken | string | no | Pagination token |
| body | object | yes | JSON request body |

### Gets a list of tags for a detector, dataset, or alert.
`GET https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/list-tags-for-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The resource's Amazon Resource Name (ARN). |

### Adds tags to a detector, dataset, or alert.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/tag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The resource's Amazon Resource Name (ARN). |
| body | object | yes | JSON request body |

### Add feedback for an anomalous metric.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/put-feedback` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Removes tags from a detector, dataset, or alert.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/untag-resource` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| resourceArn | string | yes | The resource's Amazon Resource Name (ARN). |
| tagKeys | array | yes | Keys to remove from the resource's tags. |

### Make changes to an existing alert.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/update-alert` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Updates a detector. After activation, you can only change a detector's ingestion delay and description.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/update-anomaly-detector` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

### Updates a dataset.
`POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/update-metric-set` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| region | string | no | The AWS region |
| body | object | yes | JSON request body |

## Example
```
curl "https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/activate-anomaly-detector" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Amazon Lookout for Metrics API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/cloud:amazonaws-lookoutmetrics/activate-anomaly-detector with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Amazon Lookout for Metrics API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Amazon Lookout for Metrics itself also needs your own key from amazonaws.com.

### Can AI agents use the Amazon Lookout for Metrics API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:amazonaws-lookoutmetrics.

### What is the status of the Amazon Lookout for Metrics API?
Needs your own provider key (bring your own key)
