{
  "openapi": "3.0.1",
  "info": {
    "title": "Linkedin Job Application Copilot",
    "description": "Score LinkedIn job listings against your profile, generate AI-powered application packs with cover note drafts, fit scores, and next steps. So you apply smarter, not more.",
    "version": "0.1",
    "x-build-id": "zyE2vkdQfHS7t5KuX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/immense_greenery~linkedin-application-copilot/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-immense_greenery-linkedin-application-copilot",
        "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/immense_greenery~linkedin-application-copilot/runs": {
      "post": {
        "operationId": "runs-sync-immense_greenery-linkedin-application-copilot",
        "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/immense_greenery~linkedin-application-copilot/run-sync": {
      "post": {
        "operationId": "run-sync-immense_greenery-linkedin-application-copilot",
        "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": {
          "discoverLinkedInJobs": {
            "title": "Discover LinkedIn jobs automatically",
            "type": "boolean",
            "description": "When enabled, the Actor searches public LinkedIn job listings from the buyer-defined search fields below before preparing application packs.",
            "default": true
          },
          "searches": {
            "title": "Job searches",
            "type": "array",
            "description": "Buyer-defined LinkedIn searches. Add one or more target roles, locations, and filters. These replace the old one-person defaults."
          },
          "searchKeywords": {
            "title": "Single search keywords",
            "type": "string",
            "description": "Optional single-search shortcut. Use this instead of Job searches if the buyer only wants one role query."
          },
          "searchLocation": {
            "title": "Single search location",
            "type": "string",
            "description": "Optional single-search shortcut location, for example United States, London, Remote, or Berlin."
          },
          "postedWithin": {
            "title": "Posted within",
            "enum": [
              "any",
              "past-24h",
              "past-week",
              "past-month"
            ],
            "type": "string",
            "description": "Optional LinkedIn date filter.",
            "default": "past-week"
          },
          "workplaceType": {
            "title": "Workplace type",
            "enum": [
              "any",
              "remote",
              "hybrid",
              "onsite"
            ],
            "type": "string",
            "description": "Optional LinkedIn workplace filter.",
            "default": "any"
          },
          "maxDiscoveryJobs": {
            "title": "Max jobs to discover",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "Maximum number of public LinkedIn jobs to discover before scoring.",
            "default": 25
          },
          "fetchJobDescriptions": {
            "title": "Fetch job descriptions",
            "type": "boolean",
            "description": "Fetch each LinkedIn job detail page to improve scoring with description text. Disable for faster, cheaper runs.",
            "default": true
          },
          "jobs": {
            "title": "Optional pasted jobs",
            "type": "array",
            "description": "Optional job records to score and prepare. Use this for API runs, CSV-derived jobs, ATS postings, or records from another Actor."
          },
          "candidateProfile": {
            "title": "Candidate profile",
            "type": "object",
            "description": "Buyer profile used for scoring and apply-pack language. Set target roles, desired skills, and optional keywords to avoid."
          },
          "minScore": {
            "title": "Minimum score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Minimum fit score required to prepare an application pack.",
            "default": 70
          },
          "maxJobs": {
            "title": "Max jobs",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of jobs to process in one Actor run.",
            "default": 50
          },
          "syncToNetlify": {
            "title": "Sync prepared jobs to Netlify tracker",
            "type": "boolean",
            "description": "When enabled, prepared jobs are sent to your Netlify tracker intake endpoint as manual-source records.",
            "default": false
          },
          "netlifySiteUrl": {
            "title": "Netlify site URL",
            "type": "string",
            "description": "Tracker site URL, for example https://precious-cupcake-3792b5.netlify.app. Required only when syncToNetlify is enabled."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}