# Return network requests fired on a given page GET /v3/web-audits/{auditId}/runs/{runId}/pages/{pageId}/request-log Get request logs from specified audit run on a given page Endpoint: GET /v3/web-audits/{auditId}/runs/{runId}/pages/{pageId}/request-log Security: API_Key ## Path parameters: - `auditId` (integer, required) Unique identification number for web audit Example: 107239 - `runId` (integer, required) Unique identification number for web audit or journey run Example: 33010 - `pageId` (string, required) Unique identification number for web audit run-page, it is different from dcUUID Example: "f9d32cc7cc2046d6decb145a80289287f5226323" ## Query parameters: - `page` (integer) Number of results page of an endpoint with paginated results - `size` (integer) - `sortBy` (string) Enum: "request_start_time", "request_url", "tag_name", "mime_type", "response_size", "load_time", "status_code", "geo", "date_difference", "size_difference", "started_at" - `sortDesc` (boolean) Controls sorting order - `search` (string) Filters results by a search string - `showPreAuditActionRequests` (boolean) Filters results by cookie origin type - `showFileChanges` (boolean) For privacy customers, when file changes are requested, we show the changes of the files between previous run and current run. ## Response 200 fields (application/json): - `metadata` (object, required) Common metadata for iterable - `metadata.pagination` (object, required) - `metadata.pagination.totalCount` (integer, required) Total number of items available from all result pages combined - `metadata.pagination.totalPageCount` (integer, required) Total number of pages available - `metadata.pagination.pageSize` (integer, required) Page size - number of items per result page configured by query parameter or default page size - `metadata.pagination.currentPageSize` (integer, required) Number of items in current result page - `metadata.pagination.currentPageNumber` (integer, required) Current page number/ordinal - `requests` (array, required) - `requests.resourceType` (string) The type of resource that was requested. e.g. 'xhr', 'script', 'image', 'stylesheet', 'font', 'document', 'other'. Available since [WORK-24937](https://observepoint.atlassian.net/browse/WORK-24937) - `requests.method` (string) The HTTP method used for the request - `requests.serverIPAddress` (string) The IP address of the server that responded to the request - `requests.httpVersion` (string) The HTTP version used for the request (e.g. 'HTTP/1.1') - `requests.requestUrl` (string, required) - `requests.statusCode` (integer, required) HTTP status code of network request - `requests.loadTime` (number, required) Time took for network request to execute, in milliseconds - `requests.geoLocationInfo` (object) - `requests.geoLocationInfo.countryCode` (string, required) ISO 3166-1 (Alpha-2) country code Example: "US" - `requests.geoLocationInfo.countryName` (string, required) - `requests.tag` (object) Common tag info - `requests.tag.tagId` (integer, required) Tag ID - `requests.tag.tagName` (string, required) Tag name - `requests.tag.tagCategoryId` (integer, required) Tag category ID - `requests.tag.tagCategoryName` (string, required) Name of a category of a tag - `requests.mimeType` (string) - `requests.fileInfo` (object) - `requests.fileInfo.lastModifiedDate` (string) Date-time in [RFC3339 profile ISO 8601 format](https://www.ietf.org/rfc/rfc3339.txt) with the following additional restrictions: 1. An uppercase T must separate the date and time portions. 2. An uppercase Z must denote that a numeric time zone offset isn't present. In general, these timestamp requirements are the same in [AWS Step Functions - Choice Rules](https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-choice-state.html) Example: "2016-08-18T17:33:00Z" - `requests.fileInfo.filename` (string, required) Name of the file. Identified as the last non-empty part of URL path Example: "main.js" - `requests.fileInfo.requestDomain` (string, required) Network request URL domain Example: "example.com" - `requests.fileChange` (object) Available only for JavaScript files for now. Provided only for customers that have Privacy features available. - `requests.fileChange.fileChangeType` (string, required) Enum: "new_file", "not_changed", "changed_file", "deleted_file", "unknown" - `requests.fileChange.largestDateDifference` (integer) Number of minutes for date difference between 2 file versions, can be negative - `requests.fileChange.largestSizeDifference` (integer) File size change in number of bytes between 2 file versions, can be negative - `requests.responseSizeBytes` (integer) - `requests.origin` (string,null) Enum: "PRE_AUDIT_ACTION", "ON_PAGE" - `requests.relatedCookies` (array) - `requests.relatedCookies.name` (string) - `requests.relatedCookies.domain` (string) - `requests.relatedCookies.path` (string) - `requests.blockingResults` (object) (Optional) Present if the request was blocked. TagId and Tag Category Id not included here since RequestLog's tag will have that information. - `requests.blockingResults.urlSignature` (string) (Optional) Present if the blockedReason is . We do not expose tag signatures to clients. - `requests.blockingResults.blockReason` (string, required) Enum: "tag_id", "tag_category", "url_signature" - `requests.startedAt` (string) Date-time in [RFC3339 profile ISO 8601 format](https://www.ietf.org/rfc/rfc3339.txt) with the following additional restrictions: 1. An uppercase T must separate the date and time portions. 2. An uppercase Z must denote that a numeric time zone offset isn't present. In general, these timestamp requirements are the same in [AWS Step Functions - Choice Rules](https://docs.aws.amazon.com/step-functions/latest/dg/amazon-states-language-choice-state.html) Example: "2016-08-18T17:33:00Z" - `requests.startedAtRelativeToPageNavigation` (integer) - `requests.geoLocation` (string) Use property instead. It will be renamed to soon - `requests.tagId` (integer) Use property instead ## Response 400 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 401 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 404 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object)