{
  "openapi": "3.0.1",
  "info": {
    "title": "Brand AI Answers: ChatGPT, Claude, Gemini, Perplexity",
    "description": "A well-known SEO brand was named in 14 of 40 AI answers, its top rival in 36. Check your client's brand on ChatGPT, Claude, Gemini and Perplexity: exact cited pages and sentences, rank vs up to 5 rivals. $0.03 to $0.12 per answer.",
    "version": "1.0",
    "x-build-id": "0NukRlToftBFVL5i5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sillage-data~brand-ai-answers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sillage-data-brand-ai-answers",
        "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/sillage-data~brand-ai-answers/runs": {
      "post": {
        "operationId": "runs-sync-sillage-data-brand-ai-answers",
        "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/sillage-data~brand-ai-answers/run-sync": {
      "post": {
        "operationId": "run-sync-sillage-data-brand-ai-answers",
        "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": [
          "brandName",
          "questions"
        ],
        "properties": {
          "brandName": {
            "title": "Brand name",
            "type": "string",
            "description": "Enter the exact name of the brand to track (your client's, if you run this for a client), as people write it. Matching is whole word and case insensitive."
          },
          "brandDomain": {
            "title": "Brand website domain",
            "type": "string",
            "description": "Enter the brand's website domain, without https://. Used to detect when the answer cites the brand's site as a source (subdomains included).",
            "default": "hubspot.com"
          },
          "competitors": {
            "title": "Competitors (up to 5)",
            "maxItems": 5,
            "type": "array",
            "description": "Add up to 5 competitor names. They are counted exactly like the brand.",
            "default": [
              "Salesforce",
              "Zoho"
            ],
            "items": {
              "type": "string"
            }
          },
          "questions": {
            "title": "Questions (1 to 50)",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "Add the questions your customers ask an AI assistant. Each question is one check per assistant and per answer: 10 questions x 4 assistants x 1 answer = 40 checks.",
            "items": {
              "type": "string"
            }
          },
          "engines": {
            "title": "Answer engines",
            "uniqueItems": true,
            "type": "array",
            "description": "Choose which AI answers to check. ChatGPT is the default. Pick several: in our Moz test (one answer per question), Claude named Moz 7 times out of 10, ChatGPT 2. Each extra assistant adds one check per answer, billed at its price.",
            "items": {
              "type": "string",
              "enum": [
                "chatgpt",
                "claude",
                "gemini",
                "perplexity"
              ],
              "enumTitles": [
                "ChatGPT",
                "Claude",
                "Gemini",
                "Perplexity"
              ]
            },
            "default": [
              "chatgpt"
            ]
          },
          "chatgptModel": {
            "title": "ChatGPT model",
            "type": "string",
            "description": "OpenAI API model name. Each row stores the model that answered.",
            "default": "gpt-6-luna"
          },
          "claudeModel": {
            "title": "Claude model",
            "type": "string",
            "description": "Anthropic API model name. Each row stores the model that answered.",
            "default": "claude-sonnet-5"
          },
          "geminiModel": {
            "title": "Gemini model",
            "type": "string",
            "description": "Gemini API model name. Default: gemini-3.5-flash. Each row stores the model that answered.",
            "default": "gemini-3.5-flash"
          },
          "brandAliases": {
            "title": "Brand aliases",
            "type": "array",
            "description": "Add other spellings or product names that count as the brand (for example \"Hub Spot\" or \"HubSpot CRM\").",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "samplesPerQuestion": {
            "title": "Answers per question",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Choose 1 to 3. AI answers vary, so asking each question several times measures how often the brand shows up. Each extra answer is one more check.",
            "default": 1
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "IE",
              "FR",
              "DE",
              "ES",
              "IT",
              "NL",
              "BE",
              "CH",
              "SE",
              "PL",
              "PT",
              "BR",
              "MX",
              "IN",
              "JP",
              "SG",
              "AE",
              "ZA"
            ],
            "type": "string",
            "description": "Choose the country sent to the web search as the approximate user location. It changes which pages the search finds.",
            "default": "US"
          },
          "includeFullAnswer": {
            "title": "Include the full answer text",
            "type": "boolean",
            "description": "Keep the complete answer and the full list of consulted URLs in each row. Turn off for a lighter output (for AI agents or spreadsheets).",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}