Print Hive Production Runs API

The Production Runs API from Print Hive — 13 operation(s) for production runs.

GitHub OpenAPI

Operations 15

GET /v1/production-runs List Make Production Runs #
GET /v1/production-runs/{runId} Get Make Production Run detail #
POST /v1/production-runs/{runId}/cancel Cancel queued jobs linked to a Make Production Run #
GET /v1/production-run-templates List Production Run Templates #
POST /v1/production-run-templates Create a Production Run Template #
PATCH /v1/production-run-templates/{templateId} Update a Production Run Template #
POST /v1/production-run-templates/{templateId}/archive Archive a Production Run Template #
GET /v1/production-run-templates/{templateId}/qr-tokens List Production QR tokens for a template #
POST /v1/production-run-templates/{templateId}/qr-tokens Create a Production QR token for a template #
PATCH /v1/production-qr-tokens/{tokenId} Update Production QR label metadata #
POST /v1/production-qr-tokens/{tokenId}/revoke Revoke a Production QR token #
POST /v1/production-qr-tokens/{tokenId}/rotate Rotate a Production QR token #
POST /v1/production-runs/preview Preview a Make Production Run from a template #
POST /v1/production-runs/scan/{token}/preview Preview a Make Production Run from a QR token #
POST /v1/production-runs/confirm Confirm a Make Production Run and enqueue print jobs #

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-production-runs-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-production-runs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation Production Runs 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: Production Runs
paths:
  /v1/production-runs:
    get:
      summary: List Make Production Runs
      tags:
      - Production Runs
      parameters:
      - schema:
          type: string
          format: uuid
        in: query
        name: organizationId
        required: false
      - schema:
          type: integer
          minimum: 1
          default: 1
        in: query
        name: page
        required: false
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
        in: query
        name: limit
        required: false
      - schema:
          type: string
        in: query
        name: search
        required: false
      - schema:
          type: string
          enum:
          - queued
          - in_progress
          - completed
          - partially_failed
          - cancelled
        in: query
        name: status
        required: false
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1ProductionRuns
      x-operation-id-source: derived
  /v1/production-runs/{runId}:
    get:
      summary: Get Make Production Run detail
      tags:
      - Production Runs
      parameters:
      - schema:
          type: string
          format: uuid
        in: query
        name: organizationId
        required: false
      - schema:
          type: string
          format: uuid
        in: path
        name: runId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1ProductionRunsByRunId
      x-operation-id-source: derived
  /v1/production-runs/{runId}/cancel:
    post:
      summary: Cancel queued jobs linked to a Make Production Run
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
                reason:
                  type: string
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: runId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunsByRunIdCancel
      x-operation-id-source: derived
  /v1/production-run-templates:
    get:
      summary: List Production Run Templates
      tags:
      - Production Runs
      parameters:
      - schema:
          type: string
          format: uuid
        in: query
        name: organizationId
        required: false
      - schema:
          type: integer
          minimum: 1
          default: 1
        in: query
        name: page
        required: false
      - schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
        in: query
        name: limit
        required: false
      - schema:
          type: string
        in: query
        name: search
        required: false
      - schema:
          type: string
          enum:
          - active
          - archived
        in: query
        name: status
        required: false
      - schema:
          type: string
          enum:
          - make
          - sku
        in: query
        name: sourceType
        required: false
      - schema:
          type: string
          format: uuid
        in: query
        name: sourceId
        required: false
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1ProductionRunTemplates
      x-operation-id-source: derived
    post:
      summary: Create a Production Run Template
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - lines
              properties:
                organizationId:
                  type: string
                  format: uuid
                name:
                  type: string
                  minLength: 1
                description:
                  type:
                  - string
                  - 'null'
                defaultQuantity:
                  type: integer
                  minimum: 1
                  default: 1
                labelName:
                  type:
                  - string
                  - 'null'
                labelFormat:
                  type: string
                  minLength: 1
                  default: 3x2
                labelMetadata:
                  type: object
                lines:
                  type: array
                  minItems: 1
                  items:
                    type: object
                    required:
                    - sourceType
                    properties:
                      sourceType:
                        type: string
                        enum:
                        - make
                        - sku
                      makeId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      productSkuId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      lineQuantity:
                        type: integer
                        minimum: 1
                        default: 1
                      position:
                        type: integer
                        minimum: 1
                      label:
                        type:
                        - string
                        - 'null'
                      metadata:
                        type: object
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunTemplates
      x-operation-id-source: derived
  /v1/production-run-templates/{templateId}:
    patch:
      summary: Update a Production Run Template
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
                name:
                  type: string
                  minLength: 1
                description:
                  type:
                  - string
                  - 'null'
                defaultQuantity:
                  type: integer
                  minimum: 1
                labelName:
                  type:
                  - string
                  - 'null'
                labelFormat:
                  type: string
                  minLength: 1
                labelMetadata:
                  type: object
                lines:
                  type: array
                  minItems: 1
                  items:
                    type: object
                    required:
                    - sourceType
                    properties:
                      sourceType:
                        type: string
                        enum:
                        - make
                        - sku
                      makeId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      productSkuId:
                        type:
                        - string
                        - 'null'
                        format: uuid
                      lineQuantity:
                        type: integer
                        minimum: 1
                        default: 1
                      position:
                        type: integer
                        minimum: 1
                      label:
                        type:
                        - string
                        - 'null'
                      metadata:
                        type: object
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: templateId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchV1ProductionRunTemplatesByTemplateId
      x-operation-id-source: derived
  /v1/production-run-templates/{templateId}/archive:
    post:
      summary: Archive a Production Run Template
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: templateId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunTemplatesByTemplateIdArchive
      x-operation-id-source: derived
  /v1/production-run-templates/{templateId}/qr-tokens:
    get:
      summary: List Production QR tokens for a template
      tags:
      - Production Runs
      parameters:
      - schema:
          type: string
          format: uuid
        in: query
        name: organizationId
        required: false
      - schema:
          type: string
          format: uuid
        in: path
        name: templateId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1ProductionRunTemplatesByTemplateIdQrTokens
      x-operation-id-source: derived
    post:
      summary: Create a Production QR token for a template
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
                labelName:
                  type:
                  - string
                  - 'null'
                labelFormat:
                  type: string
                  minLength: 1
                labelMetadata:
                  type: object
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: templateId
        required: true
      - schema:
          type: string
          minLength: 1
        in: header
        name: idempotency-key
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunTemplatesByTemplateIdQrTokens
      x-operation-id-source: derived
  /v1/production-qr-tokens/{tokenId}:
    patch:
      summary: Update Production QR label metadata
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
                labelName:
                  type:
                  - string
                  - 'null'
                labelFormat:
                  type: string
                  minLength: 1
                labelMetadata:
                  type: object
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: tokenId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: patchV1ProductionQrTokensByTokenId
      x-operation-id-source: derived
  /v1/production-qr-tokens/{tokenId}/revoke:
    post:
      summary: Revoke a Production QR token
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: tokenId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionQrTokensByTokenIdRevoke
      x-operation-id-source: derived
  /v1/production-qr-tokens/{tokenId}/rotate:
    post:
      summary: Rotate a Production QR token
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                organizationId:
                  type: string
                  format: uuid
                labelName:
                  type:
                  - string
                  - 'null'
                labelFormat:
                  type: string
                  minLength: 1
                labelMetadata:
                  type: object
      parameters:
      - schema:
          type: string
          format: uuid
        in: path
        name: tokenId
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionQrTokensByTokenIdRotate
      x-operation-id-source: derived
  /v1/production-runs/preview:
    post:
      summary: Preview a Make Production Run from a template
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - templateId
              properties:
                organizationId:
                  type: string
                  format: uuid
                templateId:
                  type: string
                  format: uuid
                quantity:
                  type: integer
                  minimum: 1
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunsPreview
      x-operation-id-source: derived
  /v1/production-runs/scan/{token}/preview:
    post:
      summary: Preview a Make Production Run from a QR token
      tags:
      - Production Runs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                quantity:
                  type: integer
                  minimum: 1
      parameters:
      - schema:
          type: string
          minLength: 1
        in: path
        name: token
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunsScanByTokenPreview
      x-operation-id-source: derived
  /v1/production-runs/confirm:
    post:
      summary: Confirm a Make Production Run and enqueue print jobs
      tags:
      - Production Runs
      description: Idempotency-Key is scoped to the organization. Retries return the saved run only when the source, quantity, preview hash, and duplicate-output acknowledgement match. Conflicting reuse returns 409 IDEMPOTENCY_KEY_REUSED. An omitted quantity uses the saved template default during replay. Receipt read failures return 500; retry with the same key. Completion does not establish quality acceptance or shipping readiness.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - previewHash
              properties:
                organizationId:
                  type: string
                  format: uuid
                templateId:
                  type: string
                  format: uuid
                token:
                  type: string
                  minLength: 1
                quantity:
                  type: integer
                  minimum: 1
                previewHash:
                  type: string
                  minLength: 1
                duplicateOutputAcknowledged:
                  type: boolean
                  default: false
      parameters:
      - schema:
          type: string
          minLength: 1
        in: header
        name: idempotency-key
        required: true
      responses:
        '200':
          description: Default Response
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1ProductionRunsConfirm
      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