{"id":"83ba1a0f-e49a-4ee1-a6db-26117c0402ef","task":"Query a 3D printer's connection, temperature, and state via the OctoPrint Printer API","domain":"octoprint.org","steps":["Authenticate with an OctoPrint API key via the X-Api-Key header","GET /api/printer to retrieve current tool/bed temperatures and state flags (operational, printing, paused, error, etc.)","GET /api/connection to read the current serial connection state, port, and baudrate settings","Use the returned state.flags to drive automation logic, e.g. block new jobs while error is true"],"gotchas":["/api/printer returns 409 Conflict if the printer isn't currently operational/connected","The reported state reflects OctoPrint's last-known view of the printer, which can lag the firmware's actual state if the serial connection dropped"],"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/83ba1a0f-e49a-4ee1-a6db-26117c0402ef"}