# Example: Simple Audit Runs Report This example queries your audit runs from the past 30 days, sorted by most recent audits on top, along with the number of pages scanned for each audit. # Request ```javascript POST to https://api.observepoint.com/v3/reports/grid/web-audit-runs { "columns": [ {"columnId": "AUDIT_ID"}, {"columnId": "AUDIT_RUN_ID"}, {"columnId": "AUDIT_PAGES_SCANNED"}, {"columnId": "RUN_COMPLETED_AT"}, {"columnId": "AUDIT_PAGES_SCANNED"} ], // Filter to only show audit runs that finished in the past 30 days from the current time "filters": { "conditionMatchMode": "all", "conditions": [ { "operator": "date_time_relative", "startDuration": 30, "startUnit": "day", "filteredColumn": { "columnId": "RUN_COMPLETED_AT" } } ], }, // Sort by the most recent audit runs on top (RUN_COMPLETED_AT) // Remember columnIndex starts at 0, so RUN_COMPLETED_AT is column 3 (the 4th column) "sortBy": [ { "columnIndex": 3, "sortDesc": true } ], "page": 0, "size": 10000 } ``` # Example Response JSON ```javascript Grid API Response JSON { "metadata": { "pagination": { "totalCount": 744, "totalPageCount": 1, "pageSize": 1000, "currentPageSize": 744, "currentPageNumber": 0 } }, "rows": [ [ 1293121, // Audit ID 6509803, // Run ID 100, // Number of pages "2025-07-03T18:14:59.000+00:00" // Run completed at ], [ 1128307, // Audit ID 6509797, // Run ID 100, // Number of pages "2025-07-03T18:13:35.000+00:00" // Run completed at ], [ 1128316, // Audit ID 6509798, // Run ID 100, // Number of pages "2025-07-03T18:13:34.000+00:00" // Run completed at ], ... // more rows omitted for brevity ] } ```