v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
RUM Insights

Query aggregated signals and problems

Get aggregated performance signals and problem detections for a RUM view, sampled across multiple view instances.

post/api/v2/rum/query/insight/aggregated_signals_problems

Request body

Example request

{
  "data": {
    "attributes": {
      "application_id": "ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b",
      "criteria": {
        "max": 5,
        "metric": "largest_contentful_paint",
        "min": 2.5
      },
      "detection_types": [
        "high_script_evaluations",
        "uncompressed_resources"
      ],
      "filter": "@session.type:user",
      "from": 1762437564,
      "sample_size": 30,
      "to": 1762523964,
      "view_name": "/account/login(/:type)"
    },
    "type": "aggregated_signals_problems"
  }
}

Response

Successful response

Example response

{
  "data": {
    "attributes": {
      "application_id": "ccbc53b1-74f2-496b-bdd7-9a8fa7b7376b",
      "criteria": {
        "max": 5,
        "metric": "largest_contentful_paint",
        "min": 2.5
      },
      "from": 1710000000,
      "problem_detections": {
        "high_frozen_frame_rates": [
          {
            "avg_frozen_frame_rate": 0.15,
            "avg_segment_duration": 3000000000,
            "avg_total_frozen_duration": 500000000,
            "fingerprint": "v1$mno345",
            "impact_score": 14,
            "view_occurrences": 5
          }
        ],
        "high_script_evaluations": [
          {
            "avg_duration": 300000000,
            "fingerprint": "v1$7766a8c2180aa153f5526ba8868999f8",
            "impact_score": 30,
            "instance_count": 3,
            "invoker_type": "user-callback",
            "source_category": "third-party",
            "source_function_name": "handleClick",
            "source_url": "https://cdn.example.com/app.js",
            "view_occurrences": 3
          }
        ],
        "low_cache_hit_rates": [
          {
            "avg_cache_hit_rate": 0.15,
            "avg_resource_download_size_bytes": 1048576,
            "fingerprint": "v1$abc123",
            "impact_score": 20,
            "view_occurrences": 5
          }
        ],
        "mobile_scroll_frictions": [
          {
            "avg_scroll_frozen_frame_count": 3,
            "fingerprint": "v1$ghi789",
            "impact_score": 12,
            "view_occurrences": 6
          }
        ],
        "slow_fcp_high_bytes": [
          {
            "avg_bytes_before_fcp_bytes": 2097152,
            "avg_first_contentful_paint_ms": 3500,
            "avg_resource_count_before_fcp": 25,
            "fingerprint": "v1$def456",
            "impact_score": 18,
            "platform": "browser",
            "view_occurrences": 4
          }
        ],
        "slow_interaction_long_tasks": [
          {
            "action_type": "click",
            "avg_blocking_duration": 250000000,
            "avg_duration": 320000000,
            "fingerprint": "v1$jkl012",
            "impact_score": 22,
            "instance_count": 9,
            "selector": "#submit-button",
            "selector_normalized": "button[data-action]",
            "view_occurrences": 7
          }
        ],
        "uncompressed_resources": [
          {
            "avg_body_size": 524288,
            "fingerprint": "v1$65e268e25cab3a1f6230405ccf011a68",
            "impact_score": 16.67,
            "instance_count": 1,
            "provider_type": "cloudfront",
            "render_blocking": "blocking",
            "resource_type": "image",
            "url_path_group": "/cdn/hero.jpg",
            "view_occurrences": 1
          }
        ]
      },
      "sample_metadata": {
        "failed": 2,
        "requested": 30,
        "sampled_view_ids": [
          "6fbf69b6-9455-436a-b894-a6bf64126d40"
        ],
        "succeeded": 28,
        "success_rate": 0.93
      },
      "to": 1710003600,
      "view_name": "/checkout"
    },
    "id": "2f0b3455",
    "type": "aggregated_signals_problems"
  }
}