POST /v1/slices
Create a slice: upload the file with its settings as multipart, or send JSON naming a model by id or source_url
https://api.superslice.co/v1/slicesNeeds an API key with the slices:write scope. See Security.
Headers
Idempotency-KeystringRepeating a key returns the same slice; a different body with the same key is a 409
Request body application/json
slicerstringrequiredOne of
bambu-studio,creality-print,elegoo-slicer,prusa-slicerengine_releasestringprinterstring or objectrequiredA system preset name
processstring or objectrequiredA system preset name
filamentstring or objectrequiredA system preset name
model_settingsstringFor a 3MF: use the preset's process settings, the file's own, or both as two paired slices. Defaults to the organisation's setting
One of
preset,model,bothplate_typestringsupportsobject3 fields in
supportsenabledbooleantypestringbuild_plate_onlyboolean
overridesmap of stringcallback_urlstringmetadatamap of objectmodelobjectrequiredSend { id }
idstringrequired
Send { source_url, filename }
source_urlstringrequiredup to 2048 chars
filenamestringup to 255 chars
Or send multipart/form-data
filefilerequiredThe .stl or .3mf model
requestJSON (object)requiredThe slice settings as JSON
11 fields in
requestslicerstringrequiredOne of
bambu-studio,creality-print,elegoo-slicer,prusa-slicerengine_releasestringprinterstring or objectrequiredA system preset name
processstring or objectrequiredA system preset name
filamentstring or objectrequiredA system preset name
model_settingsstringFor a 3MF: use the preset's process settings, the file's own, or both as two paired slices. Defaults to the organisation's setting
One of
preset,model,bothplate_typestringsupportsobject3 fields in
supportsenabledbooleantypestringbuild_plate_onlyboolean
overridesmap of stringcallback_urlstringmetadatamap of object
Returns 202
Accepted. A cache hit is already succeeded.
idstringstatusstringOne of
awaiting_model,queued,processing,succeeded,failedmodelobject3 fields in
modelidstringfilenamestringbytesinteger | null
engineobject4 fields in
enginereleasestringslicerstringOne of
bambu-studio,creality-print,elegoo-slicer,prusa-slicerversionstringprofilesstring
presetobject4 fields in
presetprinterstringprocessstringfilamentstringplatestring | null
overridesmap of stringresultobject | null8 fields in
resultprint_time_sintegermodel_time_sinteger | nullsilent_time_sinteger | nullfilament_gnumberfilament_mmnumbersupportobject5 fields in
supportenabledbooleantypestring | nullbuild_plate_onlyboolean | nullfilament_gnumber | nullprint_time_snumber | null
platesobject[]7 fields in
platesindexintegerprint_time_snumbermodel_time_snumber | nullsilent_time_snumber | nullfilament_gnumberfilament_mmnumbersupport_filament_gnumber | null
appliedmap of string
errorobject | null2 fields in
errorcodestringmessagestring
priceobject | nullFrom the organisation's pricing rules when the slice succeeded; null without rules
4 fields in
pricecurrencystringISO 4217
total_minorintegerThe lines plus the minimum adjustment, in the currency's minor unit
linesobject[]4 fields in
linesnamestringbasisstringHow a line is charged: per gram of filament, per hour of print time, once per order, or as a percentage of the other lines
One of
gram,hour,order,percentamountstringThe rate used: the line's own, or its different amount for this slice's printer or filament
amount_minorinteger
minimum_adjustment_minorintegerWhat lifts the total to the lowest price per order
settings_sourcestring | nullWhere the process settings came from. Null until a model-settings slice finishes
paired_sliceobject | nullmodel_settings both: the other slice of the pair
1 fields in
paired_sliceidstring
metadatamap of object | nullcreated_atstringISO 8601 timestamp
finished_atstring | nullISO 8601 timestamp