{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kernelcad-com/json-schema/kernelcad-com-post-api-files-local-request-schema.json",
  "title": "PostApiFilesLocalRequest",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/kernelcad-com-openapi-generated.yml#/components/schemas/PostApiFilesLocalRequest",
  "type": "object",
  "properties": {
    "gcode_path": {
      "type": "string",
      "description": "Path to the .gcode file on disk."
    },
    "protocol": {
      "type": "string",
      "description": "Must be \"octoprint\" for this endpoint."
    },
    "host": {
      "type": "string",
      "description": "Printer hostname or IP."
    },
    "port": {
      "type": "number",
      "description": "Override the protocol default port."
    },
    "api_key": {
      "type": "string",
      "description": "OctoPrint API key (Settings -> API)."
    },
    "dry_run": {
      "type": "boolean",
      "description": "Validate connectivity/authentication only, without uploading or starting a print."
    }
  },
  "required": [
    "gcode_path",
    "protocol"
  ]
}