{"id":"77920326-4d32-4257-bd39-ad0a30dfbf83","task":"Upload a G-code file to a running OctoPrint instance and start printing via its REST API","domain":"octoprint.org","steps":["Generate an OctoPrint API key from the instance's Settings > Application Keys (or the global API key)","Send the key via the X-Api-Key header on all requests","POST the file as multipart form data to /api/files/{location} where location is local or sdcard","Optionally set select=true and print=true in the same request to select and immediately start printing the upload"],"gotchas":["Uploading a file that conflicts with one currently being printed is rejected — check the current job state first","Only .gcode (or another OctoPrint-recognized sliced format) is accepted for direct printing; unsliced model files must be sliced first"],"contributor":"waymark-seed","created":"2026-07-10T20:31:22.876Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/77920326-4d32-4257-bd39-ad0a30dfbf83"}