{
  "openapi": "3.0.1",
  "info": {
    "title": "SAP Tender Radar: English Procurement Alerts",
    "description": "Find SAP tenders across TED, BOAMP and UK feeds. Get English notices, fit signals, bid briefs, deadline reminders, and new or changed alerts.",
    "version": "0.2",
    "x-build-id": "AMk1XMuaAVeMnUjPF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/andersen_brothers_consulting~sap-tender-radar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-andersen_brothers_consulting-sap-tender-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/andersen_brothers_consulting~sap-tender-radar/runs": {
      "post": {
        "operationId": "runs-sync-andersen_brothers_consulting-sap-tender-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/andersen_brothers_consulting~sap-tender-radar/run-sync": {
      "post": {
        "operationId": "run-sync-andersen_brothers_consulting-sap-tender-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",
        "properties": {
          "mode": {
            "title": "Run mode",
            "enum": [
              "scan",
              "monitor"
            ],
            "type": "string",
            "description": "Scan returns a full feed. Monitor returns only new and changed procedures since the previous run for this watch ID.",
            "default": "scan"
          },
          "watchId": {
            "title": "Private watch ID",
            "type": "string",
            "description": "For monitor mode, use a long unique secret and keep it unchanged on scheduled runs. This separates your history from other users."
          },
          "daysBack": {
            "title": "Days to search",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "Search notices published during this many recent days.",
            "default": 7
          },
          "sources": {
            "title": "Public sources",
            "type": "array",
            "description": "TED and France BOAMP run by default. Add the UK feeds for UK opportunities; they have a shorter lookback and may rate limit broad scans.",
            "items": {
              "type": "string",
              "enum": [
                "TED",
                "UK_FTS",
                "UK_CF",
                "BOAMP"
              ],
              "enumTitles": [
                "TED Europe",
                "UK Find a Tender",
                "UK Contracts Finder",
                "France BOAMP"
              ]
            },
            "default": [
              "TED",
              "BOAMP"
            ]
          },
          "nationalDaysBack": {
            "title": "UK feed lookback days",
            "minimum": 1,
            "maximum": 14,
            "type": "integer",
            "description": "UK feeds publish many notices, so they use a shorter lookback. Schedule daily to avoid gaps.",
            "default": 3
          },
          "nationalMaxPages": {
            "title": "National feed page cap",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Raise this for longer UK lookbacks. The Actor fails clearly if a feed exceeds the cap.",
            "default": 30
          },
          "countries": {
            "title": "Buyer countries",
            "type": "array",
            "description": "Optional ISO 3166-1 alpha-3 country codes, e.g. DEU, FRA, NLD. Leave empty for all.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "modules": {
            "title": "SAP products or skills",
            "type": "array",
            "description": "Optional filters, e.g. S/4HANA, SuccessFactors, Ariba, ABAP. Leave empty for all.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "companySkills": {
            "title": "Your company's SAP skills",
            "type": "array",
            "description": "Optional. Used in the bid brief to explain skill matches or gaps, without hiding opportunities.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "minLeadDays": {
            "title": "Minimum days to prepare",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Flag tenders with less preparation time than your team needs.",
            "default": 7
          },
          "maxContractValue": {
            "title": "Maximum contract size",
            "minimum": 0,
            "type": "integer",
            "description": "Optional size flag for your bid/no-bid review; enter a currency below. Unknown values are never treated as a match."
          },
          "budgetCurrency": {
            "title": "Contract-size currency",
            "type": "string",
            "description": "Required if maximum contract size is set, e.g. EUR or GBP."
          },
          "requireTitleMatch": {
            "title": "SAP in title only",
            "type": "boolean",
            "description": "Show only notices whose main title names SAP, S/4HANA, SuccessFactors, ABAP, or Fiori. Turn off to include broader projects that mention SAP in the details.",
            "default": false
          },
          "includePlanning": {
            "title": "Include planning notices",
            "type": "boolean",
            "description": "Include prior information and market consultation notices, which are early signals rather than open bids.",
            "default": true
          },
          "includeAwards": {
            "title": "Include award notices",
            "type": "boolean",
            "description": "Include completed awards for competitor and buyer intelligence.",
            "default": false
          },
          "translationProvider": {
            "title": "English translation",
            "enum": [
              "argos",
              "deepl"
            ],
            "type": "string",
            "description": "Argos runs offline but downloads language models on first use. DeepL needs an API key and offers higher quality.",
            "default": "argos"
          },
          "deeplApiKey": {
            "title": "DeepL API key",
            "type": "string",
            "description": "Required only when DeepL is selected. You can also set DEEPL_API_KEY as an Actor secret."
          },
          "minScore": {
            "title": "Minimum relevance score",
            "minimum": 30,
            "maximum": 100,
            "type": "integer",
            "description": "Higher scores return fewer, more explicit SAP matches.",
            "default": 60
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Start with three results for a quick trial. Raise this for a broader watch; larger multilingual runs can take several minutes.",
            "default": 3
          },
          "maxPages": {
            "title": "Maximum TED pages",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Safety cap. Increase for wide date ranges so results are complete.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}