Oracle · Schema

CreateCostAnomalyMonitorDetails

The create CostAnomalyMonitor details. The clients should pass ocid of the compartmentId for the monitor resource to be created. tenantIdFilter and resourceFilter targets resources to monitor in a given tenancy.

OracleCloudDatabaseEnterpriseInfrastructureSoftware-as-a-ServiceFortune 100

Properties

Name Type Description
compartmentId string The OCID of the compartment.
costAlertSubscriptionMap object
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
description string The description of the cost anomaly monitor.
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)
name string The name of the cost anomaly monitor. Avoid entering confidential information.
targetResourceFilter object
View JSON Schema on GitHub

JSON Schema

oracle-create-cost-anomaly-monitor-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-create-cost-anomaly-monitor-details-schema.json",
  "title": "CreateCostAnomalyMonitorDetails",
  "description": "The create CostAnomalyMonitor details.\nThe clients should pass ocid of the compartmentId for the monitor resource to be created. tenantIdFilter and resourceFilter\ntargets resources to monitor in a given tenancy.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-costad-api-openapi.yml#/components/schemas/CreateCostAnomalyMonitorDetails",
  "properties": {
    "compartmentId": {
      "description": "The OCID of the compartment.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "costAlertSubscriptionMap": {
      "$ref": "#/$defs/CostAlertSubscriptionMap"
    },
    "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"
    },
    "description": {
      "description": "The description of the cost anomaly monitor.",
      "maxLength": 255,
      "minLength": 1,
      "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"
    },
    "name": {
      "description": "The name of the cost anomaly monitor. Avoid entering confidential information.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "targetResourceFilter": {
      "$ref": "#/$defs/TargetResourceFilter"
    }
  },
  "required": [
    "compartmentId",
    "name",
    "targetResourceFilter"
  ],
  "$defs": {
    "CostAlertSubscriptionMap": {
      "description": "The mapping of cost monitor to alert subscription along with thresholds.",
      "properties": {
        "costAlertSubscriptionId": {
          "description": "The costAlertSubscription ocid which the cost monitor alert maps to.",
          "type": "string"
        },
        "operator": {
          "description": "The filter operator. Example: 'AND', 'OR', 'NOT'.",
          "enum": [
            "AND",
            "NOT",
            "OR"
          ],
          "type": "string"
        },
        "thresholdAbsoluteValue": {
          "description": "The absolute threshold value.",
          "minimum": 0,
          "type": "integer"
        },
        "thresholdRelativePercent": {
          "description": "The relative percentage threshold value.",
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    },
    "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"
    },
    "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-create-cost-anomaly-monitor-details"
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.