SpeedCurve

App · 3 actions

Read SpeedCurve monitored sites, URLs, and synthetic performance-test history.

Actions

ActionWhat it does
Get URL testsRead one page of synthetic test history for a monitored URL.
List sitesRead the team site inventory without requesting median-test aggregation.
List URLsRead monitored URLs grouped by site and their available latest-test summaries.

Get URL tests

Read one page of synthetic test history for a monitored URL. Set per_page to enable pagination.

Inputs

URL IDurl_idnumberRequired
URL ID from List URLs.At least 1.
Daysdaysnumber
Days of test history to return (maximum 365).From 1 to 365.
Per pageper_pagenumber
Maximum number of records in this page.From 1 to 100.
Pagepagenumber
Page to read. Request subsequent pages explicitly.At least 1.
Browserbrowsertext
Optional browser ID.
Regionregiontext
Optional region ID.

Outputs

dataobject
The response from SpeedCurve.
Example output
{
  "data": {
    "site_id": 1,
    "site_name": "Example website",
    "tests": [
      {
        "browser": "Chrome",
        "cumulative_layout_shift": 0.02,
        "largest_contentful_paint": 752,
        "test_id": "example-test",
        "timestamp": 1782900000
      }
    ],
    "url": "https://example.com",
    "url_id": 10
  }
}

List sites

Read the team site inventory without requesting median-test aggregation.

Inputs

None.

Outputs

dataobject
The response from SpeedCurve.
Example output
{
  "data": {
    "sites": [
      {
        "checks_scheduled": 10,
        "name": "Example website",
        "site_id": 1,
        "urls": [
          {
            "url": "https://example.com",
            "url_id": 10
          }
        ]
      }
    ]
  }
}

List URLs

Read monitored URLs grouped by site and their available latest-test summaries.

Inputs

None.

Outputs

dataobject
The response from SpeedCurve.
Example output
{
  "data": {
    "sites": [
      {
        "name": "Example website",
        "site_id": 1,
        "urls": [
          {
            "label": "Homepage",
            "url": "https://example.com",
            "url_id": 10
          }
        ]
      }
    ]
  }
}

On this page