Amazon CloudWatch Metrics API

Operations for publishing, retrieving, and listing CloudWatch metrics

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Observability Management BC-4220.20

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#ListMetrics List CloudWatch metrics · List Metrics #
Ask an LLM
“Which metrics are available in a CloudWatch namespace?”
“Can I list only metrics that have been active recently?”
Tell an agent
List metrics in namespace {namespace}.
List metrics in {namespace} with dimensions {dimensions}.
POST /rummetrics/{AppMonitorName}/metrics Send RUM metrics to a destination · Batch Create Rum Metric Definitions #
Ask an LLM
“How do I send extended RUM metrics to Evidently?”
“Can I send custom metrics from my RUM app monitor to CloudWatch?”
Tell an agent
Send RUM metric definitions {definitions} from monitor {monitor} to {destination}.
Send RUM metrics {definitions} from {monitor} to {destination} with ARN {arn}.
DELETE /rummetrics/{AppMonitorName}/metrics Stop sending RUM metrics to a destination · Batch Delete Rum Metric Definitions #
Ask an LLM
“How do I stop a RUM app monitor from sending certain metrics to Evidently?”
“Can I remove several RUM metric definitions in one call?”
Tell an agent destructive · confirm first
Delete RUM metric definitions {ids} from monitor {monitor} to {destination}.
Stop sending RUM metrics {ids} from {monitor} to {destination} with ARN {arn}.
GET /rummetrics/{AppMonitorName}/metrics Get RUM app monitor metrics · Batch Get Rum Metric Definitions #
Ask an LLM
“What metrics is my RUM app monitor sending to a destination?”
“Can I see the dimensions of RUM metrics sent to Evidently?”
Tell an agent
Get the RUM metric definitions for monitor {monitor} to {destination}.
Show RUM metrics for {monitor} sent to {destination} with ARN {arn}.
PATCH /rummetrics/{AppMonitorName}/metrics Update a RUM metric definition · Update Rum Metric Definition #
Ask an LLM
“How do I change the dimensions of an existing RUM metric?”
“Can I edit one extended RUM metric definition?”
Tell an agent
Update RUM metric definition {id} on monitor {monitor} to {destination}.
Change RUM metric {id} on {monitor} to {destination} with ARN {arn}.
POST /#GetMetricData Get aggregated metric data · Get Metric Data #
Ask an LLM
“How do I get aggregated metric values over a time range?”
“Can I run a Metrics Insights query and get metric data back?”
Tell an agent
Get metric data for queries {queries} from {start} to {end}.
Run Metrics Insights query {queries} and return data points for {start} to {end}.
POST /#PutMetricData Publish custom metric data · Put Metric Data #
Ask an LLM
“How do I publish custom metric data to CloudWatch?”
“Can I send entity data along with my custom metrics?”
Tell an agent
Publish metric data {data} to namespace {namespace}.
Send entity metric data {data} to {namespace} with strict validation {strict}.
POST /#GetMetricStatistics Get statistics for a metric · Get Metric Statistics #
Ask an LLM
“What is the average value of a metric over a period?”
“Can I get percentiles for a metric?”
Tell an agent
Get statistics {statistics} for {metric} in {namespace} from {start} to {end} with period {period}.
Get percentiles {percentiles} for {metric} in {namespace} with dimensions {dimensions}, period {period}, from {start} to {end}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-cloudwatch:amazon-cloudwatch-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-cloudwatch-metrics-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CloudWatch Metrics API
  version: '2010-08-01'
  description: Generated from AWS's published Smithy model for Amazon CloudWatch. 8 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://monitoring.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (65 KB total) ---
# Full source: https://artifacts.apis.io/amazon-cloudwatch/openapi/amazon-cloudwatch-metrics-api-openapi.yml