{
  "openapi": "3.0.1",
  "info": {
    "title": "Shortlist Mirror BYOK: AI Brand Monitor with Your Own API Keys",
    "description": "What AI gets wrong about your brand, on your own API keys. ChatGPT, Claude, Gemini, Perplexity, Muse and Grok answer questions about you; Mirror lists every claim, checks it against your site and writes an action plan. $0.03 per answer + $0.30 per report.",
    "version": "0.1",
    "x-build-id": "pG0HJRqmUHPyFOii3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/raiselabs~shortlist-mirror-byok/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-raiselabs-shortlist-mirror-byok",
        "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/raiselabs~shortlist-mirror-byok/runs": {
      "post": {
        "operationId": "runs-sync-raiselabs-shortlist-mirror-byok",
        "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/raiselabs~shortlist-mirror-byok/run-sync": {
      "post": {
        "operationId": "run-sync-raiselabs-shortlist-mirror-byok",
        "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": [
          "target"
        ],
        "properties": {
          "target": {
            "title": "What should AI be asked about?",
            "type": "string",
            "description": "A brand, product, market or submarket, e.g. \"Notion\", \"Notion AI\", \"CRM\" or \"CRM for dental clinics\". Not people: Mirror checks brands, products and markets only."
          },
          "targetType": {
            "title": "It is a",
            "enum": [
              "brand",
              "product",
              "market",
              "submarket"
            ],
            "type": "string",
            "description": "Pick what the target is. Brands and products are checked against their own site; markets get definitions, prices, criteria and myths.",
            "default": "brand"
          },
          "mode": {
            "title": "What do you want?",
            "enum": [
              "full",
              "suggest"
            ],
            "type": "string",
            "description": "Answers and analysis use your own API keys, so your AI providers bill you for them directly. We charge $0.03 per successful answer and $0.30 per report. Suggest is free.",
            "default": "full"
          },
          "anthropicApiKey": {
            "title": "Anthropic API key (Claude), required",
            "type": "string",
            "description": "console.anthropic.com. Required: Claude writes the questions, reads every answer, checks the claims against your site and writes the action plan. Also used for Claude answers when Claude is one of your engines. Stored encrypted by Apify; never logged, saved or shown in results."
          },
          "openaiApiKey": {
            "title": "OpenAI API key (ChatGPT)",
            "type": "string",
            "description": "platform.openai.com. Used for ChatGPT answers (Responses API with web search). Stored encrypted by Apify; never logged, saved or shown in results."
          },
          "geminiApiKey": {
            "title": "Google Gemini API key",
            "type": "string",
            "description": "aistudio.google.com (billing must be on for Google Search grounding). Used for Gemini answers. Stored encrypted by Apify; never logged, saved or shown in results."
          },
          "perplexityApiKey": {
            "title": "Perplexity API key",
            "type": "string",
            "description": "perplexity.ai/settings/api. Used for Perplexity answers (Agent API). Stored encrypted by Apify; never logged, saved or shown in results."
          },
          "metaApiKey": {
            "title": "Meta API key (Muse)",
            "type": "string",
            "description": "Used for Muse (Meta AI) answers. Stored encrypted by Apify; never logged, saved or shown in results."
          },
          "xaiApiKey": {
            "title": "xAI API key (Grok)",
            "type": "string",
            "description": "console.x.ai. Used for Grok answers. Grok is the most expensive engine on your xAI bill (up to about $0.75 per answer). Stored encrypted by Apify; never logged, saved or shown in results."
          },
          "website": {
            "title": "Website to check against",
            "type": "string",
            "description": "The official site or docs, e.g. notion.com. Claims like prices and features are compared with its public pages. Leave empty and Mirror finds it (the report says which site it used)."
          },
          "referencePages": {
            "title": "Pages to check",
            "type": "array",
            "description": "Exact pages worth checking, e.g. /pricing, /security or https://docs.example.com. For a market, add any source you trust.",
            "items": {
              "type": "string"
            }
          },
          "knownFacts": {
            "title": "Facts to check",
            "type": "string",
            "description": "Facts you state, one per line, e.g. \"Starts at $12 per user per month\" or \"SOC 2 Type II\". Useful when your site loads with JavaScript. Shown in the report as 'per your input'."
          },
          "parentMarket": {
            "title": "Inside which market?",
            "type": "string",
            "description": "For a submarket, the wider market (e.g. \"CRM\" for \"CRM for dental clinics\"). Optional; Mirror infers it."
          },
          "engines": {
            "title": "AI engines",
            "type": "array",
            "description": "Mirror BYOK asks the engines you pick AND have a key for; picked engines without a key are skipped. Leave empty to use every engine you added a key for. $0.03 per successful answer on any engine.",
            "items": {
              "type": "string",
              "enum": [
                "claude",
                "openai",
                "gemini",
                "perplexity",
                "muse",
                "grok"
              ],
              "enumTitles": [
                "Claude",
                "ChatGPT (OpenAI)",
                "Gemini",
                "Perplexity",
                "Muse (Meta AI)",
                "Grok (xAI)"
              ]
            }
          },
          "questions": {
            "title": "Your own questions",
            "type": "array",
            "description": "Replace the written questions with your own (up to 20). Questions about individual people are removed.",
            "items": {
              "type": "string"
            }
          },
          "questionCount": {
            "title": "Number of questions",
            "minimum": 6,
            "maximum": 20,
            "type": "integer",
            "description": "For the full report: 6 to 20 questions. Each question is asked once per engine ($0.03 per successful answer).",
            "default": 12
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Two-letter country code passed to engines that support location.",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language for the written questions (e.g. en, de, fr).",
            "default": "en"
          },
          "trackingId": {
            "title": "Tracking ID",
            "type": "string",
            "description": "Set a stable ID (e.g. \"notion-us\") to compare each run with the previous one: misconceptions fixed or new, sentiment moves. Use it with a saved Task and a weekly Schedule."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}