RUM Insights

Query aggregated long tasks

Get aggregated long task data for a RUM view, grouped by invoker type and sampled across multiple view instances.

post/api/v2/rum/query/insight/aggregated_long_tasks

Request

  • Base URL
    https://api.datadoghq.com
  • URL
    https://api.datadoghq.com/api/v2/rum/query/insight/aggregated_long_tasks
  • Auth
    API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY

Request body

Example request

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

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.