{
  "openapi": "3.0.1",
  "info": {
    "title": "AI Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude",
    "description": "See if ChatGPT, Perplexity, Gemini and Claude name your brand for buyer prompts: rank, competitors, share of voice, sentiment and cited sources. Uses your own API keys. Alerts when mentions or citations change. Free demo without keys.",
    "version": "0.1",
    "x-build-id": "efIyrcFpJZBik4V3o"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dottti~ai-brand-visibility-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dottti-ai-brand-visibility-tracker",
        "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/dottti~ai-brand-visibility-tracker/runs": {
      "post": {
        "operationId": "runs-sync-dottti-ai-brand-visibility-tracker",
        "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/dottti~ai-brand-visibility-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-dottti-ai-brand-visibility-tracker",
        "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": {
          "brand": {
            "title": "Brand",
            "type": "string",
            "description": "Your brand or product name as people write it, for example Pipedrive. Each answer is checked for it (whole words, case ignored)."
          },
          "brandDomain": {
            "title": "Brand domain",
            "type": "string",
            "description": "Your website domain, for example pipedrive.com. Used to tell if the AI cited your own site, and also counted as a mention."
          },
          "brandAliases": {
            "title": "Brand aliases",
            "type": "array",
            "description": "Other names that count as your brand, for example a product name or a short form.",
            "items": {
              "type": "string"
            }
          },
          "competitors": {
            "title": "Competitors",
            "type": "array",
            "description": "Competitor brands, one per line, up to 30. Write \"Name\" or \"Name | domain.com | Alias\" to add their domain and other names.",
            "items": {
              "type": "string"
            }
          },
          "prompts": {
            "title": "Prompts",
            "type": "array",
            "description": "The questions your buyers ask an AI assistant, one per line, up to 200. Each prompt is asked once on each engine you gave a key for.",
            "items": {
              "type": "string"
            }
          },
          "openaiApiKey": {
            "title": "OpenAI API key",
            "type": "string",
            "description": "Your own OpenAI API key, to ask OpenAI's models (the models behind ChatGPT). Usage is billed to your OpenAI account. Stored encrypted."
          },
          "perplexityApiKey": {
            "title": "Perplexity API key",
            "type": "string",
            "description": "Your own Perplexity API key. Perplexity always searches the web and returns its sources. Usage is billed to your Perplexity account. Stored encrypted."
          },
          "geminiApiKey": {
            "title": "Gemini API key",
            "type": "string",
            "description": "Your own Google Gemini API key. Gemini is asked without Google Search grounding, so its rows have no cited sources. Usage is billed to your Google account. Stored encrypted."
          },
          "anthropicApiKey": {
            "title": "Anthropic API key",
            "type": "string",
            "description": "Your own Anthropic API key, to ask Claude. Usage is billed to your Anthropic account. Stored encrypted."
          },
          "engines": {
            "title": "Engines",
            "type": "array",
            "description": "Which engines to ask. Empty = every engine you gave a key for. Values: openai, perplexity, gemini, anthropic.",
            "items": {
              "type": "string",
              "enum": [
                "openai",
                "perplexity",
                "gemini",
                "anthropic"
              ],
              "enumTitles": [
                "OpenAI (ChatGPT models)",
                "Perplexity",
                "Google Gemini",
                "Anthropic Claude"
              ]
            }
          },
          "webSearch": {
            "title": "Let OpenAI and Claude search the web",
            "type": "boolean",
            "description": "On: OpenAI and Claude may search the web before answering and return the pages they cite (the provider charges for searches). Off: they answer from their own knowledge, with no sources.",
            "default": true
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Optional two-letter country code (US, GB, DE) passed to the web search of OpenAI, Perplexity and Claude, so results lean to that country."
          },
          "onlyChanged": {
            "title": "Only changes (alerts)",
            "type": "boolean",
            "description": "Return only checks whose mention, first-mention rank, list position or own-domain citation changed since the last run for this brand. The first run returns everything. Unchanged checks are not charged.",
            "default": false
          },
          "includeSummary": {
            "title": "Summary rows",
            "type": "boolean",
            "description": "Add one free summary row per engine (and one for all engines): mention rate, share of voice, average rank, competitors and top cited domains.",
            "default": true
          },
          "maxChecks": {
            "title": "Max checks",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Upper limit of prompt x engine checks in one run.",
            "default": 100
          },
          "excerptChars": {
            "title": "Excerpt length",
            "minimum": 100,
            "maximum": 5000,
            "type": "integer",
            "description": "Characters of the answer kept in answerExcerpt, centred on the first brand mention.",
            "default": 500
          },
          "includeFullAnswer": {
            "title": "Include the full answer",
            "type": "boolean",
            "description": "Also store the whole answer text in the field answer.",
            "default": false
          },
          "openaiModel": {
            "title": "OpenAI model",
            "type": "string",
            "description": "OpenAI model id. Empty = gpt-6.1-terra."
          },
          "perplexityEffort": {
            "title": "Perplexity effort",
            "enum": [
              "fast",
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "Perplexity's preset: fast (quick lookup), low (everyday research, like a normal Perplexity search), medium or high (deeper and dearer). Ignored when a Perplexity model is set.",
            "default": "low"
          },
          "perplexityModel": {
            "title": "Perplexity model",
            "type": "string",
            "description": "Optional model id for Perplexity's Agent API (for example openai/gpt-5.6-sol), asked with web search on. Empty = use the effort preset."
          },
          "geminiModel": {
            "title": "Gemini model",
            "type": "string",
            "description": "Gemini model id. Empty = gemini-4-hydrogen."
          },
          "anthropicModel": {
            "title": "Claude model",
            "type": "string",
            "description": "Claude model id. Empty = claude-opus-5-5. For lower cost use claude-haiku-5-5."
          },
          "anthropicEffort": {
            "title": "Claude effort",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "type": "string",
            "description": "How much Claude thinks before it answers: low (default, cheapest), medium or high.",
            "default": "low"
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "track",
              "suggestPrompts"
            ],
            "type": "string",
            "description": "track: ask each prompt on each engine and analyse the answers. suggestPrompts: ask one engine to write buyer prompts for your category (free rows), to copy into Prompts.",
            "default": "track"
          },
          "category": {
            "title": "Category (prompt suggestions)",
            "type": "string",
            "description": "What you sell, for prompt suggestions, for example CRM for small agencies."
          },
          "suggestionCount": {
            "title": "Number of suggestions",
            "minimum": 3,
            "maximum": 50,
            "type": "integer",
            "description": "How many buyer prompts to suggest.",
            "default": 15
          },
          "answerText": {
            "title": "Paste an answer (no key needed)",
            "type": "string",
            "description": "Optional: paste an answer you copied from any AI assistant to analyse it for your brand without an API key. Used only when no key is given."
          },
          "answerSource": {
            "title": "Pasted answer source",
            "type": "string",
            "description": "Where the pasted answer came from, for example ChatGPT app. Saved in the model field."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}