Skip to content

Return specific insight trend on a given page for all runs in the given duration (days)

Request

GET /v3/web-audits/{auditId}/pages/{pageId}/insight-trends/{trendName}
Security
API_Key
Path
auditIdinteger, (int64)required

Unique identification number for web audit

Example:107239
pageIdstringrequired

Unique identification number for web audit run-page, it is different from dcUUID

Example:f9d32cc7cc2046d6decb145a80289287f5226323
trendNamestringrequired

name of the insight trend type

Enum:"pageSize""pageLoadTime"
Example:pageSize
Query
dayinteger, [ 1 .. 390 ]required

how many days of run records should be included

Example:day=120
GET
/v3/web-audits/{auditId}/pages/{pageId}/insight-trends/{trendName}
curl -i -X GET \
  'https://api.observepoint.com/v3/web-audits/107239/pages/f9d32cc7cc2046d6decb145a80289287f5226323/insight-trends/pageSize?day=120' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

A array of page insights

Bodyapplication/json
Array [
runIdinteger, (int64)
runCompletionDatestring, (date-time)
trendNamestring
trendValueinteger, (int64)
]
Response
[ { "runId": 0, "runCompletionDate": "2019-08-24T14:15:22Z", "trendName": "string", "trendValue": 0 } ]