{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Outbound Engine — ICP to Ready-to-Send Sequences (AI)",
    "description": "The whole outbound motion in one run: describe your ideal customer, get a prioritized list of in-market companies — each with an intent score, a pre-call brief and a ready-to-send multi-touch email sequence. Orchestrates the full fuze B2B suite.",
    "version": "1.0",
    "x-build-id": "NmFKXGVyRmyYsSGC6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/noniner~b2b-outbound-engine/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-noniner-b2b-outbound-engine",
        "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/noniner~b2b-outbound-engine/runs": {
      "post": {
        "operationId": "runs-sync-noniner-b2b-outbound-engine",
        "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/noniner~b2b-outbound-engine/run-sync": {
      "post": {
        "operationId": "run-sync-noniner-b2b-outbound-engine",
        "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": [
          "offering",
          "senderName",
          "senderCompany"
        ],
        "properties": {
          "icp": {
            "title": "Ideal customer profile (ICP)",
            "type": "string",
            "description": "Describe your ideal customer: industry, company size, geography and keywords. If set (and discovery is on) the engine finds matching companies for you. Example: \"Mid-sized Shopify skincare brands in the US\"."
          },
          "domains": {
            "title": "Start from a company list (optional)",
            "type": "array",
            "description": "Company domains, website URLs or emails (the domain is extracted). Use instead of — or together with — the ICP. One per line.",
            "items": {
              "type": "string"
            }
          },
          "offering": {
            "title": "What you sell",
            "type": "string",
            "description": "Describe what your company sells. This drives discovery, intent scoring, the brief and the email sequence. Required."
          },
          "senderName": {
            "title": "Sender name",
            "type": "string",
            "description": "Your name — used to sign the email sequences. Required."
          },
          "senderCompany": {
            "title": "Sender company",
            "type": "string",
            "description": "The company you are reaching out on behalf of — used in the sequences. Required."
          },
          "datasetId": {
            "title": "Read companies from a dataset (chaining)",
            "type": "string",
            "description": "Optional. Read the company domains from a previous Actor run's dataset — for no-code chaining via the Integrations tab."
          },
          "datasetField": {
            "title": "Dataset field",
            "type": "string",
            "description": "Which dataset field holds the domain/URL. Leave blank to auto-detect (domain, website, companyDomain, url)."
          },
          "maxCompanies": {
            "title": "Max companies",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum companies to turn into full outbound packages. This is a heavy run (it chains intent + brief + sequence) — keep it modest. One pay-per-event charge per packaged company.",
            "default": 15
          },
          "minIntentScore": {
            "title": "Minimum intent score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only build full packages (brief + sequence) for companies at or above this buying-intent score (0-100). Leave at 0 to package everyone.",
            "default": 0
          },
          "numberOfTouches": {
            "title": "Number of email touches",
            "minimum": 2,
            "maximum": 7,
            "type": "integer",
            "description": "How many emails in each company's cadence (last one is a breakup).",
            "default": 4
          },
          "discover": {
            "title": "Discover companies from the ICP",
            "type": "boolean",
            "description": "When an ICP is given, use fuze/b2b-lead-list-builder to find matching companies. Turn off to only use the domains/dataset you provide.",
            "default": true
          },
          "scoreIntent": {
            "title": "Score buying intent",
            "type": "boolean",
            "description": "Run fuze/b2b-intent-radar to score each company's buying intent and surface signals, and filter by minimum intent score.",
            "default": true
          },
          "writeBrief": {
            "title": "Write pre-call briefs",
            "type": "boolean",
            "description": "Run fuze/b2b-account-brief for a one-page pre-call brief, talking points and discovery questions per company.",
            "default": true
          },
          "writeSequence": {
            "title": "Write email sequences",
            "type": "boolean",
            "description": "Run fuze/b2b-cold-outreach-sequencer for a ready-to-send multi-touch cold email cadence per company.",
            "default": true
          },
          "model": {
            "title": "OpenAI model",
            "type": "string",
            "description": "Model for the short per-company executive summary (default gpt-4o-mini)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}