AnomalyArmor · Schema

CreateCustomSqlMonitorRequest

Request to create a custom SQL monitor.

Data ObservabilityData QualityMonitoringAnomaly DetectionSoftware-as-a-Service

Properties

Name Type Description
name string Human-readable name for this monitor
description object Optional description of what this monitor checks
sql_query string SELECT query that returns a single numeric value
table_path string Primary table being monitored (for asset association)
upper_bound object Alert if value exceeds this threshold
lower_bound object Alert if value drops below this threshold
check_interval string How often to run (hourly, daily, weekly, or cron expression)
timeout_seconds integer Query execution timeout in seconds
enabled boolean Whether the monitor should be active immediately
View JSON Schema on GitHub

JSON Schema

anomalyarmor-ai-create-custom-sql-monitor-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/anomalyarmor-ai/json-schema/anomalyarmor-ai-create-custom-sql-monitor-request-schema.json",
  "title": "CreateCustomSqlMonitorRequest",
  "description": "Request to create a custom SQL monitor.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/anomalyarmor-ai-custom-sql-api-openapi.yml#/components/schemas/CreateCustomSqlMonitorRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Name",
      "description": "Human-readable name for this monitor"
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description",
      "description": "Optional description of what this monitor checks"
    },
    "sql_query": {
      "type": "string",
      "minLength": 1,
      "title": "Sql Query",
      "description": "SELECT query that returns a single numeric value"
    },
    "table_path": {
      "type": "string",
      "maxLength": 500,
      "minLength": 1,
      "title": "Table Path",
      "description": "Primary table being monitored (for asset association)"
    },
    "upper_bound": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Upper Bound",
      "description": "Alert if value exceeds this threshold"
    },
    "lower_bound": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lower Bound",
      "description": "Alert if value drops below this threshold"
    },
    "check_interval": {
      "type": "string",
      "pattern": "^(hourly|daily|weekly|monthly|\\d+[mhd]|@[a-z_]+|\\S+\\s+\\S+\\s+\\S+\\s+\\S+\\s+\\S+)$",
      "title": "Check Interval",
      "description": "How often to run (hourly, daily, weekly, or cron expression)"
    },
    "timeout_seconds": {
      "type": "integer",
      "maximum": 300.0,
      "minimum": 1.0,
      "title": "Timeout Seconds",
      "description": "Query execution timeout in seconds",
      "default": 60
    },
    "enabled": {
      "type": "boolean",
      "title": "Enabled",
      "description": "Whether the monitor should be active immediately",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "name",
    "sql_query",
    "table_path",
    "check_interval"
  ]
}

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/anomalyarmor-ai-create-custom-sql-monitor-request"
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.