{
  "openapi": "3.0.1",
  "info": {
    "title": "Computrabajo New Jobs Monitor (LatAm)",
    "description": "Ofertas de empleo nuevas de Computrabajo en 17 países de LatAm (AR, MX, CO, PE, CL, UY...). Programalo cada 15-60 min y recibí solo las vacantes nuevas desde la última corrida, con alertas por Telegram, WhatsApp, Slack, Discord, email o webhook.",
    "version": "0.1",
    "x-build-id": "8BCuUjyuTpH5ttUau"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/juanga~latam-jobs-new-postings/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-juanga-latam-jobs-new-postings",
        "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/juanga~latam-jobs-new-postings/runs": {
      "post": {
        "operationId": "runs-sync-juanga-latam-jobs-new-postings",
        "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/juanga~latam-jobs-new-postings/run-sync": {
      "post": {
        "operationId": "run-sync-juanga-latam-jobs-new-postings",
        "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": {
          "keywords": {
            "title": "Palabras clave",
            "type": "array",
            "description": "Puestos o palabras a monitorear (ej.: contador, desarrollador, vendedor). Se combina con País y Ubicación. Alternativa: pegá URLs de búsqueda abajo.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "País",
            "enum": [
              "ar",
              "mx",
              "co",
              "pe",
              "cl",
              "ec",
              "uy",
              "py",
              "bo",
              "ve",
              "cr",
              "pa",
              "gt",
              "sv",
              "hn",
              "ni",
              "do"
            ],
            "type": "string",
            "description": "País de Computrabajo para las palabras clave.",
            "default": "ar"
          },
          "location": {
            "title": "Ubicación (opcional)",
            "type": "string",
            "description": "Provincia, estado o ciudad tal como la usa Computrabajo (ej.: cordoba, nuevo leon, bogota dc). Vacío = todo el país."
          },
          "searchUrls": {
            "title": "URLs de búsqueda de Computrabajo",
            "type": "array",
            "description": "Opcional. Hacé la búsqueda en Computrabajo (cualquier país), aplicá filtros y copiá la URL, ej.: https://mx.computrabajo.com/trabajo-de-desarrollador-web-en-nuevo-leon. Se pueden mezclar países.",
            "items": {
              "type": "string"
            }
          },
          "modality": {
            "title": "Modalidad",
            "enum": [
              "any",
              "remote",
              "hybrid",
              "remoteOrHybrid"
            ],
            "type": "string",
            "description": "Filtra por la etiqueta de modalidad que muestra Computrabajo. Las ofertas sin etiqueta suelen ser presenciales.",
            "default": "any"
          },
          "firstRun": {
            "title": "Primera ejecución",
            "enum": [
              "emit",
              "baseline"
            ],
            "type": "string",
            "description": "Qué devuelve la primera ejecución de cada búsqueda. \"Devolver ofertas actuales\" muestra la primera página. \"Baseline\" solo registra lo que existe y las próximas ejecuciones devuelven solo lo nuevo.",
            "default": "emit"
          },
          "maxPagesPerSearch": {
            "title": "Máximo de páginas por búsqueda",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Cada página tiene 20 ofertas, de la más nueva a la más vieja. Subilo si la búsqueda recibe más de ~20 ofertas entre ejecuciones (ej.: \"ventas\" en México).",
            "default": 3
          },
          "stateStoreName": {
            "title": "Nombre del almacenamiento de estado",
            "type": "string",
            "description": "Key-value store con nombre que guarda qué ofertas ya se devolvieron. Usá otro nombre para empezar un historial separado.",
            "default": "latam-jobs-new-postings-state"
          },
          "seenRetentionDays": {
            "title": "Recordar ofertas por (días)",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Cuánto tiempo se recuerda una oferta devuelta para no repetirla.",
            "default": 30
          },
          "failOnAnyError": {
            "title": "Fallar la ejecución si alguna búsqueda falla",
            "type": "boolean",
            "description": "Marca la ejecución como fallida cuando alguna búsqueda queda bloqueada, inválida o no carga, para que el monitoreo de Apify te avise.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Conexión que se intenta primero. Sin proxy es lo más barato.",
            "default": {
              "useApifyProxy": false
            }
          },
          "fallbackProxyConfiguration": {
            "title": "Proxy alternativo (si hay bloqueo)",
            "type": "object",
            "description": "Solo se usa si Computrabajo bloquea la primera conexión. IPs residenciales del país de la búsqueda. Cada página cargada por este proxy se cobra como evento \"proxy page\". Elegí \"No proxy\" para desactivarlo.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Opcional. Envía las ofertas nuevas a Telegram. Creá un bot con @BotFather."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "ID del chat, grupo o canal donde publica el bot."
          },
          "whatsappPhone": {
            "title": "WhatsApp: tu número",
            "type": "string",
            "description": "Opcional. Recibí las alertas por WhatsApp vía CallMeBot (gratis). Número con código de país, ej.: +5491122223333. Activalo una vez enviando \"I allow callmebot to send me messages\" al +34 644 51 95 23 por WhatsApp y pegá la API key abajo."
          },
          "whatsappApiKey": {
            "title": "WhatsApp: API key de CallMeBot",
            "type": "string",
            "description": "La clave que CallMeBot te responde por WhatsApp."
          },
          "emailTo": {
            "title": "Email para alertas (el de tu cuenta Apify)",
            "type": "string",
            "description": "Opcional. Usá el email de tu cuenta Apify: el servicio de email de Apify solo envía al dueño de la cuenta. Cuesta fracciones de centavo por envío."
          },
          "slackWebhookUrl": {
            "title": "Slack incoming webhook URL",
            "type": "string",
            "description": "Opcional."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Opcional."
          },
          "webhookUrl": {
            "title": "Webhook propio (URL)",
            "type": "string",
            "description": "Opcional. Recibe un POST JSON { search, count, jobs } por búsqueda con ofertas nuevas."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}