{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Play Reviews & App Feedback Analyzer",
    "description": "Collect bounded Google Play reviews and turn them into structured app feedback, issue clusters, aggregate reports, and cautious release-impact signals.",
    "version": "0.1",
    "x-build-id": "sc1GqnsyzSNSkb4mI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/obliging_persimmon_cki~google-play-feedback-analyzer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-obliging_persimmon_cki-google-play-feedback-analyzer",
        "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/obliging_persimmon_cki~google-play-feedback-analyzer/runs": {
      "post": {
        "operationId": "runs-sync-obliging_persimmon_cki-google-play-feedback-analyzer",
        "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/obliging_persimmon_cki~google-play-feedback-analyzer/run-sync": {
      "post": {
        "operationId": "run-sync-obliging_persimmon_cki-google-play-feedback-analyzer",
        "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": [
          "appIds"
        ],
        "properties": {
          "mode": {
            "title": "Run mode",
            "enum": [
              "reviews",
              "releaseImpact"
            ],
            "type": "string",
            "description": "Collect review records or generate a bounded observational report around an app release.",
            "default": "reviews"
          },
          "appIds": {
            "title": "Android package IDs",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "One or more public Google Play Android package IDs.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]+$"
            },
            "default": [
              "com.todoist"
            ]
          },
          "language": {
            "title": "Review language",
            "pattern": "^[a-zA-Z]{2,3}$",
            "type": "string",
            "description": "Google Play language parameter used for page labels, dates, and localized review content.",
            "default": "en"
          },
          "country": {
            "title": "Google Play country",
            "pattern": "^[a-zA-Z]{2}$",
            "type": "string",
            "description": "Two-letter Google Play country/market parameter.",
            "default": "US"
          },
          "languages": {
            "title": "Release-impact languages",
            "maxItems": 20,
            "type": "array",
            "description": "Optional language list used by releaseImpact mode; the public Store page is requested for each language.",
            "items": {
              "type": "string",
              "pattern": "^[a-zA-Z]{2,3}$"
            }
          },
          "countries": {
            "title": "Release-impact countries",
            "maxItems": 20,
            "type": "array",
            "description": "Optional country list used by releaseImpact mode; the public Store page is requested for each country.",
            "items": {
              "type": "string",
              "pattern": "^[a-zA-Z]{2}$"
            }
          },
          "maxReviewsPerApp": {
            "title": "Maximum reviews per app",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap applied after parsing the server-rendered review sample.",
            "default": 50
          },
          "sort": {
            "title": "Review sort",
            "enum": [
              "mostRelevant",
              "newest"
            ],
            "type": "string",
            "description": "Requested public Store ordering. The current HTML path observes the page default; sort is recorded for diagnostics.",
            "default": "mostRelevant"
          },
          "useBrowserFallback": {
            "title": "Use browser fallback",
            "type": "boolean",
            "description": "Reserved for the later browser-expansion phase. Phase 8 remains HTTP-only.",
            "default": false
          },
          "requestTimeoutSecs": {
            "title": "Request timeout seconds",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout for each public Store request.",
            "default": 30
          },
          "debug": {
            "title": "Debug logging",
            "type": "boolean",
            "description": "Emit the normalized input in debug logs for local troubleshooting; do not enable unnecessarily in production.",
            "default": false
          },
          "release": {
            "title": "Release",
            "type": "object",
            "description": "Release metadata required by releaseImpact mode.",
            "properties": {
              "version": {
                "title": "Version",
                "description": "Optional released app version used for report context.",
                "type": "string",
                "default": ""
              },
              "releasedAt": {
                "title": "Released at",
                "description": "ISO date-time used as the non-overlapping before/after boundary.",
                "type": "string",
                "default": ""
              }
            }
          },
          "daysBefore": {
            "title": "Days before release",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Number of calendar days included before the release boundary in releaseImpact mode.",
            "default": 14
          },
          "daysAfter": {
            "title": "Days after release",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Number of calendar days included after the release boundary in releaseImpact mode.",
            "default": 14
          },
          "maxReviewsPerPeriod": {
            "title": "Maximum reviews per release period",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Bound applied to each public Store request in releaseImpact mode.",
            "default": 100
          },
          "analysis": {
            "title": "Shared analysis",
            "type": "object",
            "description": "Run the shared deterministic analysis core. No external provider is configured in this phase.",
            "properties": {
              "enabled": {
                "title": "Enabled",
                "description": "Attach a shared-core analysis result to each review.",
                "type": "boolean",
                "default": true
              },
              "outputLanguage": {
                "title": "Output language",
                "description": "Use English summaries or preserve the original-language setting.",
                "type": "string",
                "enum": [
                  "english",
                  "original"
                ],
                "default": "english"
              },
              "maxAttempts": {
                "title": "Provider attempts",
                "description": "Retry budget reserved for a future external provider.",
                "type": "integer",
                "minimum": 1,
                "maximum": 3,
                "default": 2
              }
            }
          },
          "aggregation": {
            "title": "Clustering and reports",
            "type": "object",
            "description": "Group actionable feedback per app, emit dataset summaries, and store one aggregate report per app.",
            "properties": {
              "enabled": {
                "title": "Enabled",
                "description": "Emit cluster and aggregate records and store per-app reports.",
                "type": "boolean",
                "default": true
              },
              "minimumClusterSize": {
                "title": "Minimum cluster size",
                "description": "Minimum number of similar actionable reviews required for a cluster.",
                "type": "integer",
                "minimum": 1,
                "maximum": 100,
                "default": 2
              },
              "comparison": {
                "title": "Release comparison",
                "description": "Optional observational before/after comparison around a release timestamp.",
                "type": "object",
                "properties": {
                  "enabled": {
                    "title": "Enabled",
                    "description": "Emit a before/after comparison report when a release timestamp is supplied.",
                    "type": "boolean",
                    "default": false
                  },
                  "releasedAt": {
                    "title": "Released at",
                    "description": "ISO date-time used as the boundary between before and after windows.",
                    "type": "string",
                    "default": ""
                  },
                  "daysBefore": {
                    "title": "Days before",
                    "description": "Number of calendar days included before the release boundary.",
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 365,
                    "default": 14
                  },
                  "daysAfter": {
                    "title": "Days after",
                    "description": "Number of calendar days included after the release boundary.",
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 365,
                    "default": 14
                  }
                }
              }
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}