{
  "openapi": "3.0.1",
  "info": {
    "title": "USAJOBS Federal Jobs",
    "description": "Federal job announcements from USAJOBS: keyword, place, agency, pay and more, with descriptions. No key needed.",
    "version": "0.1",
    "x-build-id": "mNGRCXR3A9j5We8dM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/avakode~usajobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-avakode-usajobs",
        "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/avakode~usajobs/runs": {
      "post": {
        "operationId": "runs-sync-avakode-usajobs",
        "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/avakode~usajobs/run-sync": {
      "post": {
        "operationId": "run-sync-avakode-usajobs",
        "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": "Search terms",
            "maxItems": 50,
            "type": "array",
            "description": "One search per line (for example a job title or skill). Each term is searched separately; a job found by several terms is returned once. Leave empty to search without a keyword.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "locations": {
            "title": "Locations",
            "maxItems": 50,
            "type": "array",
            "description": "Cities, states or countries as the USAJOBS search writes them, for example \"Austin, Texas\" or \"Texas\". A job matches if it is in any of them. Empty = anywhere.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "radiusMiles": {
            "title": "Radius around locations (miles)",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Used only when locations are given and the location is a city. 0 = the exact place only.",
            "default": 0
          },
          "departments": {
            "title": "Departments",
            "maxItems": 50,
            "type": "array",
            "description": "Department codes as in the USAJOBS search address (parameter d=), for example VA for Veterans Affairs or DD for Defense.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "agencies": {
            "title": "Agencies",
            "maxItems": 50,
            "type": "array",
            "description": "Agency codes as in the USAJOBS search address (parameter a=), for example VATA for Veterans Health Administration.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "occupationSeries": {
            "title": "Occupation series",
            "maxItems": 50,
            "type": "array",
            "description": "Four-digit federal occupational series codes, for example 0610 (Nurse) or 2210 (IT management).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "hiringPaths": {
            "title": "Who can apply",
            "maxItems": 20,
            "type": "array",
            "description": "Hiring paths the job must be open to. public = open to all U.S. citizens. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "public",
                "fed-competitive",
                "fed-excepted",
                "fed-internal-search",
                "fed-transition",
                "land",
                "vet",
                "mspouse",
                "nguard",
                "student",
                "graduates",
                "ses",
                "disability",
                "overseas"
              ]
            },
            "default": []
          },
          "workSchedules": {
            "title": "Work schedule",
            "maxItems": 10,
            "type": "array",
            "description": "Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "full-time",
                "part-time",
                "shift-work",
                "intermittent",
                "job-sharing",
                "multiple"
              ]
            },
            "default": []
          },
          "appointmentTypes": {
            "title": "Job type",
            "maxItems": 15,
            "type": "array",
            "description": "Appointment type. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "permanent",
                "temporary",
                "term",
                "detail",
                "temporary-promotion",
                "seasonal",
                "summer",
                "recent-graduates",
                "multiple",
                "internships",
                "intermittent"
              ]
            },
            "default": []
          },
          "securityClearances": {
            "title": "Security clearance",
            "maxItems": 10,
            "type": "array",
            "description": "Clearance level named by the job. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "not-required",
                "confidential",
                "secret",
                "top-secret",
                "sci",
                "q",
                "l",
                "other"
              ]
            },
            "default": []
          },
          "travel": {
            "title": "Travel required",
            "maxItems": 10,
            "type": "array",
            "description": "Share of time spent travelling. Empty = any.",
            "items": {
              "type": "string",
              "enum": [
                "not-required",
                "occasional",
                "up-to-25",
                "up-to-50",
                "up-to-75",
                "over-75"
              ]
            },
            "default": []
          },
          "workSite": {
            "title": "Work site",
            "enum": [
              "any",
              "remote",
              "not-remote",
              "telework"
            ],
            "type": "string",
            "description": "remote = remote jobs only; not-remote = exclude remote jobs; telework = jobs that offer telework.",
            "default": "any"
          },
          "minSalary": {
            "title": "Minimum yearly salary (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Jobs whose pay range reaches at least this amount. 0 = no limit.",
            "default": 0
          },
          "maxSalary": {
            "title": "Maximum yearly salary (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Jobs whose pay range starts at or below this amount. 0 = no limit.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "closing-soonest"
            ],
            "type": "string",
            "description": "relevance = the site's default order; newest = most recently opened first; closing-soonest = earliest closing date first. Ignored when Only new jobs is on (the search is then always sorted newest first).",
            "default": "relevance"
          },
          "includeDetails": {
            "title": "Include description and details",
            "type": "boolean",
            "description": "Reads the page of every job for the summary, duties, requirements, upper salary limit, telework and clearance fields. One extra request per job; off = list data only (faster).",
            "default": true
          },
          "onlyNew": {
            "title": "Only new jobs",
            "type": "boolean",
            "description": "Return only jobs this tool has not delivered before for the same search (same words and filters). In this mode the search is always sorted newest first (Sort by is ignored) and stops at the first results page with nothing undelivered: it returns jobs posted since the last run. If the limit cuts a run short, older jobs that run did not reach may come in a later run or not at all (a later run reads on only while every page has something undelivered); raise the limit or narrow the search.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many jobs in total. The site shows at most 10,000 jobs per search.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}