Start, pause, resume, and cancel a print job via OctoPrint's Job API

domain: docs.octoprint.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate requests with the X-Api-Key header (or a CSRF-protected session login) as required by all OctoPrint REST endpoints.
  2. POST /api/job with {"command": "start"} to begin printing the currently selected file (requires the PRINT permission).
  3. POST /api/job with {"command": "pause", "action": "pause"|"resume"|"toggle"} to control an active job.
  4. POST /api/job with {"command": "cancel"} to abort, or {"command": "restart"} to restart a paused job from the beginning.
  5. GET /api/job to retrieve job state, progress.completion, and file info.

Known gotchas

Related routes

Start, pause, or cancel a print job via the OctoPrint Job API
octoprint.org · 5 steps · unrated
Execute G-code and control a print job (start/pause/resume/cancel) via Moonraker
moonraker.readthedocs.io · 4 steps · unrated
Control print jobs and printer state via the Repetier-Server REST API
repetier-server.com · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans