Amazon Billing And Cost Management · Schema
GetAnomaliesResponse
BillingCost ManagementCost ExplorerBudgetsCost OptimizationFinOpsAmazon Web Services
Properties
| Name | Type | Description |
|---|---|---|
| Anomalies | array | A list of cost anomalies. |
| NextPageToken | string | The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-get-anomalies-response-schema.json",
"title": "GetAnomaliesResponse",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-billing-and-cost-management-anomaly-detection-api-openapi.yml#/components/schemas/GetAnomaliesResponse",
"type": "object",
"properties": {
"Anomalies": {
"type": "array",
"items": {
"$ref": "#/$defs/Anomaly"
},
"description": "A list of cost anomalies."
},
"NextPageToken": {
"type": "string",
"description": "The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size."
}
},
"required": [
"Anomalies"
],
"$defs": {
"Anomaly": {
"type": "object",
"properties": {
"AnomalyId": {
"type": "string",
"description": "The unique identifier for the anomaly."
},
"AnomalyStartDate": {
"type": "string",
"description": "The first day the anomaly is detected."
},
"AnomalyEndDate": {
"type": "string",
"description": "The last day the anomaly is detected."
},
"DimensionValue": {
"type": "string",
"description": "The dimension for the anomaly (for example, an Amazon Web Services service in a service monitor)."
},
"RootCauses": {
"type": "array",
"items": {
"$ref": "#/$defs/RootCause"
},
"description": "The list of identified root causes for the anomaly."
},
"AnomalyScore": {
"$ref": "#/$defs/AnomalyScore"
},
"Impact": {
"$ref": "#/$defs/Impact"
},
"MonitorArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly."
},
"Feedback": {
"type": "string",
"enum": [
"YES",
"NO",
"PLANNED_ACTIVITY"
],
"description": "The feedback value."
}
},
"required": [
"AnomalyId",
"AnomalyScore",
"Impact",
"MonitorArn"
]
},
"AnomalyScore": {
"type": "object",
"properties": {
"MaxScore": {
"type": "number",
"description": "The maximum score that's observed during the AnomalyDateInterval."
},
"CurrentScore": {
"type": "number",
"description": "The last observed score."
}
},
"required": [
"MaxScore",
"CurrentScore"
]
},
"Impact": {
"type": "object",
"properties": {
"MaxImpact": {
"type": "number",
"description": "The maximum dollar value that's observed for an anomaly."
},
"TotalImpact": {
"type": "number",
"description": "The cumulative dollar difference between the total actual spend and total expected spend. It is calculated as TotalActualSpend - TotalExpectedSpend."
},
"TotalActualSpend": {
"type": "number",
"description": "The cumulative dollar amount that was actually spent during the anomaly."
},
"TotalExpectedSpend": {
"type": "number",
"description": "The cumulative dollar amount that was expected to be spent during the anomaly. It is calculated using advanced machine learning models to determine the typical spending pattern based on historical data for a customer."
},
"TotalImpactPercentage": {
"type": "number",
"description": "The cumulative percentage difference between the total actual spend and total expected spend. It is calculated as (TotalImpact / TotalExpectedSpend) * 100. When TotalExpectedSpend is zero, this field is omitted. Expected spend can be zero in situations such as when you start to use a service for the first time."
}
},
"required": [
"MaxImpact"
]
},
"RootCause": {
"type": "object",
"properties": {
"Service": {
"type": "string",
"description": "The Amazon Web Services service name that's associated with the cost anomaly."
},
"Region": {
"type": "string",
"description": "The Amazon Web Services Region that's associated with the cost anomaly."
},
"LinkedAccount": {
"type": "string",
"description": "The member account value that's associated with the cost anomaly."
},
"LinkedAccountName": {
"type": "string",
"description": "The member account name value that's associated with the cost anomaly."
},
"UsageType": {
"type": "string",
"description": "The UsageType value that's associated with the cost anomaly."
},
"Impact": {
"$ref": "#/$defs/RootCauseImpact"
}
}
},
"RootCauseImpact": {
"type": "object",
"properties": {
"Contribution": {
"type": "number",
"description": "The dollar amount that this root cause contributed to the anomaly's TotalImpact."
}
},
"required": [
"Contribution"
]
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-billing-and-cost-management-get-anomalies-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.