OctoPrint API

OctoPrint API as documented publicly: 54 operations. Contract generated from the documentation by API Evangelist (2026-10-28); not the provider's own document.

Operations 54

GET /api/access/groups Retrieves all groups registered in the system. #
POST /api/access/groups Adds a new group to the system. #
GET /api/access/permissions Retrieves all permissions available in the system. #
GET /api/access/users Retrieves a list of all registered users in OctoPrint. #
POST /api/access/users Adds a user to OctoPrint. #
GET /api/connection Retrieve the current connection settings, including information regarding the available baudrates and serial ports and the current connection state. #
POST /api/connection Issue a connection command. #
GET /api/currentuser Retrieves information about the current user. #
GET /api/files Retrieve information regarding all files currently available and regarding the disk space still available locally in the system. #
POST /api/files Upload a file to the selected location or create a new empty folder on it. #
GET /api/files/local Retrieve information regarding the files currently available on the selected location and regarding the disk space still available locally in the system. #
POST /api/files/local Upload a file to the selected location or create a new empty folder on it. #
POST /api/files/local/some_folder/and_a_subfolder Issue a file command to an existing file. #
POST /api/files/local/some_folder/some_model.gcode Issue a file command to an existing file. #
POST /api/files/local/some_folder/some_model.stl Issue a file command to an existing file. #
DELETE /api/files/local/whistle_v2.gcode Delete the selected path on the selected location. #
GET /api/files/local/whistle_v2.gcode Retrieves the selected file's or folder's information. #
POST /api/files/local/whistle_v2.gcode Issue a file command to an existing file. #
POST /api/files/sdcard Upload a file to the selected location or create a new empty folder on it. #
GET /api/job Retrieve information about the current job (if there is one). #
POST /api/job Job commands allow starting, pausing and cancelling print jobs. #
GET /api/languages Retrieves a list of installed language packs. #
POST /api/languages Uploads a new language pack to OctoPrint. #
POST /api/login Creates a login session or retrieves information about the currently existing session ("passive login"). #
POST /api/logout Ends the current login session of the current user. #
POST /api/plugin/mysimpleapiplugin Called by OctoPrint upon a POST request to /api/plugin/ with a command and JSON data. #
GET /api/printer Retrieves the current state of the printer. #
GET /api/printer/bed Retrieves the current temperature data (actual, target and offset) plus optionally a (limited) history for the printer's heated bed. #
POST /api/printer/bed Issue a bed command. #
GET /api/printer/chamber Retrieves the current temperature data (actual, target and offset) plus optionally a (limited) history for the printer's heated chamber. #
POST /api/printer/chamber Issue a chamber command. #
POST /api/printer/command Sends any command to the printer via the serial interface. #
GET /api/printer/command/custom Retrieves the custom controls as configured in config.yaml. #
GET /api/printer/error Retrieves information about the last error that occurred on the printer. #
POST /api/printer/printhead Issue a print head command. #
GET /api/printer/sd Retrieves the current state of the printer's SD card. #
POST /api/printer/sd Issue an SD command. #
GET /api/printer/tool Retrieves the current temperature data (actual, target and offset) plus optionally a (limited) history for all of the printer's available tools. #
POST /api/printer/tool Issue a tool command. #
GET /api/printerprofiles Retrieves an object representing all configured printer profiles. #
POST /api/printerprofiles Adds a new printer profile based on either the current default profile or the profile identified in basedOn. #
GET /api/server GET /api/server #
GET /api/settings Retrieves the current configuration of OctoPrint. #
POST /api/settings Saves the provided settings in OctoPrint. #
POST /api/settings/apikey Generates a new system wide API key. #
GET /api/settings/templates Fetch data (currently only the sorting order) of all registered template components in the system. #
GET /api/slicing Returns a list of all available slicing profiles for all registered slicers in the system. #
GET /api/system/commands Retrieves all configured system commands. #
GET /api/timelapse Retrieves a list of timelapses and the current config. #
POST /api/timelapse Save a new timelapse configuration to use for the next print. #
POST /api/util/test Provides commands to test paths or URLs for correctness. #
GET /api/version GET /api/version #
GET /setup/wizard Retrieves additional data about the registered wizards. #
POST /setup/wizard Inform wizards that the wizard dialog has been finished. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/octoprint:octoprint-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

octoprint-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: OctoPrint API
  version: '2026-10-28'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-28: 54 operation(s) read from 19 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; OctoPrint has published no machine-readable contract
    that the pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 2
    documentation: 52
    pages-with-code: 2
    pages-read: 19
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-28'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://docs.octoprint.org/en/main/api/job.html
  - https://docs.octoprint.org/en/main/api/push.html
  - https://docs.octoprint.org/en/main/api/util.html
  - https://docs.octoprint.org/en/main/api/files.html
  - https://docs.octoprint.org/en/main/api/access.html
  - https://docs.octoprint.org/en/main/api/server.html
  - https://docs.octoprint.org/en/main/api/system.html
  - https://docs.octoprint.org/en/main/api/wizard.html
  - https://docs.octoprint.org/en/main/api/general.html
  - https://docs.octoprint.org/en/main/api/printer.html
  - https://docs.octoprint.org/en/main/api/slicing.html
  - https://docs.octoprint.org/en/main/api/version.html
  - https://docs.octoprint.org/en/main/api/settings.html
  - https://docs.octoprint.org/en/main/api/languages.html
  - https://docs.octoprint.org/en/main/api/timelapse.html
  - https://docs.octoprint.org/en/main/api/connection.html
  - https://docs.octoprint.org/en/main/api/printerprofiles.html
  - https://docs.octoprint.org/en/main/plugins/mixins.html


# --- truncated at 32 KB (69 KB total) ---
# Full source: https://artifacts.apis.io/octoprint/openapi/_ae-authored/octoprint-openapi-generated.yml