{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Release QA: SEO, Links & Screenshots",
    "description": "Check 1–10 public pages before launch. Render in Chromium, capture screenshots, test redirects and internal links, and verify SEO, indexability, image-alt, landmark, and form-label rules with deterministic pass, fail, or unknown evidence.",
    "version": "0.2",
    "x-build-id": "LuBv99nOCgAho3kD6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sassy_labs~website-release-qa/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sassy_labs-website-release-qa",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/sassy_labs~website-release-qa/runs": {
      "post": {
        "operationId": "runs-sync-sassy_labs-website-release-qa",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/sassy_labs~website-release-qa/run-sync": {
      "post": {
        "operationId": "run-sync-sassy_labs-website-release-qa",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "urls"
        ],
        "properties": {
          "urls": {
            "title": "Public page URLs",
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "description": "One to ten public HTTP(S) pages. Duplicate entries are audited once. Local, private-network, credential-bearing, and non-standard-port URLs are rejected.",
            "items": {
              "type": "string",
              "minLength": 8,
              "maxLength": 2048
            }
          },
          "timeoutSeconds": {
            "title": "Page timeout",
            "minimum": 3,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum navigation or internal-link request time.",
            "default": 20
          },
          "maxRedirects": {
            "title": "Maximum redirects",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "A page or sampled link fails its redirect check if this limit is exceeded.",
            "default": 5
          },
          "maxInternalLinksPerPage": {
            "title": "Internal links checked per page",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum unique same-origin links checked from each rendered page. Set to zero to disable link requests.",
            "default": 20
          },
          "internalLinkConcurrency": {
            "title": "Internal-link concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Maximum simultaneous bounded link probes.",
            "default": 4
          },
          "minTitleChars": {
            "title": "Minimum title length",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Fail when the normalized document title is shorter than this value.",
            "default": 10
          },
          "maxTitleChars": {
            "title": "Maximum title length",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Fail when the normalized document title is longer than this value.",
            "default": 60
          },
          "minMetaDescriptionChars": {
            "title": "Minimum meta-description length",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Fail when the normalized meta description is shorter than this value.",
            "default": 50
          },
          "maxMetaDescriptionChars": {
            "title": "Maximum meta-description length",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Fail when the normalized meta description is longer than this value.",
            "default": 160
          },
          "minImageAltCoveragePercent": {
            "title": "Minimum image alt coverage",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Percentage of img elements that must include an alt attribute. Empty alt attributes count as explicit decorative treatment.",
            "default": 95
          },
          "requireCanonical": {
            "title": "Require canonical URL",
            "type": "boolean",
            "description": "Fail when no valid HTTP(S) canonical link is present.",
            "default": true
          },
          "requireSameOriginCanonical": {
            "title": "Require same-origin canonical",
            "type": "boolean",
            "description": "Fail when a canonical URL points to a different origin.",
            "default": true
          },
          "requireSingleH1": {
            "title": "Require exactly one H1",
            "type": "boolean",
            "description": "When disabled, at least one H1 is still required.",
            "default": true
          },
          "requireMainLandmark": {
            "title": "Require a main landmark",
            "type": "boolean",
            "description": "Require at least one main element or role=main landmark.",
            "default": true
          },
          "requireFormLabels": {
            "title": "Require accessible form labels",
            "type": "boolean",
            "description": "Require every non-hidden form control to have a label or accessible name.",
            "default": true
          },
          "captureScreenshots": {
            "title": "Capture viewport screenshots",
            "type": "boolean",
            "description": "Save one PNG viewport screenshot per successfully rendered page to the run's key-value store.",
            "default": true
          },
          "viewportWidth": {
            "title": "Viewport width",
            "minimum": 320,
            "maximum": 1920,
            "type": "integer",
            "description": "Chromium viewport width used for rendering and screenshots.",
            "default": 1440
          },
          "viewportHeight": {
            "title": "Viewport height",
            "minimum": 320,
            "maximum": 1440,
            "type": "integer",
            "description": "Chromium viewport height used for rendering and screenshots.",
            "default": 900
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}