Print Hive Printer Config API

Printer configuration management endpoints

GitHub OpenAPI

Operations 5

GET /v1/printer-config Get printer config #
POST /v1/printer-config Create printer config #
GET /v1/printer-config/{id} Get printer config by id #
PATCH /v1/printer-config/{id} Update printer config by id #
PATCH /v1/printer-config/{id}/connection-status Update printer config by id connection status #

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/printhiv3d-com:printhiv3d-com-printer-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

printhiv3d-com-printer-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation Printer Config API
  description: 'REST API for the Print Hive print farm management platform: printers, print jobs, models, materials, inventory, smart queue, and integrations.'
  version: 1.0.0
servers:
- url: https://api.printhiv3d.com
  description: Production
tags:
- name: Printer Config
  description: Printer configuration management endpoints
paths:
  /v1/printer-config:
    get:
      parameters:
      - schema:
          type: string
        in: query
        name: host_id
        required: false
      - schema:
          type: string
        in: query
        name: name
        required: false
      - schema:
          type: string
        in: query
        name: serial_number
        required: false
      - schema:
          type: string
        in: query
        name: ip_address
        required: false
      - schema:
          type: boolean
        in: query
        name: include_incomplete
        required: false
      - schema:
          type: boolean
        in: query
        name: enabled_only
        required: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - printers
                properties:
                  printers:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - name
                      - serial_number
                      - ip_address
                      - access_token
                      - organization_id
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        serial_number:
                          type: string
                        ip_address:
                          type: string
                        access_token:
                          type: string
                        organization_id:
                          type: string
                        printer_type:
                          type: string
                          enum:
                          - bambu
                          - prusa_connect
                          - octoprint
                          - klipper
                          - snapmaker
                          - flashforge
                          - creality_print
                          - elegoo_sdcp
                        api_key:
                          type: string
                        port:
                          type: number
                        communication_protocol:
                          type: string
                          enum:
                          - mqtt
                          - http
                          - websocket
                          - serial
                        capabilities:
                          type: object
                        secure:
                          type: boolean
                        timeout:
                          type: number
                        reconnect_interval:
                          type: number
                        model:
                          type: string
                        detection_auto_pause:
                          type: boolean
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
      tags:
      - Printer Config
      summary: Get printer config
      x-summary-source: derived
      operationId: getV1PrinterConfig
      x-operation-id-source: derived
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - ip_address
              properties:
                name:
                  type: string
                ip_address:
                  type: string
                serial_number:
                  type: string
                model:
                  type: string
                access_token:
                  type: string
                enabled:
                  type: boolean
                  default: false
                host_id:
                  type: string
                discovery_method:
                  type: string
                discovered_at:
                  type: string
                  format: date-time
                printer_type:
                  type: string
                  enum:
                  - bambu
                  - prusa_connect
                  - octoprint
                  - klipper
                  - snapmaker
                  - flashforge
                  - creality_print
                  - elegoo_sdcp
                  default: bambu
                api_key:
                  type: string
                port:
                  type: number
                communication_protocol:
                  type: string
                  enum:
                  - mqtt
                  - http
                  - websocket
                  - serial
                capabilities:
                  type: object
                secure:
                  type: boolean
                  default: true
                timeout:
                  type: number
                  default: 30000
                reconnect_interval:
                  type: number
                  default: 5000
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - success
                properties:
                  id:
                    type: string
                  success:
                    type: boolean
                  updated:
                    type: boolean
                  assignmentStatus:
                    type: string
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
      tags:
      - Printer Config
      summary: Create printer config
      x-summary-source: derived
      operationId: postV1PrinterConfig
      x-operation-id-source: derived
  /v1/printer-config/{id}:
    get:
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - printer
                properties:
                  printer:
                    type: object
                    required:
                    - id
                    - name
                    - ip_address
                    - organization_id
                    - connection_config_revision
                    properties:
                      id:
                        type: string
                      connection_config_revision:
                        type: integer
                        minimum: 1
                      name:
                        type: string
                      serial_number:
                        type: string
                      ip_address:
                        type: string
                      access_token:
                        type: string
                      organization_id:
                        type: string
                      printer_type:
                        type: string
                      api_key:
                        type: string
                      port:
                        type: number
                      secure:
                        type: boolean
                      timeout:
                        type: number
                      model:
                        type: string
                      detection_auto_pause:
                        type: boolean
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
      tags:
      - Printer Config
      summary: Get printer config by id
      x-summary-source: derived
      operationId: getV1PrinterConfigById
      x-operation-id-source: derived
    patch:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              properties:
                name:
                  type: string
                ip_address:
                  type: string
                serial_number:
                  type: string
                model:
                  type: string
                access_token:
                  type: string
                enabled:
                  type: boolean
                printer_type:
                  type: string
                  enum:
                  - bambu
                  - prusa_connect
                  - octoprint
                  - klipper
                  - snapmaker
                  - flashforge
                  - creality_print
                  - elegoo_sdcp
                api_key:
                  type: string
                port:
                  type: number
                communication_protocol:
                  type: string
                  enum:
                  - mqtt
                  - http
                  - websocket
                  - serial
                capabilities:
                  type: object
                secure:
                  type: boolean
                timeout:
                  type: number
                reconnect_interval:
                  type: number
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                properties:
                  success:
                    type: boolean
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
      tags:
      - Printer Config
      summary: Update printer config by id
      x-summary-source: derived
      operationId: patchV1PrinterConfigById
      x-operation-id-source: derived
  /v1/printer-config/{id}/connection-status:
    patch:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - is_connected
              - last_heartbeat
              properties:
                is_connected:
                  type: boolean
                last_heartbeat:
                  type: string
                  format: date-time
                status:
                  type: string
      parameters:
      - schema:
          type: string
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - success
                properties:
                  success:
                    type: boolean
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                - error
                - message
                properties:
                  error:
                    type: string
                  message:
                    type: string
      tags:
      - Printer Config
      summary: Update printer config by id connection status
      x-summary-source: derived
      operationId: patchV1PrinterConfigByIdConnectionStatus
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    apiKey:
      type: apiKey
      in: header
      name: x-api-key