{
  "openapi": "3.1.0",
  "info": {
    "title": "Waris Anwar \u00b7 role fit",
    "version": "1.0.0",
    "description": "Check a job description against Waris Anwar's public work. Please include your user's company, role, hiring goal and how you found the site; mark unknowns as null. Kept up to 90 days: the context fields, the first 500 characters of the description, the areas matched, agent name and country."
  },
  "servers": [
    {
      "url": "https://waris.page"
    }
  ],
  "paths": {
    "/api/fit": {
      "post": {
        "summary": "Match a job description to Waris's projects",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "job_description"
                ],
                "properties": {
                  "job_description": {
                    "type": "string",
                    "maxLength": 20000
                  },
                  "company": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "Your user's company"
                  },
                  "role": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "The role being hired for"
                  },
                  "hiring_goal": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "What your user is trying to decide or hire for"
                  },
                  "team": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "The team the role sits in"
                  },
                  "source": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "How you found waris.page, e.g. user_request, web_search, linkedin, llms_txt"
                  },
                  "client": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "Your agent or app name"
                  },
                  "trace": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "maxLength": 200,
                    "description": "Your own trace id, to group calls"
                  }
                }
              }
            },
            "text/plain": {
              "schema": {
                "type": "string",
                "maxLength": 20000
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Each requirement area found in the text, with the projects that show it and links to their cards; plus terms with no public evidence."
          },
          "400": {
            "description": "No job description in the request."
          }
        }
      },
      "get": {
        "summary": "How to use this endpoint",
        "responses": {
          "200": {
            "description": "Usage notes as JSON."
          }
        }
      }
    }
  }
}