Oracle · Schema

CostAnomalyEvent

A CostAnomalyEvent.

OracleCloudDatabaseEnterpriseInfrastructureSoftware-as-a-ServiceFortune 100

Properties

Name Type Description
compartmentId string The OCID of the compartment.
costImpact number The cost impact of the detected anomaly.
costMonitorId string The OCID of the associated cost monitor.
costMonitorName string The name of the associated cost monitor.
costVariancePercentage number The cost variance percentage of the detected anomaly.
definedTags object Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). Example: `{"Operations": {"Cost
feedbackResponse string The feedback response for the cost anomaly event.
freeformTags object Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm)
id string The OCID of the Cost Anomaly Event.
lifecycleState string The current state of the cost anomaly event.
rootCauseDetail object
systemTags object System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm). System tags can be viewed by use
targetResourceFilter object
timeAnomalyEventDate string The event date of the anomaly event.
timeCreated string The created time of the cost anomaly event.
timeUpdated string The updated time of the cost anomaly event.
View JSON Schema on GitHub

JSON Schema

oracle-cost-anomaly-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-cost-anomaly-event-schema.json",
  "title": "CostAnomalyEvent",
  "description": "A CostAnomalyEvent.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-costad-api-openapi.yml#/components/schemas/CostAnomalyEvent",
  "properties": {
    "compartmentId": {
      "description": "The OCID of the compartment.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "costImpact": {
      "description": "The cost impact of the detected anomaly.",
      "format": "double",
      "type": "number"
    },
    "costMonitorId": {
      "description": "The OCID of the associated cost monitor.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "costMonitorName": {
      "description": "The name of the associated cost monitor.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "costVariancePercentage": {
      "description": "The cost variance percentage of the detected anomaly.",
      "format": "double",
      "type": "number"
    },
    "definedTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only the String type is supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing a defined tag key and value, scoped to a namespace.\n\nExample: `{\"CostCenter\": \"42\"}`\n",
        "type": "object"
      },
      "description": "Defined tags for this resource. Each key is predefined and scoped to a\nnamespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Operations\": {\"CostCenter\": \"42\"}}`\n",
      "type": "object"
    },
    "feedbackResponse": {
      "description": "The feedback response for the cost anomaly event.",
      "enum": [
        "ACCURATE_ANOMALY",
        "EXPECTED_ANOMALY",
        "NOT_AN_ANOMALY"
      ],
      "type": "string"
    },
    "freeformTags": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Free-form tags for this resource. Each tag is a simple key-value pair with no\npredefined name, type, or namespace. For more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).\n\nExample: `{\"Department\": \"Finance\"}`\n",
      "type": "object"
    },
    "id": {
      "description": "The OCID of the Cost Anomaly Event.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "lifecycleState": {
      "description": "The current state of the cost anomaly event.",
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ],
      "type": "string"
    },
    "rootCauseDetail": {
      "$ref": "#/$defs/RootCauseDetail"
    },
    "systemTags": {
      "additionalProperties": {
        "additionalProperties": {
          "description": "The value of the tag. Only the String type is supported.\n",
          "type": "object"
        },
        "description": "Key-value pair representing a defined tag key and value, scoped to a namespace.\nExample: `{\"free-tier-retained\": \"true\"}`\n",
        "type": "object"
      },
      "description": "System tags for this resource. Each key is predefined and scoped to a namespace.\nFor more information, see [Resource Tags](/Content/General/Concepts/resourcetags.htm).\nSystem tags can be viewed by users, but can only be created by the system.\n\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`\n",
      "type": "object"
    },
    "targetResourceFilter": {
      "$ref": "#/$defs/TargetResourceFilter"
    },
    "timeAnomalyEventDate": {
      "description": "The event date of the anomaly event.",
      "format": "date-time",
      "type": "string"
    },
    "timeCreated": {
      "description": "The created time of the cost anomaly event.",
      "format": "date-time",
      "type": "string"
    },
    "timeUpdated": {
      "description": "The updated time of the cost anomaly event.",
      "format": "date-time",
      "type": "string"
    }
  },
  "required": [
    "id",
    "compartmentId",
    "costMonitorId",
    "lifecycleState",
    "costMonitorName",
    "targetResourceFilter",
    "timeAnomalyEventDate",
    "timeCreated",
    "timeUpdated"
  ],
  "$defs": {
    "Dimension": {
      "description": "The dimension used for filtering. Available dimensions are: \"service\", \"skuName\", \"skuPartNumber\", \"unit\", \"compartmentName\", \"compartmentPath\", \"compartmentId\", \"tenantName, \"tenantId\", \"platform\", \"region\", \"logicalAd\", \"resourceId\".\nFor example:\n`[{value: \"COMPUTE\", key: \"service\"}]`\n",
      "properties": {
        "key": {
          "description": "The dimension key.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "value": {
          "description": "The dimension value.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "key",
        "value"
      ],
      "type": "object"
    },
    "RootCauseDetail": {
      "description": "The root cause details of the cost anomaly event.",
      "properties": {
        "value": {
          "description": "The json object representing the root cause details of the anomaly event.",
          "type": "object"
        }
      },
      "type": "object"
    },
    "Tag": {
      "description": "The tag used for filtering.",
      "properties": {
        "key": {
          "description": "The tag key.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "namespace": {
          "description": "The tag namespace.",
          "maxLength": 255,
          "minLength": 1,
          "type": "string"
        },
        "value": {
          "description": "The tag value.",
          "maxLength": 100,
          "minLength": 1,
          "type": "string"
        }
      },
      "type": "object"
    },
    "TargetResourceFilter": {
      "description": "The filter object to target resources for cost monitor. \nCost generated by one or more resources identified by this \nfilter is monitored for anomalous deviations.\n",
      "properties": {
        "dimensions": {
          "description": "The dimensions to filter on.",
          "items": {
            "$ref": "#/$defs/Dimension"
          },
          "maxItems": 100,
          "type": "array"
        },
        "filters": {
          "description": "The nested filter object.",
          "items": {
            "$ref": "#/$defs/TargetResourceFilter"
          },
          "maxItems": 100,
          "type": "array"
        },
        "operator": {
          "description": "The filter operator. Example: 'AND', 'OR', 'NOT'.",
          "enum": [
            "AND",
            "NOT",
            "OR"
          ],
          "type": "string"
        },
        "tags": {
          "description": "The tags to filter on.",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "maxItems": 100,
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}

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/oracle-cost-anomaly-event"
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. 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.