---
title: Pages
---

[Skip to content](#%5Ftop) 

[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#%28resource%29%20speed.pages%20%3E%20%28model%29%20page%5Flist%5Fresponse%20%3E%20%28schema%29) { 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#%28resource%29%20speed%20%3E%20%28model%29%20trend%20%3E%20%28schema%29) { cls, fcp, lcp, 5 more } 

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

##### ModelsExpand Collapse 

PageListResponse { region, scheduleFrequency, tests, url } 

region?: [LabeledRegion](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20labeled%5Fregion%20%3E%20%28schema%29) { label, value } 

A test region with a label.

scheduleFrequency?: "DAILY" | "WEEKLY"

The frequency of the test.

One of the following:

"DAILY"

"WEEKLY"

tests?: Array<[Test](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed.pages.tests%20%3E%20%28model%29%20test%20%3E%20%28schema%29) { id, date, desktopReport, 4 more } \>

id?: string

UUID.

maxLength36

date?: string

formatdate-time

desktopReport?: [LighthouseReport](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20lighthouse%5Freport%20%3E%20%28schema%29) { cls, deviceType, error, 9 more } 

The Lighthouse report.

mobileReport?: [LighthouseReport](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20lighthouse%5Freport%20%3E%20%28schema%29) { cls, deviceType, error, 9 more } 

The Lighthouse report.

region?: [LabeledRegion](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20labeled%5Fregion%20%3E%20%28schema%29) { label, value } 

A test region with a label.

scheduleFrequency?: "DAILY" | "WEEKLY"

The frequency of the test.

One of the following:

"DAILY"

"WEEKLY"

url?: string

A URL.

url?: string

A URL.

#### 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#%28resource%29%20speed.pages.tests%20%3E%20%28model%29%20test%20%3E%20%28schema%29) { 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#%28resource%29%20speed.pages.tests%20%3E%20%28model%29%20test%20%3E%20%28schema%29) { 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#%28resource%29%20speed.pages.tests%20%3E%20%28model%29%20test%20%3E%20%28schema%29) { 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#%28resource%29%20speed.pages.tests%20%3E%20%28model%29%20test%5Fdelete%5Fresponse%20%3E%20%28schema%29) { count } 

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

##### ModelsExpand Collapse 

Test { id, date, desktopReport, 4 more } 

id?: string

UUID.

maxLength36

date?: string

formatdate-time

desktopReport?: [LighthouseReport](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20lighthouse%5Freport%20%3E%20%28schema%29) { cls, deviceType, error, 9 more } 

The Lighthouse report.

mobileReport?: [LighthouseReport](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20lighthouse%5Freport%20%3E%20%28schema%29) { cls, deviceType, error, 9 more } 

The Lighthouse report.

region?: [LabeledRegion](https://developers.cloudflare.com/api/typescript/resources/speed#%28resource%29%20speed%20%3E%20%28model%29%20labeled%5Fregion%20%3E%20%28schema%29) { label, value } 

A test region with a label.

scheduleFrequency?: "DAILY" | "WEEKLY"

The frequency of the test.

One of the following:

"DAILY"

"WEEKLY"

url?: string

A URL.

TestDeleteResponse { count } 

count?: number

Number of items affected.