{
  "openapi": "3.0.1",
  "info": {
    "title": "Feed Quality Monitor: RSS, Atom & JSON QA",
    "description": "Audit up to 20 public RSS, Atom, RDF/RSS, or JSON Feed endpoints. Detect broken delivery, malformed feeds, stale content, missing fields, duplicates, invalid URLs and dates, and entry-limit truncation; export normalized entries plus reusable ETag and Last-Modified state.",
    "version": "0.2",
    "x-build-id": "q4D87qQouAF5afdn3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sassy_labs~feed-quality-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sassy_labs-feed-quality-monitor",
        "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~feed-quality-monitor/runs": {
      "post": {
        "operationId": "runs-sync-sassy_labs-feed-quality-monitor",
        "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~feed-quality-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-sassy_labs-feed-quality-monitor",
        "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": [
          "feeds"
        ],
        "properties": {
          "feeds": {
            "title": "Feed targets",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "One to twenty public feed URLs. Paste the returned cache state into a later run to make a conditional request. Validators are sent only to the exact requested URL and are dropped on redirects.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "url": {
                  "title": "Public feed URL",
                  "description": "Public HTTP(S) RSS, Atom, RDF/RSS, or JSON Feed endpoint on port 80 or 443.",
                  "type": "string",
                  "editor": "textfield",
                  "minLength": 8,
                  "maxLength": 2048
                },
                "etag": {
                  "title": "Prior ETag",
                  "description": "Optional ETag returned by an earlier run. It is sent as If-None-Match only to this exact requested URL.",
                  "type": "string",
                  "editor": "textfield",
                  "maxLength": 512
                },
                "lastModified": {
                  "title": "Prior Last-Modified",
                  "description": "Optional HTTP date returned by an earlier run. It is sent as If-Modified-Since only to this exact requested URL.",
                  "type": "string",
                  "editor": "textfield",
                  "maxLength": 256
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "timeoutSeconds": {
            "title": "Timeout per request",
            "minimum": 3,
            "maximum": 60,
            "type": "integer",
            "description": "Hard network timeout per redirect hop.",
            "default": 20
          },
          "maxRedirects": {
            "title": "Maximum redirects",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Every redirect destination is DNS-resolved and public-network validated before it is requested.",
            "default": 5
          },
          "maxFeedBytes": {
            "title": "Maximum feed bytes",
            "minimum": 10000,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stops a decoded response stream before it can consume unbounded memory.",
            "default": 5000000
          },
          "maxEntriesPerFeed": {
            "title": "Maximum entries per feed",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Entries beyond this limit are explicitly reported as truncated and fail the feed health receipt.",
            "default": 500
          },
          "staleAfterHours": {
            "title": "Stale after",
            "minimum": 1,
            "maximum": 8760,
            "type": "integer",
            "description": "Fail when the newest valid entry or feed date is older than this threshold. Missing date evidence is unknown, never guessed.",
            "default": 168
          },
          "concurrency": {
            "title": "Concurrent feed requests",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Maximum simultaneous bounded feed requests.",
            "default": 4
          },
          "requiredFeedFields": {
            "title": "Required feed fields",
            "maxItems": 2,
            "uniqueItems": true,
            "type": "array",
            "description": "Missing selected feed-level fields fail the feed. Supported values are title and homePageUrl.",
            "items": {
              "type": "string"
            },
            "default": [
              "title"
            ]
          },
          "requiredEntryFields": {
            "title": "Required entry fields",
            "maxItems": 3,
            "uniqueItems": true,
            "type": "array",
            "description": "Missing selected normalized entry fields fail that entry and its parent feed.",
            "items": {
              "type": "string"
            },
            "default": [
              "title",
              "url",
              "date"
            ]
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}