---
title: Pages
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

[Speed](https://developers.cloudflare.com/api/typescript/resources/speed)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Pages

##### [List tested webpages](https://developers.cloudflare.com/api/typescript/resources/speed/subresources/pages/methods/list)

client.speed.pages.list(PageListParams {zone\_id } params, RequestOptionsoptions?): SinglePage< [PageListResponse](<https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)>) {region, scheduleFrequency, tests, url } >

GET/zones/{zone\_id}/speed\_api/pages

##### [List core web vital metrics trend](https://developers.cloudflare.com/api/typescript/resources/speed/subresources/pages/methods/trend)

client.speed.pages.trend(stringurl, PageTrendParams {zone\_id, deviceType, metrics, 4 more } params, RequestOptionsoptions?): [Trend](<https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20trend%20%3E%20(schema)>) {cls, fcp, lcp, 5 more }

GET/zones/{zone\_id}/speed\_api/pages/{url}/trend

##### ModelsExpand Collapse

<details>

<summary>

PageListResponse {region, scheduleFrequency, tests, url }

</summary>

region?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20labeled_region%20%3E%20(schema)">LabeledRegion</a> {label, value }

A test region with a label.

<a href="#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)%20%3E%20(property)%20region">Link to this property</a>

<details>

<summary>

scheduleFrequency?: "DAILY"| "WEEKLY"

The frequency of the test.

</summary>

One of the following:

"DAILY"

<a href="#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency%20%3E%20(member)%200">Link to this property</a>

"WEEKLY"

<a href="#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency">Link to this property</a>

<details>

<summary>

tests?: Array&lt;<a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)">Test</a> {id, date, desktopReport, 4 more } &gt;

</summary>

id?: string

UUID.

maxLength36

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

date?: string

formatdate-time

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20date">Link to this property</a>

desktopReport?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20lighthouse_report%20%3E%20(schema)">LighthouseReport</a> {cls, deviceType, error, 9 more }

The Lighthouse report.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20desktopReport">Link to this property</a>

mobileReport?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20lighthouse_report%20%3E%20(schema)">LighthouseReport</a> {cls, deviceType, error, 9 more }

The Lighthouse report.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20mobileReport">Link to this property</a>

region?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20labeled_region%20%3E%20(schema)">LabeledRegion</a> {label, value }

A test region with a label.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20region">Link to this property</a>

<details>

<summary>

scheduleFrequency?: "DAILY"| "WEEKLY"

The frequency of the test.

</summary>

One of the following:

"DAILY"

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency%20%3E%20(member)%200">Link to this property</a>

"WEEKLY"

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency">Link to this property</a>

url?: string

A URL.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20url">Link to this property</a>

</details>

<a href="#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)%20%3E%20(property)%20tests">Link to this property</a>

url?: string

A URL.

<a href="#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)%20%3E%20(property)%20url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20speed.pages%20%3E%20(model)%20page_list_response%20%3E%20(schema)>)

#### PagesTests

##### [List page test history](https://developers.cloudflare.com/api/typescript/resources/speed/subresources/pages/subresources/tests/methods/list)

client.speed.pages.tests.list(stringurl, TestListParams {zone\_id, page, per\_page, region } params, RequestOptionsoptions?): V4PagePaginationArray< [Test](<https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)>) {id, date, desktopReport, 4 more } >

GET/zones/{zone\_id}/speed\_api/pages/{url}/tests

##### [Get a page test result](https://developers.cloudflare.com/api/typescript/resources/speed/subresources/pages/subresources/tests/methods/get)

client.speed.pages.tests.get(stringtestID, TestGetParams {zone\_id, url } params, RequestOptionsoptions?): [Test](<https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)>) {id, date, desktopReport, 4 more }

GET/zones/{zone\_id}/speed\_api/pages/{url}/tests/{test\_id}

##### [Start page test](https://developers.cloudflare.com/api/typescript/resources/speed/subresources/pages/subresources/tests/methods/create)

client.speed.pages.tests.create(stringurl, TestCreateParams {zone\_id, region } params, RequestOptionsoptions?): [Test](<https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)>) {id, date, desktopReport, 4 more }

POST/zones/{zone\_id}/speed\_api/pages/{url}/tests

##### [Delete all page tests](https://developers.cloudflare.com/api/typescript/resources/speed/subresources/pages/subresources/tests/methods/delete)

client.speed.pages.tests.delete(stringurl, TestDeleteParams {zone\_id, region } params, RequestOptionsoptions?): [TestDeleteResponse](<https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed.pages.tests%20%3E%20(model)%20test_delete_response%20%3E%20(schema)>) {count }

DELETE/zones/{zone\_id}/speed\_api/pages/{url}/tests

##### ModelsExpand Collapse

<details>

<summary>

Test {id, date, desktopReport, 4 more }

</summary>

id?: string

UUID.

maxLength36

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

date?: string

formatdate-time

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20date">Link to this property</a>

desktopReport?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20lighthouse_report%20%3E%20(schema)">LighthouseReport</a> {cls, deviceType, error, 9 more }

The Lighthouse report.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20desktopReport">Link to this property</a>

mobileReport?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20lighthouse_report%20%3E%20(schema)">LighthouseReport</a> {cls, deviceType, error, 9 more }

The Lighthouse report.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20mobileReport">Link to this property</a>

region?: <a href="https://developers.cloudflare.com/api/typescript/resources/speed#(resource)%20speed%20%3E%20(model)%20labeled_region%20%3E%20(schema)">LabeledRegion</a> {label, value }

A test region with a label.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20region">Link to this property</a>

<details>

<summary>

scheduleFrequency?: "DAILY"| "WEEKLY"

The frequency of the test.

</summary>

One of the following:

"DAILY"

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency%20%3E%20(member)%200">Link to this property</a>

"WEEKLY"

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20scheduleFrequency">Link to this property</a>

url?: string

A URL.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)%20%3E%20(property)%20url">Link to this property</a>

</details>

[Link to this property](<#(resource)%20speed.pages.tests%20%3E%20(model)%20test%20%3E%20(schema)>)

<details>

<summary>

TestDeleteResponse {count }

</summary>

count?: number

Number of items affected.

<a href="#(resource)%20speed.pages.tests%20%3E%20(model)%20test_delete_response%20%3E%20(schema)%20%3E%20(property)%20count">Link to this property</a>

</details>

[Link to this property](<#(resource)%20speed.pages.tests%20%3E%20(model)%20test_delete_response%20%3E%20(schema)>)