# Return a list of pages with JS variables GET /v3/web-audits/{auditId}/runs/{runId}/javascript-variables Get all JS variables found on all the pages in a given audit run Endpoint: GET /v3/web-audits/{auditId}/runs/{runId}/javascript-variables 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 ## Query parameters: - `size` (integer) Number of items to be returned at once - `startAfterPageId` (string) Offset result, start from pageId next to . To fetch first page, don't supply this parameter. To fetch subsequent pages, supply from previous response Example: "f9d32cc7cc2046d6decb145a80289287f5226323" ## Response 200 fields (application/json): - `metadata` (object, required) Metadata for iterable results from S3 - `metadata.pagination` (object, required) Represents pagination metadata for results from S3, where each result page contains multiple pageIds. It's not possible to efficiently get total count of files in S3, so metadata is missing fields like and - `metadata.pagination.pageSize` (integer, required) Page size - number of items per result page configured by query parameter or default page size Example: 50 - `metadata.pagination.currentPageSize` (integer, required) Number of items in current result page Example: 1 - `metadata.pagination.lastPageId` (string,null, required) Last pageId on current result page, pass it as query param to retrieve next page. Null if no items were returned Example: "f9d32cc7cc2046d6decb145a80289287f5226323" - `pages` (array, required) - `pages.pageId` (string, required) Example: "f9d32cc7cc2046d6decb145a80289287f5226323" - `pages.pageUrl` (string, required) Example: "https://example.com/about" - `pages.pageInitialStatusCode` (integer, required) Page HTTP status code - `pages.pageFinalStatusCode` (integer, required) Page HTTP status code - `pages.variables` (array, required) All JS variables found on specific page - `pages.variables.name` (string, required) Name of collected JS variable Example: "dataLayer" - `pages.variables.value` (object,null, required) Raw value of collected JS variable as it appeared on a page. Can be any value - string, number, boolean, array, object or ## 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)