Print Hive Makes API
Makes (production batches) management with SKU linking
Makes (production batches) management with SKU linking
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-makes-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 Makes 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: Makes
description: Makes (production batches) management with SKU linking
paths:
/v1/model-files/{fileId}/full-workshop/makes:
post:
summary: Atomically create or update a Full Workshop Make
tags:
- Makes
description: Saves a Make's name, SKU association, quantity, default state, and full material mapping set as one transaction. Never reads or mutates inventory.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- materials
properties:
make_id:
type: string
format: uuid
expected_revision:
type: integer
name:
type: string
minLength: 1
sku_id:
type:
- string
- 'null'
format: uuid
quantity_to_print:
type: integer
minimum: 1
default: 1
is_default:
type: boolean
default: false
materials:
type: array
items:
type: object
required:
- filament_index
- material_id
properties:
filament_index:
type: integer
minimum: 0
material_id:
type: string
format: uuid
organizationId:
type: string
parameters:
- schema:
type: string
in: path
name: fileId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: postV1ModelFilesByFileIdFullWorkshopMakes
x-operation-id-source: derived
/v1/makes:
post:
summary: Create new make
tags:
- Makes
description: Create a new make (production batch) with optional SKU link and model files
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
notes:
type: string
sku_id:
type: string
format: uuid
model_files:
type: array
items:
type: object
required:
- model_file_id
properties:
model_file_id:
type: string
format: uuid
quantity_to_print:
type: integer
minimum: 1
default: 1
organizationId:
type: string
description: Organization ID (optional, defaults to user's primary organization)
responses:
'201':
description: Make created successfully
content:
application/json:
schema:
type: object
description: Make created successfully
'400':
description: Invalid request
content:
application/json:
schema:
type: object
description: Invalid request
properties:
error:
type: string
message:
type: string
'404':
description: SKU or model file not found
content:
application/json:
schema:
type: object
description: SKU or model file not found
properties:
error:
type: string
message:
type: string
operationId: postV1Makes
x-operation-id-source: derived
get:
summary: List makes
tags:
- Makes
description: Get paginated list of makes with optional filters
parameters:
- 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
format: uuid
in: query
name: sku_id
required: false
- schema:
type: boolean
in: query
name: has_sku
required: false
responses:
'200':
description: List of makes
content:
application/json:
schema:
type: object
description: List of makes
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1Makes
x-operation-id-source: derived
/v1/makes/{id}:
get:
summary: Get make by ID
tags:
- Makes
description: Retrieve a single make with all its relations
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: Make retrieved successfully
content:
application/json:
schema:
type: object
description: Make retrieved successfully
'404':
description: Make not found
content:
application/json:
schema:
type: object
description: Make not found
properties:
error:
type: string
message:
type: string
operationId: getV1MakesById
x-operation-id-source: derived
patch:
summary: Update make
tags:
- Makes
description: Partially update a make
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
notes:
type: string
sku_id:
type:
- string
- 'null'
organizationId:
type: string
description: Organization ID (optional, defaults to user's primary organization)
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: Make updated successfully
content:
application/json:
schema:
type: object
description: Make updated successfully
'404':
description: Make or SKU not found
content:
application/json:
schema:
type: object
description: Make or SKU not found
operationId: patchV1MakesById
x-operation-id-source: derived
delete:
summary: Delete make
tags:
- Makes
description: Delete a make permanently (cascades to make_model_files and make_materials)
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'204':
description: Make deleted successfully
'404':
description: Make not found
content:
application/json:
schema:
type: object
description: Make not found
properties:
error:
type: string
message:
type: string
'409':
description: Make is still referenced by other production records
content:
application/json:
schema:
type: object
description: Make is still referenced by other production records
properties:
error:
type: string
message:
type: string
operationId: deleteV1MakesById
x-operation-id-source: derived
/v1/makes/{id}/model-files:
post:
summary: Add model file to make
tags:
- Makes
description: Link a model file to a make with quantity
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- model_file_id
properties:
model_file_id:
type: string
format: uuid
quantity_to_print:
type: integer
minimum: 1
default: 1
organizationId:
type: string
description: Organization ID (optional, defaults to user's primary organization)
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'201':
description: Model file linked successfully
content:
application/json:
schema:
type: object
description: Model file linked successfully
'404':
description: Make or model file not found
content:
application/json:
schema:
type: object
description: Make or model file not found
'409':
description: Model file already linked to this make
content:
application/json:
schema:
type: object
description: Model file already linked to this make
operationId: postV1MakesByIdModelFiles
x-operation-id-source: derived
get:
summary: List model files for make
tags:
- Makes
description: Get all model files linked to a make with their materials
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: List of model file links
content:
application/json:
schema:
type: object
description: List of model file links
'404':
description: Make not found
content:
application/json:
schema:
type: object
description: Make not found
operationId: getV1MakesByIdModelFiles
x-operation-id-source: derived
/v1/makes/{id}/model-files/{linkId}:
delete:
summary: Remove model file from make
tags:
- Makes
description: Remove the link between a make and a model file
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
- schema:
type: string
format: uuid
in: path
name: linkId
required: true
responses:
'204':
description: Link deleted successfully
'404':
description: Make or link not found
content:
application/json:
schema:
type: object
description: Make or link not found
operationId: deleteV1MakesByIdModelFilesByLinkId
x-operation-id-source: derived
/v1/makes/{id}/sku:
patch:
summary: Link/unlink SKU
tags:
- Makes
description: Link a SKU to a make or unlink by setting sku_id to null
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- sku_id
properties:
sku_id:
type:
- string
- 'null'
organizationId:
type: string
description: Organization ID (optional, defaults to user's primary organization)
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
responses:
'200':
description: SKU link updated successfully
content:
application/json:
schema:
type: object
description: SKU link updated successfully
'404':
description: Make or SKU not found
content:
application/json:
schema:
type: object
description: Make or SKU not found
operationId: patchV1MakesByIdSku
x-operation-id-source: derived
/v1/makes/{id}/model-files/{linkId}/materials:
put:
summary: Set materials for a make model file
tags:
- Makes
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- materials
properties:
materials:
type: array
items:
type: object
required:
- filament_index
- material_id
properties:
filament_index:
type: integer
minimum: 0
material_id:
type: string
format: uuid
organizationId:
type: string
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
- schema:
type: string
format: uuid
in: path
name: linkId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: putV1MakesByIdModelFilesByLinkIdMaterials
x-operation-id-source: derived
get:
summary: Get materials for a make model file
tags:
- Makes
parameters:
- schema:
type: string
format: uuid
in: path
name: id
required: true
- schema:
type: string
format: uuid
in: path
name: linkId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1MakesByIdModelFilesByLinkIdMaterials
x-operation-id-source: derived
/v1/model-files/{modelFileId}/makes:
get:
summary: List makes for a model file
tags:
- Makes
parameters:
- schema:
type: string
in: query
name: organizationId
required: false
- schema:
type: string
format: uuid
in: path
name: modelFileId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: getV1ModelFilesByModelFileIdMakes
x-operation-id-source: derived
post:
summary: Create make for model file
tags:
- Makes
description: Create a new make linked to a model file with materials, optionally set as default
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
- materials
properties:
name:
type: string
minLength: 1
notes:
type: string
materials:
type: array
items:
type: object
required:
- filament_index
- material_id
properties:
filament_index:
type: integer
minimum: 0
material_id:
type: string
format: uuid
materialPolicy: {}
is_default:
type: boolean
default: false
organizationId:
type: string
parameters:
- schema:
type: string
format: uuid
in: path
name: modelFileId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: postV1ModelFilesByModelFileIdMakes
x-operation-id-source: derived
/v1/model-files/{modelFileId}/default-make:
patch:
summary: Set default make for model file
tags:
- Makes
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- make_id
properties:
make_id:
type: string
format: uuid
organizationId:
type: string
parameters:
- schema:
type: string
format: uuid
in: path
name: modelFileId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: patchV1ModelFilesByModelFileIdDefaultMake
x-operation-id-source: derived
delete:
summary: Validate that a model file has no default Make to clear
tags:
- Makes
parameters:
- schema:
type: string
in: query
name: organizationId
required: false
- schema:
type: string
format: uuid
in: path
name: modelFileId
required: true
responses:
'200':
description: Default Response
default:
description: Unexpected error response
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
operationId: deleteV1ModelFilesByModelFileIdDefaultMake
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