SpeedCurve
App · 3 actions
Read SpeedCurve monitored sites, URLs, and synthetic performance-test history.
Actions
| Action | What it does |
|---|---|
| Get URL tests | Read one page of synthetic test history for a monitored URL. |
| List sites | Read the team site inventory without requesting median-test aggregation. |
| List URLs | Read 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 ID
url_idnumberRequired - URL ID from List URLs.At least 1.
- Days
daysnumber - Days of test history to return (maximum 365).From 1 to 365.
- Per page
per_pagenumber - Maximum number of records in this page.From 1 to 100.
- Page
pagenumber - Page to read. Request subsequent pages explicitly.At least 1.
- Browser
browsertext - Optional browser ID.
- Region
regiontext - 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
}
]
}
]
}
}