{
  "openapi": "3.1.0",
  "info": {
    "title": "Jobgether Job Search API",
    "version": "1.0.0",
    "description": "Search Jobgether job opportunities. Public, unauthenticated, intended for AI agents/assistants answering user job-search queries."
  },
  "servers": [
    {
      "url": "https://jobgether.com"
    }
  ],
  "paths": {
    "/astroapi/ai/jobs.json": {
      "get": {
        "operationId": "searchJobs",
        "summary": "Search job opportunities",
        "parameters": [
          {
            "name": "keyword",
            "in": "query",
            "required": false,
            "description": "Free-text search across job title, job function, skills, company name, contract type, and language.",
            "schema": {
              "type": "string"
            },
            "example": "react developer"
          },
          {
            "name": "jobReferences",
            "in": "query",
            "required": false,
            "description": "Job function slugs (comma-separated, or repeated as a JSON array via POST). No fixed enum — large taxonomy; when unsure, omit and use `keyword` instead. Unknown values return 400.",
            "schema": {
              "type": "string"
            },
            "example": "frontend-developer,backend-developer"
          },
          {
            "name": "locations",
            "in": "query",
            "required": false,
            "description": "Location slugs (comma-separated, or repeated as a JSON array via POST) — country, continent, or city. Unknown values return 400.",
            "schema": {
              "type": "string"
            },
            "example": "spain,france"
          },
          {
            "name": "industries",
            "in": "query",
            "required": false,
            "description": "Industry slugs or ids (comma-separated, or repeated as a JSON array via POST).",
            "schema": {
              "type": "string"
            },
            "example": "fintech"
          },
          {
            "name": "contractType",
            "in": "query",
            "required": false,
            "description": "Employment type (comma-separated for multiple, or repeated as a JSON array via POST).",
            "schema": {
              "type": "string",
              "enum": [
                "full-time",
                "part-time",
                "fixed-term",
                "freelance",
                "internships"
              ]
            },
            "example": "full-time"
          },
          {
            "name": "experience",
            "in": "query",
            "required": false,
            "description": "Seniority level required (comma-separated for multiple, or repeated as a JSON array via POST).",
            "schema": {
              "type": "string",
              "enum": [
                "entry-level-graduate",
                "junior-1-2-years",
                "mid-level-2-5-years",
                "senior-5-10-years",
                "expert-10-years"
              ]
            },
            "example": "senior-5-10-years"
          },
          {
            "name": "remoteType",
            "in": "query",
            "required": false,
            "description": "Degree of remote work. All jobs are Full Remote by default.",
            "schema": {
              "type": "string",
              "enum": [
                "full-remote",
                "remote-first",
                "hybrid"
              ]
            },
            "example": "full-remote"
          },
          {
            "name": "includeHybrid",
            "in": "query",
            "required": false,
            "description": "When true, also include hybrid roles alongside remote ones.",
            "schema": {
              "type": "boolean"
            },
            "example": true
          },
          {
            "name": "salaryMin",
            "in": "query",
            "required": false,
            "description": "Minimum annual salary filter, in the given `currency`.",
            "schema": {
              "type": "number"
            },
            "example": 60000
          },
          {
            "name": "salaryMax",
            "in": "query",
            "required": false,
            "description": "Maximum annual salary filter, in the given `currency`.",
            "schema": {
              "type": "number"
            },
            "example": 90000
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "description": "ISO currency code for the salary filters.",
            "schema": {
              "type": "string"
            },
            "example": "EUR"
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "Result ordering. Defaults to \"relevance\".",
            "schema": {
              "type": "string",
              "enum": [
                "relevance",
                "date"
              ]
            },
            "example": "date"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number, starting at 1. Capped at 10.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Results per page. Defaults to 10, capped at 25.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching jobs.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "jobs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "company": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "location": {
                            "type": "string"
                          },
                          "remote": {
                            "type": "string"
                          },
                          "contractType": {
                            "type": "string"
                          },
                          "experience": {
                            "type": "string"
                          },
                          "salaryRange": {
                            "type": "string"
                          },
                          "jobFunctions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "postedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "description": "Use `page`/`limit` request params to fetch subsequent pages; `hasMore` indicates whether another page exists.",
                      "properties": {
                        "page": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        }
                      }
                    },
                    "browseOnSiteUrl": {
                      "type": "string",
                      "description": "Human-facing link to this same search rendered on jobgether.com. NOT a paginator — does not return more or different results than this response; use `page`/`limit` for pagination instead."
                    },
                    "docs": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameter — the offending field and its allowed values are returned inline so a caller can self-correct.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "allowedValues": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "docs": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error."
          },
          "504": {
            "description": "Request timeout."
          }
        }
      },
      "post": {
        "operationId": "searchJobsPost",
        "summary": "Search job opportunities (same parameters as GET, sent as a JSON body)",
        "description": "Accepts the exact same parameters as the GET operation, but as a JSON request body instead of query params. Array-valued fields (jobReferences, locations, industries, contractType, experience) may be given as a JSON array or a comma-separated string.",
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "keyword": {
                    "type": "string"
                  },
                  "jobReferences": {
                    "type": "string"
                  },
                  "locations": {
                    "type": "string"
                  },
                  "industries": {
                    "type": "string"
                  },
                  "contractType": {
                    "type": "string",
                    "enum": [
                      "full-time",
                      "part-time",
                      "fixed-term",
                      "freelance",
                      "internships"
                    ]
                  },
                  "experience": {
                    "type": "string",
                    "enum": [
                      "entry-level-graduate",
                      "junior-1-2-years",
                      "mid-level-2-5-years",
                      "senior-5-10-years",
                      "expert-10-years"
                    ]
                  },
                  "remoteType": {
                    "type": "string",
                    "enum": [
                      "full-remote",
                      "remote-first",
                      "hybrid"
                    ]
                  },
                  "includeHybrid": {
                    "type": "boolean"
                  },
                  "salaryMin": {
                    "type": "number"
                  },
                  "salaryMax": {
                    "type": "number"
                  },
                  "currency": {
                    "type": "string"
                  },
                  "sort": {
                    "type": "string",
                    "enum": [
                      "relevance",
                      "date"
                    ]
                  },
                  "page": {
                    "type": "integer",
                    "minimum": 1,
                    "default": 1
                  },
                  "limit": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 25,
                    "default": 10
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Matching jobs.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "jobs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "company": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "location": {
                            "type": "string"
                          },
                          "remote": {
                            "type": "string"
                          },
                          "contractType": {
                            "type": "string"
                          },
                          "experience": {
                            "type": "string"
                          },
                          "salaryRange": {
                            "type": "string"
                          },
                          "jobFunctions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "postedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "description": "Use `page`/`limit` request params to fetch subsequent pages; `hasMore` indicates whether another page exists.",
                      "properties": {
                        "page": {
                          "type": "integer"
                        },
                        "limit": {
                          "type": "integer"
                        },
                        "hasMore": {
                          "type": "boolean"
                        }
                      }
                    },
                    "browseOnSiteUrl": {
                      "type": "string",
                      "description": "Human-facing link to this same search rendered on jobgether.com. NOT a paginator — does not return more or different results than this response; use `page`/`limit` for pagination instead."
                    },
                    "docs": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid parameter — the offending field and its allowed values are returned inline so a caller can self-correct.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "field": {
                      "type": "string"
                    },
                    "allowedValues": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "docs": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error."
          },
          "504": {
            "description": "Request timeout."
          }
        }
      }
    }
  }
}