{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-agents-api-agent-proxies-schema.json",
  "title": "Agents_API_AgentProxies",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-agent-proxies-api-openapi.yml#/components/schemas/Agents_API_AgentProxies",
  "type": "object",
  "properties": {
    "agentProxies": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Agents_API_AgentProxy"
      }
    },
    "_links": {
      "$ref": "#/$defs/Agents_API_SelfLinks"
    }
  },
  "$defs": {
    "Agents_API_AgentProxy": {
      "type": "object",
      "properties": {
        "aid": {
          "type": "string",
          "description": "Account id that this proxy configuration belongs to"
        },
        "authType": {
          "$ref": "#/$defs/Agents_API_ProxyAuthType"
        },
        "bypassList": {
          "type": "array",
          "description": "A list of hostnames, network prefixes, or wildcards used to determine which test targets should not be proxied. If all tests should be proxied, leave empty.",
          "items": {
            "type": "string"
          }
        },
        "lastModified": {
          "type": "string",
          "description": "Last modification timestamp of the proxy. Expressed in UTC (ISO date-time format).",
          "format": "date-time"
        },
        "location": {
          "type": "string",
          "description": "The location of the proxy. If proxyType is `static` use the format `hostname:port`. If location is `pac`, then specify the URL where the PAC file can be obtained."
        },
        "isLocalConfigured": {
          "type": "boolean",
          "description": "Set to `true` if this proxy configuration comes from the agent’s config file. Specify `false` if the proxy configuration was created in the ThousandEyes application."
        },
        "name": {
          "type": "string",
          "description": "Expression of agent notification rule."
        },
        "password": {
          "type": "string",
          "format": "password",
          "description": "Password for proxy authentication"
        },
        "proxyId": {
          "type": "string",
          "description": "Agent proxy's unique ID."
        },
        "type": {
          "$ref": "#/$defs/Agents_API_ProxyType"
        },
        "user": {
          "type": "string",
          "description": "Username for proxy authentication."
        }
      }
    },
    "Agents_API_Link": {
      "type": "object",
      "description": "A hyperlink from the containing resource to a URI.",
      "required": [
        "href"
      ],
      "properties": {
        "href": {
          "type": "string",
          "description": "Its value is either a URI [RFC3986] or a URI template [RFC6570]."
        },
        "templated": {
          "type": "boolean",
          "description": "Should be true when the link object's \"href\" property is a URI template."
        },
        "type": {
          "type": "string",
          "description": "Used as a hint to indicate the media type expected when dereferencing the target resource."
        },
        "deprecation": {
          "type": "string",
          "description": "Its presence indicates that the link is to be deprecated at a future date. Its value is a URL that should provide further information about the deprecation."
        },
        "name": {
          "type": "string",
          "description": "Its value may be used as a secondary key for selecting link objects that share the same relation type."
        },
        "profile": {
          "type": "string",
          "description": "A URI that hints about the profile of the target resource."
        },
        "title": {
          "type": "string",
          "description": "Intended for labelling the link with a human-readable identifier"
        },
        "hreflang": {
          "type": "string",
          "description": "Indicates the language of the target resource"
        }
      }
    },
    "Agents_API_ProxyAuthType": {
      "type": "string",
      "description": "The type of authentication the proxy requires",
      "enum": [
        "basic",
        "ntlm",
        "kerberos",
        "unknown"
      ]
    },
    "Agents_API_ProxyType": {
      "type": "string",
      "description": "The type of proxy, STATIC or PAC.",
      "enum": [
        "static",
        "pac"
      ]
    },
    "Agents_API_SelfLinks": {
      "type": "object",
      "description": "A links object containing the self link.",
      "readOnly": true,
      "properties": {
        "self": {
          "$ref": "#/$defs/Agents_API_Link"
        }
      }
    }
  }
}