---
title: "Query aggregated signals and problems"
method: POST
path: "/api/v2/rum/query/insight/aggregated_signals_problems"
tags: ["RUM Insights"]
---

# Query aggregated signals and problems

`POST /api/v2/rum/query/insight/aggregated_signals_problems`

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

## Request body

- AggregatedSignalsProblemsRequest — Request body for the aggregated signals and problems endpoint.
  - `data` AggregatedSignalsProblemsRequestData, required — Data envelope for an aggregated signals and problems request.
    - `attributes` AggregatedSignalsProblemsRequestAttributes, required — Attributes for an aggregated signals and problems query.
      - `application_id` string, required — The RUM application ID to analyze.
      - `criteria` AggregatedWaterfallPerformanceCriteria — Performance criteria to filter view instances by a metric threshold.
        - `max` number, double — Maximum threshold in seconds (inclusive).
        - `metric` 'loading_time' | 'largest_contentful_paint' | 'first_contentful_paint' | 'interaction_to_next_paint', required — Performance metric used to filter view instances by threshold.
        - `min` number, double — Minimum threshold in seconds (inclusive).
      - `detection_types` string[] — List of detection types to include in the response. When omitted, all types are returned.
      - `filter` string — RUM query string to filter events (for example, @session.type:user @geo.country:US).
      - `from` integer, required — Start of the time range as a Unix timestamp in seconds.
      - `sample_size` integer, required — Number of view instances to sample, between 1 and 50.
      - `to` integer, required — End of the time range as a Unix timestamp in seconds.
      - `view_name` string, required — The RUM view name to analyze (for example, /account/login).
    - `type` 'aggregated_signals_problems', required — The JSON:API type for aggregated signals and problems requests.

## Response `201`

Successful response

- AggregatedSignalsProblemsResponse — Response body for the aggregated signals and problems endpoint.
  - `data` AggregatedSignalsProblemsResponseData, required — Data envelope for an aggregated signals and problems response.
    - `attributes` AggregatedSignalsProblemsResponseAttributes, required — Attributes of an aggregated signals and problems response.
      - `application_id` string, required — The RUM application ID that was analyzed.
      - `criteria` AggregatedWaterfallPerformanceCriteria — Performance criteria to filter view instances by a metric threshold.
        - `max` number, double — Maximum threshold in seconds (inclusive).
        - `metric` 'loading_time' | 'largest_contentful_paint' | 'first_contentful_paint' | 'interaction_to_next_paint', required — Performance metric used to filter view instances by threshold.
        - `min` number, double — Minimum threshold in seconds (inclusive).
      - `from` integer, required — Start of the analyzed time range as a Unix timestamp in seconds.
      - `problem_detections` SignalsProblemsDetections, required — Grouped detection results by detection type.
        - `high_frozen_frame_rates` AggregatedHighFrozenFrameRate[] — Detected high frozen frame rate issues.
          - `avg_frozen_frame_rate` number, double, required — Average frozen frame rate as a fraction of total frames.
          - `avg_segment_duration` integer, required — Average segment duration in nanoseconds.
          - `avg_total_frozen_duration` integer, required — Average total frozen duration in nanoseconds.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score for this detection.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
        - `high_script_evaluations` AggregatedHighScriptEval[] — Detected high script evaluation issues.
          - `avg_duration` integer, required — Average script evaluation duration in nanoseconds.
          - `avg_forced_style_layout` integer, required — Average forced style/layout duration in nanoseconds.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score combining view frequency and duration severity.
          - `instance_count` integer, required — Total number of detection instances across sampled views.
          - `invoker_type` string, required — Type of invoker that triggered the script evaluation.
          - `source_category` string, nullable, required — Category of the script source.
          - `source_function_name` string, required — Name of the function that triggered the high script evaluation.
          - `source_url` string, nullable, required — URL of the script that triggered the high script evaluation.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
        - `low_cache_hit_rates` AggregatedLowCacheHitRate[] — Detected low cache hit rate issues.
          - `avg_cache_hit_rate` number, double, required — Average cache hit rate across affected views.
          - `avg_resource_download_size_bytes` integer, required — Average total download size of uncached resources in bytes.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score for this detection.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
        - `mobile_scroll_frictions` AggregatedMobileScrollFriction[] — Detected mobile scroll friction issues.
          - `avg_scroll_frozen_frame_count` integer, required — Average number of frozen frames during scroll interactions.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score for this detection.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
        - `slow_fcp_high_bytes` AggregatedSlowFCPHighBytes[] — Detected slow first contentful paint with high byte count issues.
          - `avg_bytes_before_fcp_bytes` integer, required — Average total bytes loaded before first contentful paint.
          - `avg_first_contentful_paint_ms` integer, required — Average first contentful paint time in milliseconds.
          - `avg_resource_count_before_fcp` integer, required — Average number of resources loaded before first contentful paint.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score for this detection.
          - `platform` string, required — Platform identifier for the affected views.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
        - `slow_interaction_long_tasks` AggregatedSlowInteractionLongTask[] — Detected slow interaction with long task issues.
          - `action_type` string, required — Type of user interaction that triggered the slow response.
          - `avg_blocking_duration` integer, required — Average long task blocking duration in nanoseconds.
          - `avg_duration` integer, required — Average total interaction duration in nanoseconds.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score combining view frequency and blocking severity.
          - `instance_count` integer, required — Total number of detection instances across sampled views.
          - `selector` string, nullable, required — CSS selector of the element that was interacted with.
          - `selector_normalized` string, nullable, required — Normalized CSS selector with dynamic parts replaced.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
        - `uncompressed_resources` AggregatedUncompressedResource[] — Detected uncompressed resource issues.
          - `avg_body_size` integer, required — Average uncompressed body size in bytes.
          - `avg_duration` integer, required — Average resource loading duration in nanoseconds.
          - `fingerprint` string, required — Unique fingerprint identifying this detection group.
          - `impact_score` number, double, required — Impact score combining view frequency and resource size.
          - `instance_count` integer, required — Total number of detection instances across sampled views.
          - `provider_type` string, nullable, required — CDN or hosting provider type for the resource.
          - `render_blocking` string, nullable, required — Whether the resource is render-blocking.
          - `resource_type` string, required — Type of the resource (JS, CSS, image, fetch, and so on).
          - `url_path_group` string, required — Normalized URL path pattern for the uncompressed resource.
          - `view_occurrences` integer, required — Number of sampled views where this detection occurred.
      - `sample_metadata` SignalsProblemsSampleMetadata, required — Metadata about the sampling quality for a signals and problems query.
        - `failed` integer, required — Number of view instances that failed to process.
        - `requested` integer, required — Number of view instances requested for sampling.
        - `sampled_view_ids` string[], required — List of RUM view IDs that were sampled.
        - `succeeded` integer, required — Number of view instances successfully processed.
        - `success_rate` number, double, required — Ratio of successfully processed views to requested views.
      - `to` integer, required — End of the analyzed time range as a Unix timestamp in seconds.
      - `view_name` string, required — The RUM view name that was analyzed.
    - `id` string, required — Hash-based unique identifier for this aggregation.
    - `type` 'aggregated_signals_problems', required — The JSON:API type for aggregated signals and problems requests.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `429` — Too many requests

---

[API](https://skmtc.dev/datadog/apis/api-v2.md) · [All operations](https://skmtc.dev/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
