Print Hive Printer Events API
Printer event handling endpoints
Printer event handling endpoints
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/printhiv3d-com:printhiv3d-com-printer-events-api"
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.
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: 3.2.0
info:
title: Print Hive API Documentation Printer Events 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 Events
description: Printer event handling endpoints
paths:
/v1/printer-events:
post:
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- eventId
- eventType
- data
- seqn
- hostId
- assignmentEpoch
- deliveryAttempt
- timestamp
properties:
eventId:
type: string
minLength: 1
maxLength: 200
idempotencyKey:
type: string
minLength: 1
maxLength: 200
eventType:
type: string
enum:
- status
- message
- rawMessage
- client:connect
- client:disconnect
- client:error
- printer:dataUpdate
- printer:deltaUpdate
- printer:statusUpdate
- printer:amsUpdate
- printer:filamentStateChanged
- printer:error
- job:update
- job:start
- job:pause
- job:offlineRecovery
- job:unpause
- job:finish
- heartbeat
- file:uploadStart
- file:uploadComplete
- file:uploadError
- detection:failure
- detection:warning
- detection:bedEmpty
- detection:complete
- detection:autoPause
data:
type: object
additionalProperties: true
seqn:
type: number
hostId:
type: string
assignmentEpoch:
type: number
deliveryAttempt:
type: integer
minimum: 1
timestamp:
type: number
sessionProof:
type: object
required:
- installationId
- incarnationId
- generation
- localLockGeneration
- installationCapabilityHash
additionalProperties: false
properties:
installationId:
type: string
format: uuid
incarnationId:
type: string
format: uuid
generation:
type: integer
minimum: 1
maximum: 9007199254740991
localLockGeneration:
type: integer
minimum: 1
maximum: 9007199254740991
installationCapabilityHash:
type: string
pattern: ^[0-9a-f]{64}$
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
required:
- success
properties:
success:
type: boolean
jobId:
type:
- 'null'
- number
message:
type: string
'400':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'403':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'404':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'409':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'500':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'503':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
tags:
- Printer Events
summary: Create printer events
x-summary-source: derived
operationId: postV1PrinterEvents
x-operation-id-source: derived
/v1/printer-events/batch:
post:
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- printerId
- events
- timestamp
- hostId
- assignmentEpoch
additionalProperties: false
properties:
batchId:
type: string
minLength: 1
maxLength: 200
idempotencyKey:
type: string
minLength: 1
maxLength: 200
printerId:
type: string
events:
type: array
minItems: 1
maxItems: 100
items:
type: object
required:
- eventId
- type
- timestamp
- seqn
- hostId
- assignmentEpoch
- deliveryAttempt
- data
additionalProperties: false
properties:
eventId:
type: string
minLength: 1
maxLength: 200
idempotencyKey:
type: string
minLength: 1
maxLength: 200
type:
type: string
enum:
- status
- message
- rawMessage
- client:connect
- client:disconnect
- client:error
- printer:dataUpdate
- printer:deltaUpdate
- printer:statusUpdate
- printer:amsUpdate
- printer:filamentStateChanged
- printer:error
- job:update
- job:start
- job:pause
- job:offlineRecovery
- job:unpause
- job:finish
- heartbeat
- file:uploadStart
- file:uploadComplete
- file:uploadError
- detection:failure
- detection:warning
- detection:bedEmpty
- detection:complete
- detection:autoPause
timestamp:
type: number
seqn:
type: number
hostId:
type: string
assignmentEpoch:
type: number
deliveryAttempt:
type: integer
minimum: 1
data:
type: object
additionalProperties: true
persistedId:
type: string
delta:
type: object
additionalProperties: true
timestamp:
type: number
maxSeqn:
type: number
hostId:
type: string
assignmentEpoch:
type: number
sessionProof:
type: object
required:
- installationId
- incarnationId
- generation
- localLockGeneration
- installationCapabilityHash
additionalProperties: false
properties:
installationId:
type: string
format: uuid
incarnationId:
type: string
format: uuid
generation:
type: integer
minimum: 1
maximum: 9007199254740991
localLockGeneration:
type: integer
minimum: 1
maximum: 9007199254740991
installationCapabilityHash:
type: string
pattern: ^[0-9a-f]{64}$
responses:
'200':
description: Default Response
content:
application/json:
schema:
type: object
required:
- success
- processed
properties:
success:
type: boolean
processed:
type: number
failed:
type: number
'400':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'403':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'404':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'409':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'500':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
'503':
description: Default Response
content:
application/json:
schema:
type: object
required:
- error
- message
properties:
code:
type: string
error:
type: string
message:
type: string
tags:
- Printer Events
summary: Create printer events batch
x-summary-source: derived
operationId: postV1PrinterEventsBatch
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