{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B SaaS & App Review Churn Radar & Weakness Scraper Pro",
    "description": "Extract 1-3 star customer reviews across Shopify App Store, Atlassian Marketplace, and WordPress.org. Computes 7-bucket pain taxonomy, vendor reply latency, churn severity scores (0-100), and outbound battlecards at $1.50/1k base dossiers.",
    "version": "1.0",
    "x-build-id": "XGZizEB4EUAwUkkPJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/voxatools~b2b-review-sentiment-churn-radar-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-voxatools-b2b-review-sentiment-churn-radar-scraper",
        "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/voxatools~b2b-review-sentiment-churn-radar-scraper/runs": {
      "post": {
        "operationId": "runs-sync-voxatools-b2b-review-sentiment-churn-radar-scraper",
        "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/voxatools~b2b-review-sentiment-churn-radar-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-voxatools-b2b-review-sentiment-churn-radar-scraper",
        "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": [
          "targets"
        ],
        "properties": {
          "targets": {
            "title": "Marketplace App Targets (Shopify, Atlassian, WordPress)",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "List of app identifiers prefixed by marketplace (\"shopify:klaviyo-email-marketing\", \"atlassian:is.origo.jira.tempo-plugin\", \"wordpress:woocommerce\") or canonical allowlisted HTTPS URLs.",
            "default": [
              "shopify:klaviyo-email-marketing"
            ],
            "items": {
              "type": "string"
            }
          },
          "executionProfile": {
            "title": "Execution Profile",
            "enum": [
              "SAFE_BATCH",
              "FAST_TRIAGE",
              "DEEP_FORENSIC"
            ],
            "type": "string",
            "description": "Controls request pacing and sample depth: SAFE_BATCH (balanced concurrency 4 with retries), FAST_TRIAGE (low-latency triage sample), or DEEP_FORENSIC (max pagination depth within maxReviewsPerTarget).",
            "default": "SAFE_BATCH"
          },
          "executionMode": {
            "title": "Execution Mode (Modular PPE Scope)",
            "enum": [
              "CHURN_DOSSIER_FULL",
              "CHURN_DOSSIER_BASE",
              "TAXONOMY_ONLY",
              "BATTLECARD_ONLY"
            ],
            "type": "string",
            "description": "Selects billing and intelligence bundle: CHURN_DOSSIER_FULL ($2.10/1k), CHURN_DOSSIER_BASE ($1.50/1k), TAXONOMY_ONLY ($1.80/1k), or BATTLECARD_ONLY ($1.80/1k).",
            "default": "CHURN_DOSSIER_FULL"
          },
          "includeTaxonomyPack": {
            "title": "Include MECE 7-Bucket (6+1) Negative Review Taxonomy Pack (+$0.30/1k)",
            "type": "boolean",
            "description": "Enables deterministic 7-bucket pain classification and switching-intent counts on sampled 1-3 star reviews when compatible with executionMode.",
            "default": true
          },
          "includeCompetitorBattlecard": {
            "title": "Include Competitor Battlecard & Poach Hook (+$0.30/1k)",
            "type": "boolean",
            "description": "Enables closed-form churnSeverityScoreV1 (0-100), churn grade, and B2B outbound poach hooks when signal coverage is at least 0.60.",
            "default": true
          },
          "maxReviewsPerTarget": {
            "title": "Max Reviews Sampled Per Target",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of 1-3 star negative reviews sampled per app target (1 to 100, default 20) to bound latency and payload size.",
            "default": 20
          },
          "maxTargetsPerRun": {
            "title": "Max Targets Per Run",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of deduplicated marketplace app targets processed in a single run (1 to 50, default 10) for deterministic cost control.",
            "default": 10
          },
          "starRangeMax": {
            "title": "Max Star Rating Included (Churn Filter 1..3★)",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Upper star threshold for churn review extraction, strictly capped at 3 stars so dossiers isolate negative complaints without 4-5 star dilution.",
            "default": 3
          },
          "onlyNewOrChangedChurnSignalsSinceLastRun": {
            "title": "Incremental Churn Diff Radar (KVS Delta Mode)",
            "type": "boolean",
            "description": "Compares each extracted churn dossier against VOXA-REVIEW-CHURN-RADAR-STATE and reports FIRST_RUN_BASELINE, NEW_CHURN_SPIKE, TAXONOMY_SHIFT, REPLY_LATENCY_DEGRADED, NO_MATERIAL_CHANGE, or DEGRADED_FREEZE.",
            "default": false
          },
          "monitorStoreName": {
            "title": "Persistent Churn Radar Store Name (Cross-Run KVS)",
            "pattern": "^[a-zA-Z0-9][a-zA-Z0-9-]{0,62}$",
            "maxLength": 63,
            "type": "string",
            "description": "Named Apify Key-Value Store used to persist VOXA-REVIEW-CHURN-RADAR-STATE across independent runs for delta radar tracking. Defaults to voxa-review-churn-radar-state; customize to isolate separate monitoring suites while keeping billing journals and OUTPUT run-scoped.",
            "default": "voxa-review-churn-radar-state"
          },
          "maxChargedUsd": {
            "title": "Max Charged USD Budget Guardrail",
            "minimum": 0.01,
            "type": "number",
            "description": "Atomic pre-push Pay-Per-Event spending ceiling in USD ($0.01 minimum, $5.00 default) enforced before pushing each dataset item.",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Default Disabled — $0 Direct HTTP)",
            "type": "object",
            "description": "Apify Proxy settings defaulting to useApifyProxy: false for zero extra proxy fees during direct marketplace HTTP and REST API retrieval.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}