Print Hive Internal API

The Internal API from Print Hive — 9 operation(s) for internal.

GitHub OpenAPI

Operations 9

POST /v1/internal/farm-briefings/daily Create internal farm briefings daily #
POST /v1/internal/at-risk-alerts/run Create internal at risk alerts run #
POST /v1/internal/subtasks/{id}/start-print-attempts/begin Create internal subtasks by id start print attempts begin #
POST /v1/internal/start-print-attempts/{id}/command-result Create internal start print attempts by id command result #
POST /v1/internal/start-print-attempts/recover Create internal start print attempts recover #
POST /v1/internal/start-print-attempts/recover-terminal Create internal start print attempts recover terminal #
GET /v1/internal/start-print-attempts/{id} Get internal start print attempts by id #
GET /v1/internal/start-print-attempts/{id}/local-lab-proof Get internal start print attempts by id local lab proof #
POST /v1/internal/assistant-watches/sweep Create internal assistant watches sweep #

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-internal-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-internal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation Internal 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: Internal
paths:
  /v1/internal/farm-briefings/daily:
    post:
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal farm briefings daily
      x-summary-source: derived
      operationId: postV1InternalFarmBriefingsDaily
      x-operation-id-source: derived
  /v1/internal/at-risk-alerts/run:
    post:
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal at risk alerts run
      x-summary-source: derived
      operationId: postV1InternalAtRiskAlertsRun
      x-operation-id-source: derived
  /v1/internal/subtasks/{id}/start-print-attempts/begin:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                protocolVersion:
                  enum:
                  - 1
                  - 2
                  - 3
                  - 4
                claimGeneration:
                  type: string
                  format: uuid
                observedSubtaskRetryCount:
                  type: integer
                  minimum: 0
                deadlineAt:
                  type: string
                  format: date-time
                sentFileName:
                  type: string
                  pattern: ^(?=.*[^ ])[^\u0000-\u001F\u007F/\\]{1,255}$
              additionalProperties: false
              allOf:
              - if:
                  properties:
                    protocolVersion:
                      enum:
                      - 3
                      - 4
                  required:
                  - protocolVersion
                then:
                  required:
                  - protocolVersion
                  - claimGeneration
                  - observedSubtaskRetryCount
                  - deadlineAt
                else:
                  not:
                    anyOf:
                    - required:
                      - claimGeneration
                    - required:
                      - observedSubtaskRetryCount
                    - required:
                      - deadlineAt
              - if:
                  properties:
                    protocolVersion:
                      enum:
                      - 4
                  required:
                  - protocolVersion
                then:
                  required:
                  - sentFileName
                else:
                  not:
                    required:
                    - sentFileName
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal subtasks by id start print attempts begin
      x-summary-source: derived
      operationId: postV1InternalSubtasksByIdStartPrintAttemptsBegin
      x-operation-id-source: derived
  /v1/internal/start-print-attempts/{id}/command-result:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                kind:
                  type: string
                  enum:
                  - acknowledged
                  - ambiguous
                  - rejected
                code:
                  type: string
                  minLength: 1
                message:
                  type: string
                  minLength: 1
              required:
              - kind
              additionalProperties: false
              oneOf:
              - properties:
                  kind:
                    enum:
                    - acknowledged
                required:
                - kind
                maxProperties: 1
              - properties:
                  kind:
                    enum:
                    - ambiguous
                  code:
                    type: string
                    enum:
                    - MQTT_TIMEOUT
                    - COMMAND_RESULT_UNKNOWN
                  message:
                    type: string
                    minLength: 1
                required:
                - kind
                - code
                - message
              - properties:
                  kind:
                    enum:
                    - rejected
                required:
                - kind
                - code
                - message
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                oneOf:
                - type: object
                  properties:
                    kind:
                      enum:
                      - recorded
                    attemptState:
                      type: string
                      enum:
                      - acknowledged
                      - ambiguous
                  required:
                  - kind
                  - attemptState
                  additionalProperties: false
                - type: object
                  properties:
                    kind:
                      enum:
                      - confirmed
                  required:
                  - kind
                  additionalProperties: false
                - type: object
                  properties:
                    kind:
                      enum:
                      - retry_scheduled
                    jobId:
                      type: integer
                      minimum: 1
                    retryCount:
                      type: integer
                      minimum: 1
                    nextEligibleAt:
                      type: string
                      format: date-time
                  required:
                  - kind
                  - jobId
                  - retryCount
                  - nextEligibleAt
                  additionalProperties: false
                - type: object
                  properties:
                    kind:
                      enum:
                      - job_terminal
                    jobId:
                      type: integer
                      minimum: 1
                    status:
                      enum:
                      - ERROR
                      - FAILED
                      - CANCELLED
                    lockRetained:
                      enum:
                      - true
                  required:
                  - kind
                  - jobId
                  - status
                  - lockRetained
                  additionalProperties: false
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal start print attempts by id command result
      x-summary-source: derived
      operationId: postV1InternalStartPrintAttemptsByIdCommandResult
      x-operation-id-source: derived
  /v1/internal/start-print-attempts/recover:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                printerId:
                  type: string
                  format: uuid
                deviceTaskId:
                  type: string
                  pattern: ^[1-9][0-9]*$
              required:
              - printerId
              - deviceTaskId
              additionalProperties: false
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal start print attempts recover
      x-summary-source: derived
      operationId: postV1InternalStartPrintAttemptsRecover
      x-operation-id-source: derived
  /v1/internal/start-print-attempts/recover-terminal:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                printerId:
                  type: string
                  format: uuid
                deviceTaskId:
                  type: string
                  pattern: ^[1-9][0-9]*$
              required:
              - printerId
              - deviceTaskId
              additionalProperties: false
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal start print attempts recover terminal
      x-summary-source: derived
      operationId: postV1InternalStartPrintAttemptsRecoverTerminal
      x-operation-id-source: derived
  /v1/internal/start-print-attempts/{id}:
    get:
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Get internal start print attempts by id
      x-summary-source: derived
      operationId: getV1InternalStartPrintAttemptsById
      x-operation-id-source: derived
  /v1/internal/start-print-attempts/{id}/local-lab-proof:
    get:
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Get internal start print attempts by id local lab proof
      x-summary-source: derived
      operationId: getV1InternalStartPrintAttemptsByIdLocalLabProof
      x-operation-id-source: derived
  /v1/internal/assistant-watches/sweep:
    post:
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Internal
      summary: Create internal assistant watches sweep
      x-summary-source: derived
      operationId: postV1InternalAssistantWatchesSweep
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      description: 'Consistent Print Hive API error body: a machine-readable error code and a human-readable message.'
      properties:
        error:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable explanation of the failure.
      required:
      - error
      - message
  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