Skip to content

Return console logs summary on a given page

Request

POST /v3/web-audits/{auditId}/runs/{runId}/pages/{pageId}/console-log-summary

Get browser console logs summary for specified audit run page

Security
API_Key
Path
auditIdinteger, (int64)required

Unique identification number for web audit

Example:107239
runIdinteger, (int64)required

Unique identification number for web audit or journey run

Example:33010
pageIdstringrequired

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

Example:f9d32cc7cc2046d6decb145a80289287f5226323
Bodyapplication/json
includedLevelsArray of strings
Items Enum:"error""warn""info""debug""other"
searchstring

Filters logs by message and source with 'contains' predicate

POST
/v3/web-audits/{auditId}/runs/{runId}/pages/{pageId}/console-log-summary
curl -i -X POST \
  https://api.observepoint.com/v3/web-audits/107239/runs/33010/pages/f9d32cc7cc2046d6decb145a80289287f5226323/console-log-summary \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "includedLevels": [
      "error"
    ],
    "search": "string"
  }'

Responses

OK

Bodyapplication/json
errorLogCountintegerrequired
warnLogCountintegerrequired
debugLogCountintegerrequired
infoLogCountintegerrequired
Example:4
otherLogCountintegerrequireddeprecated

Deprecated, included only for backward compatibility, value is always 0

Response
{ "errorLogCount": 0, "warnLogCount": 0, "debugLogCount": 0, "infoLogCount": 4, "otherLogCount": 0 }