{
  "openapi": "3.0.1",
  "info": {
    "title": "Buyer Intent Radar",
    "description": "Find sales-ready public buyer-intent signals and turn them into proof packs, offer experiments, outreach drafts, CSV, JSON, SQLite, and an engagement dashboard.",
    "version": "0.2",
    "x-build-id": "AMLEWg5IAT6ejAz3X"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dori1~devops-buyer-intent-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dori1-devops-buyer-intent-radar",
        "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/dori1~devops-buyer-intent-radar/runs": {
      "post": {
        "operationId": "runs-sync-dori1-devops-buyer-intent-radar",
        "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/dori1~devops-buyer-intent-radar/run-sync": {
      "post": {
        "operationId": "run-sync-dori1-devops-buyer-intent-radar",
        "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": [
          "productName",
          "productUrl"
        ],
        "properties": {
          "productName": {
            "title": "Product name",
            "type": "string",
            "description": "Product to promote in outreach drafts.",
            "default": "Terraform Guard"
          },
          "productUrl": {
            "title": "Product URL",
            "type": "string",
            "description": "Public landing page or Apify Store URL.",
            "default": "https://apify.com/dori1/terraform-guard"
          },
          "market": {
            "title": "Market",
            "type": "string",
            "description": "Short positioning context used when drafting outreach.",
            "default": "Pre-apply Terraform and OpenTofu safety gate for AI coding agents and CI pipelines."
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Public sources to scan. Supported values: github_repositories, github_issues, hackernews, seed_domains, page_urls, rss_feeds, manual_signals.",
            "items": {
              "type": "string"
            },
            "default": [
              "github_repositories",
              "github_issues",
              "hackernews"
            ]
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Buyer-intent terms to search and score.",
            "items": {
              "type": "string"
            },
            "default": [
              "terraform",
              "opentofu",
              "terragrunt",
              "atlantis",
              "platform engineering",
              "infrastructure as code",
              "devops"
            ]
          },
          "autoExpandKeywords": {
            "title": "Auto-expand keywords",
            "type": "boolean",
            "description": "Derive additional search/scoring terms from product name, market, and contact persona so the radar can adapt to new fields without code changes.",
            "default": true
          },
          "intentTerms": {
            "title": "Intent terms",
            "type": "array",
            "description": "Optional phrases that imply evaluation, pain, buying, hiring, integration, or urgency in this market.",
            "items": {
              "type": "string"
            },
            "default": [
              "security",
              "compliance",
              "approval",
              "guardrail",
              "ci/cd",
              "github actions",
              "production",
              "looking for",
              "recommend",
              "alternative",
              "integration",
              "automation",
              "hiring"
            ]
          },
          "requiredTerms": {
            "title": "Required terms",
            "type": "array",
            "description": "Optional terms where at least one must appear in a signal before it can qualify. Use this to avoid ambiguous keywords such as Atlantis matching unrelated markets.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "negativeKeywords": {
            "title": "Negative keywords",
            "type": "array",
            "description": "Terms that should exclude noisy or unrelated signals.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "seedDomains": {
            "title": "Seed domains",
            "type": "array",
            "description": "Optional company domains to check for public jobs, engineering, blog, docs, or market-specific signals.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "sourceUrls": {
            "title": "Source URLs",
            "type": "array",
            "description": "Optional public page URLs to score directly. Use source page_urls or leave it blank and it will be added automatically.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "rssFeeds": {
            "title": "RSS/Atom feeds",
            "type": "array",
            "description": "Optional RSS or Atom feeds to scan for recurring public signals in any market.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "manualSignals": {
            "title": "Manual signals",
            "type": "array",
            "description": "Optional pasted evidence objects for scoring without web discovery.",
            "items": {
              "type": "object",
              "properties": {
                "companyName": {
                  "title": "Company name",
                  "type": "string",
                  "description": "Company, GitHub owner, or prospect label.",
                  "editor": "textfield"
                },
                "sourceUrl": {
                  "title": "Source URL",
                  "type": "string",
                  "description": "Public evidence URL.",
                  "editor": "textfield"
                },
                "text": {
                  "title": "Signal text",
                  "type": "string",
                  "description": "Evidence text to score.",
                  "editor": "textarea"
                }
              }
            },
            "default": []
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum qualified leads to return.",
            "default": 25
          },
          "minScore": {
            "title": "Minimum score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only return leads at or above this intent score.",
            "default": 25
          },
          "includeOutreachDrafts": {
            "title": "Include outreach drafts",
            "type": "boolean",
            "description": "Generate human-reviewed email/DM drafts for each lead.",
            "default": true
          },
          "salesReadyOnly": {
            "title": "Sales-ready only",
            "type": "boolean",
            "description": "Hide weak proof packs and high disqualification risks by default. Disable for broader market research mode.",
            "default": true
          },
          "previewMode": {
            "title": "Preview mode",
            "type": "boolean",
            "description": "Caps output to 3 leads and skips this Actor's pay-per-event charges. Platform usage costs may still apply depending on Apify billing settings.",
            "default": false
          },
          "contactPersona": {
            "title": "Contact persona",
            "type": "string",
            "description": "Persona to address in outreach drafts.",
            "default": "Head of Platform Engineering"
          },
          "replyTo": {
            "title": "Reply-to contact",
            "type": "string",
            "description": "Email, LinkedIn profile, GitHub issue URL, or other destination prospects should reply to. Leave blank if replies should stay in the channel where the message is sent.",
            "default": ""
          },
          "calendarUrl": {
            "title": "Calendar URL",
            "type": "string",
            "description": "Optional booking link to include in outreach drafts.",
            "default": ""
          },
          "trialInstructions": {
            "title": "Trial instructions",
            "type": "string",
            "description": "Explain how a prospect can test the product before serious usage.",
            "default": "Start with a small Apify run or a provided sample report. Review the scored leads before using it for outreach."
          },
          "githubToken": {
            "title": "GitHub token",
            "type": "string",
            "description": "Optional GitHub token to improve API rate limits. It is never returned in output."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}