DNSServicesTrendAnalyticsRequest

DNS Services Trend Analytics requst payload

Network AutomationIntent-Based NetworkingNetworkingAssuranceEnterpriseCampusWirelessSD-AccessNetwork ManagementObservabilityTelemetryMCPAgent-NativeCisco

Properties

Name Type Description
startTime integer Start time from which the API queries the dataset related to the resource. It must be specified in terms of milliseconds since UNIX epoch. Value is inclusive. If `startTime` is not provided, API will
endTime integer End time to which the API queries the dataset related to the resource. It must be specified in terms of milliseconds since UNIX epoch. Value is inclusive. If `endTime` is not provided, API will defaul
trendInterval object
groupBy array List of groupBy fields
filters array List of filters
attributes array List of attributes
aggregateAttributes array List of aggregate attributes
page object
View JSON Schema on GitHub

JSON Schema

cisco-catalyst-center-dnsservices-trend-analytics-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-dnsservices-trend-analytics-request-schema.json",
  "title": "DNSServicesTrendAnalyticsRequest",
  "description": "DNS Services Trend Analytics requst payload",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-dns-services-api-openapi.yml#/components/schemas/DNSServicesTrendAnalyticsRequest",
  "required": [
    "groupBy",
    "trendInterval"
  ],
  "type": "object",
  "properties": {
    "trendInterval": {
      "$ref": "#/$defs/DNSServicesTrendInterval"
    },
    "groupBy": {
      "type": "array",
      "description": "List of groupBy fields",
      "items": {
        "$ref": "#/$defs/DNSServicesAnalyticsGroupByKey"
      }
    },
    "filters": {
      "type": "array",
      "description": "List of filters",
      "items": {
        "$ref": "#/$defs/DNSServicesAnalyticsFilter"
      }
    },
    "attributes": {
      "type": "array",
      "description": "List of attributes",
      "items": {
        "$ref": "#/$defs/DNSServicesAnalyticsAttributeKey"
      }
    },
    "aggregateAttributes": {
      "type": "array",
      "description": "List of aggregate attributes",
      "items": {
        "$ref": "#/$defs/DNSServicesAggregateAttribute"
      }
    },
    "page": {
      "$ref": "#/$defs/NetworkServicesPaginationWithTrendRequest"
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/startAndEndTime"
    }
  ],
  "$defs": {
    "DNSServicesAggregateAttribute": {
      "type": "object",
      "properties": {
        "name": {
          "$ref": "#/$defs/DNSServicesAggregateAttributeKey"
        },
        "function": {
          "$ref": "#/$defs/NetworkServicesFunction"
        }
      },
      "description": "Aggreage attribute object"
    },
    "DNSServicesAggregateAttributeKey": {
      "type": "string",
      "description": "Aggregate attribute key",
      "enum": [
        "transactions",
        "failedTransactions",
        "successfulTransactions",
        "latency"
      ]
    },
    "DNSServicesAnalyticsAttributeKey": {
      "type": "string",
      "description": "Attribute key for anlytics",
      "enum": [
        "deviceSiteHierarchy",
        "deviceName",
        "deviceFamily",
        "successRate",
        "failureRate",
        "failureDescription"
      ]
    },
    "DNSServicesAnalyticsFilter": {
      "type": "object",
      "properties": {
        "key": {
          "$ref": "#/$defs/DNSServicesAnalyticsFilterAttribute"
        },
        "operator": {
          "$ref": "#/$defs/NetworkServicesOperator"
        },
        "logicalOperator": {
          "$ref": "#/$defs/LogicalOperator"
        },
        "value": {
          "type": "object",
          "description": "Field value(s) to filter the data set.\n"
        },
        "filters": {
          "type": "array",
          "description": "This nested array of filters can be used when `logicalOperator` is used.\n",
          "items": {
            "$ref": "#/$defs/DNSServicesAnalyticsFilter"
          }
        }
      },
      "description": "In case of single filter, please use `key`, `operator` and `value` combination. If multiple filters need to be applied using a logical   operation, please use `logicalOperator` and populate the list of `filters`. Filters can be nested to build complex queries.\n"
    },
    "DNSServicesAnalyticsFilterAttribute": {
      "type": "string",
      "description": "Field names which are supported by this API as filter keys",
      "enum": [
        "serverIp",
        "deviceId",
        "deviceSiteHierarchyId",
        "deviceSiteId",
        "ssid"
      ]
    },
    "DNSServicesAnalyticsGroupByKey": {
      "type": "string",
      "description": "Grouping key",
      "enum": [
        "serverIp",
        "deviceId",
        "deviceSiteId",
        "failureResponseCode"
      ]
    },
    "DNSServicesTrendInterval": {
      "type": "string",
      "description": "The time window to aggregate the Network Services data.\n",
      "enum": [
        "30MIN",
        "1HOUR",
        "1DAY"
      ]
    },
    "LogicalOperator": {
      "type": "string",
      "description": "Operator to use when attempting to apply a logical conjunction of more   than 1 filter\n\nLogical operations include: 'and', 'or'.\n",
      "enum": [
        "and",
        "or"
      ]
    },
    "NetworkServicesFunction": {
      "type": "string",
      "description": "Name of the aggregate function that should be applied when querying the data.",
      "enum": [
        "sum",
        "min",
        "max",
        "avg",
        "latest"
      ]
    },
    "NetworkServicesOperator": {
      "type": "string",
      "description": "Type of filter operator to use for querying data. When `in` and `notIn` operators are used, the `value` should be array. For all other operators, the `value` should be a single value.",
      "enum": [
        "in",
        "eq",
        "like",
        "lt",
        "lte",
        "gt",
        "gte"
      ]
    },
    "NetworkServicesPaginationWithTrendRequest": {
      "type": "object",
      "properties": {
        "limit": {
          "minimum": 1,
          "type": "integer",
          "description": "Number of records to be returned in response",
          "default": 100
        },
        "offset": {
          "minimum": 1,
          "type": "integer",
          "description": "Starting offset of data to fetch and returned",
          "default": 1
        },
        "timestampOrder": {
          "type": "string",
          "description": "The sort order of the timestamp can be either ascending or descending",
          "enum": [
            "asc",
            "desc"
          ]
        }
      }
    },
    "startAndEndTime": {
      "type": "object",
      "properties": {
        "startTime": {
          "type": "integer",
          "description": "Start time from which the API queries the dataset related to the resource. It must be specified in terms of milliseconds since UNIX epoch. Value is inclusive.\n\nIf `startTime` is not provided, API will default to current time.\n",
          "format": "int64"
        },
        "endTime": {
          "type": "integer",
          "description": "End time to which the API queries the dataset related to the resource. It must be specified in terms of milliseconds since UNIX epoch. Value is inclusive.\n\nIf `endTime` is not provided, API will default to current time.\n",
          "format": "int64"
        }
      },
      "description": "start and end time of data set to query. Data is aggregated   based on time window and timestamped with window start time. | For example - 1. When data events falls in a 5 minute window from 12-13-2023 11:25 PM to 12-13-2023 11:30 PM the timestamp of the aggregated data is 12-13-2023 11:25 PM - 1702509900000 (Unix epochtime). If user needs data from 12-13-2023 11:25 PM to 12-13-2023 11:30 PM user must use below timestamps | startTime = 1702509900000 (12-13-2023 11:25 PM) | endTime = 1702510199000 (12-13-2023 11:29:59 PM) | 2. When data to be queried is for 3 hours period from 12-13-2023 08:30 PM to 12-13-2023 11:30 PM. User must use below timestamps | startTime = 1702528200000 (12-13-2023 08:30 PM) | endTime = 1702510199000 (12-13-2023 11:29:59 PM) | 2. When data to be queried is for 24 hours period from 12-12-2023 11:30 PM to 12-13-2023 11:30 PM. User must use below timestamps | startTime = 1702423800000 (12-12-2023 11:30 PM) | endTime = 1702510199000 (12-13-2023 11:29:59 PM) | 3. When data to be queried is for 7 days period from 12-06-2023 11:30 PM to 12-13-2023 11:30 PM. User must use below timestamps | startTime = 1701905400000 (12-06-2023 11:30 PM) | endTime = 1702510199000 (12-13-2023 11:29:59 PM)"
    }
  }
}

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/cisco-catalyst-center-dnsservices-trend-analytics-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.