added

New API: aggregated RUM metric data

You can now query aggregated RUM metric data via API — the same way your Favorite charts work in the SpeedCurve UI.

This new Queries API lets you:

  • Retrieve timeline or single-value chart data for any RUM metric using an existing chart ID.
  • Control time granularity with a bucket_size parameter — from 10 minutes to 31 days.
  • Receive up to 200 data points per query.
  • Track progress with a two-step workflow:
    1. POST /accounts/{account_id}/queries/ — submit your query
    2. GET /accounts/{account_id}/queries/{query_id}/ — poll for results

Key details:

  • Works exclusively with RUM data (synthetic metrics are excluded).
  • Requires charts created in the SpeedCurve UI (timeseries, budget, or value types).
  • Supports both default and custom bucket sizes
  • Returns aggregated values (e.g. 75th percentile) and number of page views per time bucket.

Ideal for teams looking to integrate RUM data into external tools or perform custom trend analysis.