{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Brand Visibility Tracker with Significance Alerts",
    "description": "Track your brand's visibility in AI-generated answers. Monitor competitors, citations, mention rates and statistically significant changes. Generate actionable GEO reports with transparent pricing, multilingual analysis and your own API key.",
    "version": "0.1",
    "x-build-id": "wXabtJcdhsG5zSovu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moneyhunterlabs~ai-brand-visibility-alerts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moneyhunterlabs-ai-brand-visibility-alerts",
        "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/moneyhunterlabs~ai-brand-visibility-alerts/runs": {
      "post": {
        "operationId": "runs-sync-moneyhunterlabs-ai-brand-visibility-alerts",
        "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/moneyhunterlabs~ai-brand-visibility-alerts/run-sync": {
      "post": {
        "operationId": "run-sync-moneyhunterlabs-ai-brand-visibility-alerts",
        "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": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "demo",
              "managed",
              "byok"
            ],
            "type": "string",
            "description": "<b>demo</b>: free sample report with clearly labelled fictional test data (no AI calls). <b>managed</b>: we run the AI queries for you, billed per answer. <b>byok</b>: use your own API keys, lower price per answer, you pay the AI provider directly.",
            "default": "demo"
          },
          "brand": {
            "title": "Your brand",
            "type": "string",
            "description": "Brand or product name exactly as customers write it."
          },
          "brandAliases": {
            "title": "Alternative spellings",
            "type": "array",
            "description": "Other names, abbreviations or translations (accents and capitalisation are ignored automatically).",
            "items": {
              "type": "string"
            }
          },
          "brandDomains": {
            "title": "Your website domains",
            "type": "array",
            "description": "Used to detect when AI answers cite your website, e.g. example.com. Add country domains too (example.de, example.co.uk).",
            "items": {
              "type": "string"
            }
          },
          "competitors": {
            "title": "Competitors",
            "type": "array",
            "description": "Names, or objects like {\"name\": \"Acme\", \"aliases\": [\"Acme Inc\"], \"domains\": [\"acme.com\"]}. Max 20."
          },
          "category": {
            "title": "Product category",
            "type": "string",
            "description": "We generate typical buyer questions automatically, e.g. \"project management software\". Ignored if you enter your own prompts."
          },
          "categoryTranslations": {
            "title": "Category in other languages",
            "type": "object",
            "description": "Optional, e.g. {\"de\": \"Projektmanagement-Software\"}. Otherwise the English term is used."
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Languages for the generated questions: en, de, fr, es, it.",
            "default": [
              "en"
            ],
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City or region (optional)",
            "type": "string",
            "description": "For local businesses, e.g. \"Berlin\"."
          },
          "country": {
            "title": "Country code (optional)",
            "type": "string",
            "description": "ISO code such as US, GB, DE. Added as context to the question."
          },
          "prompts": {
            "title": "Your own prompts (optional)",
            "type": "array",
            "description": "Exact questions to ask. Replaces the generated questions. Max 50.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "AI engines",
            "type": "array",
            "description": "openai, perplexity, gemini (managed and byok); anthropic (byok only).",
            "default": [
              "openai",
              "perplexity",
              "gemini"
            ],
            "items": {
              "type": "string"
            }
          },
          "samples": {
            "title": "Repetitions per question",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "AI answers vary. Asking each question several times makes the numbers reliable. 3 is a good default.",
            "default": 3
          },
          "models": {
            "title": "Model override (advanced)",
            "type": "object",
            "description": "Optional, e.g. {\"openai\": \"gpt-6-luna\"}."
          },
          "openaiApiKey": {
            "title": "OpenAI API key",
            "type": "string",
            "description": "Only for byok mode."
          },
          "perplexityApiKey": {
            "title": "Perplexity API key",
            "type": "string",
            "description": "Only for byok mode."
          },
          "geminiApiKey": {
            "title": "Google Gemini API key",
            "type": "string",
            "description": "Only for byok mode."
          },
          "anthropicApiKey": {
            "title": "Anthropic API key",
            "type": "string",
            "description": "Only for byok mode."
          },
          "maxApiCostUsd": {
            "title": "Max API spend per run on your keys (USD)",
            "minimum": 0.01,
            "type": "number",
            "description": "Byok only: the run stops before your own AI provider costs could exceed this amount.",
            "default": 1
          },
          "project": {
            "title": "Project name (optional)",
            "type": "string",
            "description": "History is stored per project in a named key-value store in your account. Defaults to the brand name."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}