{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-thousand-eyes-path-traces-response-schema.json",
  "title": "ThousandEyesPathTracesResponse",
  "description": "List of ThousandEyes path traces.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-thousandeyespathtrace-api-openapi.yml#/components/schemas/ThousandEyesPathTracesResponse",
  "type": "object",
  "properties": {
    "response": {
      "type": "array",
      "description": "List of ThousandEyes path traces.",
      "items": {
        "$ref": "#/$defs/ThousandEyesPathTrace"
      }
    },
    "appLink": {
      "type": "string",
      "description": "Direct link to the page for the current path trace in ThousandEyes portal."
    },
    "version": {
      "type": "string",
      "description": "The version of the response."
    }
  },
  "$defs": {
    "ThousandEyesPathTrace": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the path trace"
        },
        "hops": {
          "type": "array",
          "description": "List of the hops in the given path trace",
          "items": {
            "$ref": "#/$defs/ThousandEyesPathTraceHop"
          }
        }
      },
      "description": "A single ThousandEyes path trace."
    },
    "ThousandEyesPathTraceHop": {
      "required": [
        "index",
        "type"
      ],
      "type": "object",
      "properties": {
        "index": {
          "minimum": 1,
          "type": "integer",
          "description": "Hop number in the path. It is possible that some hop numbers are missing in the path. This can happen in case where hop details are not available.",
          "format": "int32"
        },
        "type": {
          "type": "string",
          "description": "Type of the hop.\n\n| Type       | Description  |\n|------------|--------------|\n| `CLIENT`   | Client node (typically first hop in the path). |\n| `AP`       | Access point, if client is wireless. |\n| `AGENT`    | Switch where ThousandEyes agent is running. |\n| `SWITCH`   | Any other switch within the path. |\n| `ROUTER`   | Router node. |\n| `WLC`      | Wireless controller node. |\n| `EXTERNAL` | Any node which is not managed within the system and is external. Typically, this would be WAN/internet hops. |\n| `TARGET`   | Target server node. |\n| `UNKNOWN`  | Any node which is in-between LAN nodes, but corresponding device was not found in inventory. e.g., a node was there in ThousandEyes path trace between a switch and a router, but system was not able to find any device that owned that IP address. |\n",
          "enum": [
            "CLIENT",
            "AP",
            "AGENT",
            "SWITCH",
            "ROUTER",
            "WLC",
            "EXTERNAL",
            "TARGET",
            "UNKNOWN"
          ]
        },
        "identifier": {
          "type": "string",
          "description": "Identifier for the node.\n\n* For client nodes, it would be client MAC address.\n* For internal network device nodes, it would be the network device UUID as per inventory.\n* For external nodes, this attribute will be null.\n"
        },
        "name": {
          "type": "string",
          "description": "Name of the node. For internal nodes, the name would be determined by data in inventory. For external nodes, the name would be RDNS lookup value from ThousandEyes trace."
        },
        "wlcId": {
          "type": "string",
          "description": "Unique id of the wireless controller. This is applicable only for access point node.",
          "format": "uuid"
        },
        "ipAddress": {
          "type": "string",
          "description": "IP address of the node."
        },
        "location": {
          "type": "string",
          "description": "Location of the node as determined by ThousandEyes trace. This attribute is not applicable for agent node and the nodes before that."
        },
        "network": {
          "type": "string",
          "description": "Name of the network as determined by ThousandEyes trace. This attribute is not applicable for agent node and the nodes before that."
        },
        "responseTime": {
          "type": "integer",
          "description": "Network response time in milliseconds from the agent till this node. This attribute is not applicable for agent node and the nodes before that.",
          "format": "int32"
        },
        "jitter": {
          "type": "number",
          "description": "Average jitter in milliseconds. This attribute is available only on the agent node, and it represents the jitter for complete path from the agent to the target.",
          "format": "double"
        },
        "healthScore": {
          "maximum": 10,
          "minimum": 1,
          "type": "integer",
          "description": "Health score of the node. This is applicable only for internal nodes.",
          "format": "int32"
        },
        "traceTerminated": {
          "type": "boolean",
          "description": "Flag to indicate whether path trace got terminated at this node without reaching the target server. This means that packet was lost at this node. Target server node would be after this node, but packet was not forwarded from this node to the same."
        }
      },
      "description": "Single hop within a path trace"
    }
  }
}