squirrelscan · Schema

AuditComparison

What changed between two completed audits of a website. Only the fields a CI client needs are listed; others may be present.

CompanyQASEOPerformanceSecurityAccessibility

Properties

Name Type Description
base objectnull The older run (`runId`, `reportId`, `auditedAt`, `healthScore`), or null for the first audit.
head object The newer run (`runId`, `reportId`, `auditedAt`, `healthScore`, `failed`, `warnings`, `passed`, `totalPages`, `status`, and `statusReasonCode` when the audit is `failed`, `blocked` or `partial`: `dns`
firstRun boolean True when there is no earlier completed audit: nothing is compared.
changed boolean
totals object Findings per kind, counted over every finding.
newBySeverity object Findings of kind `new` by rule severity (`error`, `warning`, `info`), counted over every finding.
findings array Rows, ordered new, worsened, resolved, improved, then the kinds asked for with `include`; clipped by `limit`.
findingsTruncated boolean
comparisonIncomplete boolean A report exceeded the comparison's finding cap: new and resolved counts are not reliable.
resolutionEvidence string
notes array
View JSON Schema on GitHub

JSON Schema

squirrelscan-com-audit-comparison-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/squirrelscan-com/json-schema/squirrelscan-com-audit-comparison-schema.json",
  "title": "AuditComparison",
  "description": "What changed between two completed audits of a website. Only the fields a CI client needs are listed; others may be present.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/squirrelscan-com-openapi.json#/components/schemas/AuditComparison",
  "type": "object",
  "properties": {
    "base": {
      "type": [
        "object",
        "null"
      ],
      "description": "The older run (`runId`, `reportId`, `auditedAt`, `healthScore`), or null for the first audit."
    },
    "head": {
      "type": "object",
      "description": "The newer run (`runId`, `reportId`, `auditedAt`, `healthScore`, `failed`, `warnings`, `passed`, `totalPages`, `status`, and `statusReasonCode` when the audit is `failed`, `blocked` or `partial`: `dns`, `tls`, `connection`, `timeout`, `http_4xx`, `http_5xx`, `redirect`, `robots`, `unknown`, `max_duration` or `crawl_timeout`)."
    },
    "firstRun": {
      "type": "boolean",
      "description": "True when there is no earlier completed audit: nothing is compared."
    },
    "changed": {
      "type": "boolean"
    },
    "totals": {
      "type": "object",
      "description": "Findings per kind, counted over every finding.",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "newBySeverity": {
      "type": "object",
      "description": "Findings of kind `new` by rule severity (`error`, `warning`, `info`), counted over every finding.",
      "additionalProperties": {
        "type": "integer"
      }
    },
    "findings": {
      "type": "array",
      "description": "Rows, ordered new, worsened, resolved, improved, then the kinds asked for with `include`; clipped by `limit`.",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "new",
              "resolved",
              "worsened",
              "improved",
              "unchanged",
              "still_open",
              "not_crawled",
              "not_checked"
            ]
          },
          "ruleId": {
            "type": "string"
          },
          "ruleName": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "pageUrl": {
            "type": [
              "string",
              "null"
            ]
          },
          "locator": {
            "type": [
              "string",
              "null"
            ]
          },
          "skipReason": {
            "type": "string",
            "description": "Why a `not_checked` finding was not judged."
          }
        },
        "additionalProperties": true
      }
    },
    "findingsTruncated": {
      "type": "boolean"
    },
    "comparisonIncomplete": {
      "type": "boolean",
      "description": "A report exceeded the comparison's finding cap: new and resolved counts are not reliable."
    },
    "resolutionEvidence": {
      "type": "string",
      "enum": [
        "page_findings",
        "signal",
        "none"
      ]
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "additionalProperties": true
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/squirrelscan-com-audit-comparison"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.