{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-endpoint-tests-api-endpoint-real-user-tests-response-schema.json",
  "title": "Endpoint_Tests_API_EndpointRealUserTestsResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-endpoint-real-user-tests-api-openapi.yml#/components/schemas/Endpoint_Tests_API_EndpointRealUserTestsResponse",
  "type": "object",
  "required": [
    "realUserTests"
  ],
  "properties": {
    "realUserTests": {
      "type": "array",
      "description": "Real user test domain monitoring profiles.",
      "items": {
        "$ref": "#/$defs/Endpoint_Tests_API_EndpointRealUserTest"
      }
    }
  },
  "$defs": {
    "Endpoint_Tests_API_AccountGroupId": {
      "type": "string",
      "description": "A unique identifier associated with your account group. You can retrieve your `AccountGroupId` from the `/account-groups` endpoint."
    },
    "Endpoint_Tests_API_EndpointAgentId": {
      "type": "string",
      "format": "uuid",
      "description": "Unique ID of endpoint agent, from `/endpoint/agents` endpoint.",
      "readOnly": true
    },
    "Endpoint_Tests_API_EndpointMonitoringSettings": {
      "type": "object",
      "required": [
        "monitoringSettingsType"
      ],
      "properties": {
        "monitoringSettingsId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique ID of the monitoring settings.",
          "readOnly": true
        },
        "monitoringSettingsType": {
          "$ref": "#/$defs/Endpoint_Tests_API_EndpointMonitoringSettingsType"
        },
        "agentIds": {
          "type": [
            "array",
            "null"
          ],
          "description": "Endpoint Agent IDs selected by the monitoring settings.",
          "items": {
            "$ref": "#/$defs/Endpoint_Tests_API_EndpointAgentId"
          }
        },
        "tagIds": {
          "type": [
            "array",
            "null"
          ],
          "description": "Endpoint Agent tag IDs selected by the monitoring settings.",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "labelIds": {
          "type": [
            "array",
            "null"
          ],
          "description": "Legacy Endpoint Agent label IDs selected by the monitoring settings.",
          "items": {
            "type": "string",
            "readOnly": true
          }
        }
      }
    },
    "Endpoint_Tests_API_EndpointMonitoringSettingsType": {
      "type": "string",
      "description": "Endpoint Agent selector type used by the monitoring settings.",
      "enum": [
        "all-agents",
        "specific-agents",
        "agent-labels",
        "agent-tags"
      ],
      "readOnly": true
    },
    "Endpoint_Tests_API_EndpointRealUserTest": {
      "type": "object",
      "required": [
        "profileId",
        "aid",
        "name",
        "includedDomains",
        "excludedDomains",
        "monitoringSettings"
      ],
      "properties": {
        "profileId": {
          "type": "string",
          "description": "Unique ID of the monitoring profile.",
          "readOnly": true
        },
        "aid": {
          "$ref": "#/$defs/Endpoint_Tests_API_AccountGroupId"
        },
        "name": {
          "type": "string",
          "description": "Monitoring profile name.",
          "readOnly": true
        },
        "includedDomains": {
          "type": "array",
          "description": "Domains included in real user monitoring.",
          "items": {
            "type": "string",
            "readOnly": true
          }
        },
        "excludedDomains": {
          "type": "array",
          "description": "Domains excluded from real user monitoring.",
          "items": {
            "type": "string",
            "readOnly": true
          }
        },
        "monitoringSettings": {
          "$ref": "#/$defs/Endpoint_Tests_API_EndpointMonitoringSettings"
        }
      }
    }
  }
}