AWS CloudWatch · Schema

GetMetricDataInput

AlarmsDashboardsLogsMetricsMonitoringObservability

Properties

Name Type Description
MetricDataQueries array The metric queries to be returned. A single GetMetricData call can include as many as 500 MetricDataQuery structures.
StartTime string The time stamp indicating the earliest data to be returned.
EndTime string The time stamp indicating the latest data to be returned.
NextToken string Include this value if it was returned by the previous GetMetricData operation.
ScanBy string The order in which data points should be returned.
MaxDatapoints integer The maximum number of data points the request should return before paginating.
LabelOptions object
View JSON Schema on GitHub

JSON Schema

cloudwatch-getmetricdatainput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetMetricDataInput",
  "title": "GetMetricDataInput",
  "type": "object",
  "required": [
    "MetricDataQueries",
    "StartTime",
    "EndTime"
  ],
  "properties": {
    "MetricDataQueries": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/MetricDataQuery"
      },
      "description": "The metric queries to be returned. A single GetMetricData call can include as many as 500 MetricDataQuery structures.",
      "example": []
    },
    "StartTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time stamp indicating the earliest data to be returned.",
      "example": "2026-01-15T10:30:00Z"
    },
    "EndTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time stamp indicating the latest data to be returned.",
      "example": "2026-01-15T10:30:00Z"
    },
    "NextToken": {
      "type": "string",
      "description": "Include this value if it was returned by the previous GetMetricData operation.",
      "example": "example_value"
    },
    "ScanBy": {
      "type": "string",
      "enum": [
        "TimestampDescending",
        "TimestampAscending"
      ],
      "description": "The order in which data points should be returned.",
      "example": "TimestampDescending"
    },
    "MaxDatapoints": {
      "type": "integer",
      "description": "The maximum number of data points the request should return before paginating.",
      "example": 10
    },
    "LabelOptions": {
      "type": "object",
      "properties": {
        "Timezone": {
          "type": "string",
          "description": "The time zone to use for metric data return."
        }
      },
      "example": "example_value"
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/cloudwatch-getmetricdatainput"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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