{
  "openapi": "3.0.1",
  "info": {
    "title": "Quora Monitor",
    "description": "Entity-agnostic Quora change monitoring (question, answer, profile, topic, or post) plus bounded Space metadata, feed, and contributor monitoring, with stateful diff evidence.",
    "version": "1.0",
    "x-build-id": "JaN7hTyMIovmOuwTp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~quora-monitor-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-quora-monitor-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/crawlerbros~quora-monitor-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-quora-monitor-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/crawlerbros~quora-monitor-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-quora-monitor-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",
        "properties": {
          "searchQueries": {
            "title": "Search phrases",
            "type": "array",
            "description": "Terms whose public discovery results should be checked.",
            "items": {
              "type": "string"
            }
          },
          "includeFeed": {
            "title": "Check Space feed",
            "type": "boolean",
            "description": "Check visible feed items for changes.",
            "default": true
          },
          "scrapeDepth": {
            "title": "Detail level",
            "enum": [
              "overview",
              "detail"
            ],
            "type": "string",
            "description": "Summary only, or summary plus visible feed and contributors.",
            "default": "detail"
          },
          "feedTab": {
            "title": "Space feed section",
            "enum": [
              "all",
              "posts",
              "questions",
              "top",
              "unanswered",
              "about",
              "rules"
            ],
            "type": "string",
            "description": "Choose which visible Space section to monitor.",
            "default": "all"
          },
          "includeContributors": {
            "title": "Check Space contributors",
            "type": "boolean",
            "description": "Check visible Space contributors for changes.",
            "default": false
          },
          "maxFeedItems": {
            "title": "Maximum feed items",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum visible feed items checked in each Space.",
            "default": 50
          },
          "maxContributors": {
            "title": "Maximum contributors",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum visible contributors checked in each Space.",
            "default": 50
          },
          "maxFeedQuestionExpansions": {
            "title": "Maximum feed questions to expand",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "When Scrape Depth is detail, bounded number of question-type feed items to open and expand into full question fields (question_id, question_answer_count, question_view_count, question_details, question_created_at, question_updated_at). Zero keeps the feed-digest-only behavior.",
            "default": 0
          },
          "includeFeedText": {
            "title": "Collect feed text",
            "type": "boolean",
            "description": "Include visible feed text evidence.",
            "default": true
          },
          "includeMedia": {
            "title": "Collect images and videos",
            "type": "boolean",
            "description": "Include visible media URLs when present.",
            "default": false
          },
          "includeOutboundLinks": {
            "title": "Collect external links",
            "type": "boolean",
            "description": "Include bounded outbound links from feed cards.",
            "default": false
          },
          "includeRules": {
            "title": "Collect Space rules",
            "type": "boolean",
            "description": "Keep visible Space rules and participation requirements.",
            "default": true
          },
          "includeTopics": {
            "title": "Include Topic records",
            "type": "boolean",
            "description": "Keep visible Topic labels and links associated with a watched page or Space.",
            "default": true
          },
          "includeSettings": {
            "title": "Collect Space settings",
            "type": "boolean",
            "description": "Check visible Space rules and settings when rendered.",
            "default": false
          },
          "onlyNewItems": {
            "title": "Only new or changed items",
            "type": "boolean",
            "description": "Requires an Apify state store; unchanged records are omitted.",
            "default": false
          },
          "includeUnchanged": {
            "title": "Include unchanged items",
            "type": "boolean",
            "description": "Return records even when no visible change was detected.",
            "default": true
          },
          "stateRetentionDays": {
            "title": "Keep monitoring history for (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Opt-in age-based pruning for unseen state snapshots; zero disables pruning.",
            "default": 0
          },
          "language": {
            "title": "Content language",
            "enum": [
              "auto",
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "ja",
              "ko",
              "zh",
              "hi",
              "tr",
              "ru",
              "en-US",
              "en-GB",
              "de-DE",
              "fr-FR",
              "es-ES",
              "pt-BR",
              "it-IT",
              "ja-JP",
              "ko-KR",
              "zh-CN",
              "zh-TW",
              "hi-IN",
              "tr-TR",
              "ru-RU"
            ],
            "type": "string",
            "description": "Choose the Quora language version to request when available. This selects page language; it does not translate content.",
            "default": "auto"
          },
          "cookies": {
            "title": "Quora browser cookies (optional)",
            "type": "array",
            "description": "Optional cookies from a Quora session you are authorized to use. Public monitoring is attempted without cookies first.",
            "items": {
              "type": "object"
            }
          },
          "outputFields": {
            "title": "Fields to include",
            "maxItems": 3000,
            "type": "array",
            "description": "Optional export selection for API users. Leave empty to return every observed buyer-relevant field; fields absent from a page are omitted.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "directUrls": {
            "title": "Quora URLs to collect",
            "type": "array",
            "description": "Public Space, question, answer, profile, topic, or post URLs.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum records returned across watched sources.",
            "default": 100
          },
          "changeDetail": {
            "title": "Change details",
            "enum": [
              "hash_only",
              "field_summary",
              "field_values",
              "hash_and_summary"
            ],
            "type": "string",
            "description": "Choose whether to return hashes, changed fields, or previous/current values.",
            "default": "hash_and_summary"
          },
          "includeAccessIssues": {
            "title": "Show unavailable sources",
            "type": "boolean",
            "description": "Add one clearly labelled row for each page Quora did not make available. Leave off for a clean content-only dataset.",
            "default": false
          },
          "historyName": {
            "title": "Monitoring history name",
            "type": "string",
            "description": "Optional stable name for comparing this source across scheduled runs.",
            "default": ""
          },
          "maxResultsPerSource": {
            "title": "Maximum records per source",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum records collected from each URL or search source before moving to the next source.",
            "default": 0
          },
          "reachMode": {
            "title": "How hard to try for access",
            "enum": [
              "standard",
              "maximum",
              "direct"
            ],
            "type": "string",
            "description": "Standard is the cost-conscious default. Maximum reach uses stronger routing when available. Direct connection is mainly useful when you already control the connection.",
            "default": "standard"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}