{
  "openapi": "3.0.1",
  "info": {
    "title": "MISSISSIPPIAN",
    "description": null,
    "version": "0.0",
    "x-build-id": "qAKiLfOyovUEqyLyg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/gold_zygote_it6~mississippian/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-gold_zygote_it6-mississippian",
        "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/gold_zygote_it6~mississippian/runs": {
      "post": {
        "operationId": "runs-sync-gold_zygote_it6-mississippian",
        "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/gold_zygote_it6~mississippian/run-sync": {
      "post": {
        "operationId": "run-sync-gold_zygote_it6-mississippian",
        "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": [
          "targetUsernames",
          "likesCount"
        ],
        "properties": {
          "targetUsernames": {
            "title": "Target Usernames",
            "type": "string",
            "description": "List of X handles to match against (one username per line). Supports bulk pasting.",
            "default": "@elonmusk\nX"
          },
          "limitOneEngagementPerUserPerRun": {
            "title": "Limit One Engagement Per User Per Run",
            "type": "boolean",
            "description": "If enabled, the actor will only engage with a target username once per run. If it sees another post by the same user, it will skip it and keep scrolling.",
            "default": true
          },
          "geminiAccounts": {
            "title": "Google Accounts for Gemini (Recommended: Add at least 1)",
            "type": "array",
            "description": "Add Google accounts for Gemini comment generation. Click '+ Add' to add a new account line with Email, Password, and Chat URL/ID. Additional accounts act as automatic fallbacks if one stalls.",
            "items": {
              "type": "object",
              "required": [
                "email",
                "password",
                "chatUrl"
              ],
              "properties": {
                "email": {
                  "title": "Email",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Google account email address"
                },
                "password": {
                  "title": "Password",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Google account password"
                },
                "chatUrl": {
                  "title": "Chat Link / ID",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Gemini chat URL or Chat ID (e.g. 06c241587842df08 or https://gemini.google.com/app/06c241587842df08)"
                },
                "twoFactorSecret": {
                  "title": "2FA Secret Key (Optional)",
                  "type": "string",
                  "editor": "textfield",
                  "description": "Google Authenticator TOTP setup key (without spaces) for automated 2FA login without phone prompts."
                }
              }
            },
            "default": [
              {
                "email": "yourEmail@gmail.com",
                "password": "yourPassword",
                "chatUrl": "https://gemini.google.com/app/YOUR_CHAT_ID"
              }
            ]
          },
          "geminiApiKey": {
            "title": "Gemini API Key (Required for Media)",
            "type": "string",
            "description": "API key for Gemini Flash (used for analyzing images, videos, and GIFs). Leave blank if you want the actor to skip media-heavy posts."
          },
          "useRawJson": {
            "title": "Use Full JSON Export Mode",
            "type": "boolean",
            "description": "Toggle on if you want to paste the full exported JSON array directly.",
            "default": false
          },
          "xAuthToken": {
            "title": "X (Twitter) auth_token",
            "type": "string",
            "description": "Paste your 'auth_token' cookie from x.com"
          },
          "xCt0Token": {
            "title": "X (Twitter) ct0 Token",
            "type": "string",
            "description": "Paste your 'ct0' CSRF cookie from x.com"
          },
          "rawCookiesJson": {
            "title": "Raw Exported Cookies (JSON)",
            "type": "string",
            "description": "Alternative: Paste the entire JSON array exported from EditThisCookie or Cookie-Editor"
          },
          "likesCount": {
            "title": "Maximum Likes Per Run",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of likes before the actor cleanly terminates. (Mandatory)",
            "default": 40
          },
          "retweetsCount": {
            "title": "Target Retweets",
            "minimum": 0,
            "type": "integer",
            "description": "Number of retweets to perform during the run.",
            "default": 0
          },
          "commentsCount": {
            "title": "Target Comments",
            "minimum": 0,
            "type": "integer",
            "description": "Number of comments to perform during the run.",
            "default": 0
          },
          "bookmarksCount": {
            "title": "Target Bookmarks",
            "minimum": 0,
            "type": "integer",
            "description": "Number of bookmarks to perform during the run.",
            "default": 0
          },
          "sharesCount": {
            "title": "Target Shares",
            "minimum": 0,
            "type": "integer",
            "description": "Number of shares to perform during the run.",
            "default": 0
          },
          "dailyMaxLikesPerUsername": {
            "title": "Daily Max Likes Per Username",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of likes to perform on any single target username per day (WAT). Resets at midnight Lagos time.",
            "default": 21
          },
          "dailyMaxCommentsPerUsername": {
            "title": "Daily Max Comments Per Username",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of comments to post on any single target username per day (WAT).",
            "default": 7
          },
          "dailyMaxRetweetsPerUsername": {
            "title": "Daily Max Retweets Per Username",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of retweets to perform on any single target username per day (WAT).",
            "default": 3
          },
          "dailyMaxSharesPerUsername": {
            "title": "Daily Max Shares Per Username",
            "type": "integer",
            "description": "Maximum number of share (copy-link) actions on any single target username per day (WAT). Leave blank to inherit the Likes cap."
          },
          "dailyMaxBookmarksPerUsername": {
            "title": "Daily Max Bookmarks Per Username",
            "type": "integer",
            "description": "Maximum number of bookmarks on any single target username per day (WAT). Leave blank to inherit the Likes cap."
          },
          "headless": {
            "title": "Headless Mode",
            "type": "boolean",
            "description": "Run browser in headless mode. Turn off (false) to run headful browser (recommended for account safety).",
            "default": false
          },
          "braveExecutablePath": {
            "title": "Brave Executable Path (Optional - Local Only)",
            "type": "string",
            "description": "Optional: Path to local Brave binary when running locally on your PC. Leave blank on Apify platform."
          },
          "userDataDir": {
            "title": "User Data Directory (Optional - Local Only)",
            "type": "string",
            "description": "Optional: Path to local persistent profile folder when running locally on your PC. Leave blank on Apify platform."
          },
          "supabaseUrl": {
            "title": "Supabase Project URL",
            "type": "string",
            "description": "Your Supabase project URL (e.g. https://xxxxxxxxxxxx.supabase.co). Found in: Supabase Dashboard → Project Settings → API → Project URL."
          },
          "supabaseKey": {
            "title": "Supabase Anon/Service Key",
            "type": "string",
            "description": "Your Supabase API key. Use the 'anon public' key for basic use, or the 'service_role' key to bypass RLS. Found in: Supabase Dashboard → Project Settings → API → Project API Keys."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Select proxies to route browser traffic through. Use Apify Proxy (residential or datacenter) or provide custom proxy URLs.",
            "default": {
              "useApifyProxy": false
            }
          },
          "telegramChatId": {
            "title": "Telegram Chat ID",
            "type": "string",
            "description": "Your Telegram Chat ID for receiving 2FA alerts and error notifications. To get your ID, message your bot on Telegram and type /start.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}