Quickstart
Your first slice in three steps.
1. Create a key
In app.superslice.co, open API keys and create one. The full key is shown once. A key has scopes: slices:write creates models and slices, slices:read reads them, catalogue:read reads the catalogue. New keys get all three.
export SUPERSLICE_API_KEY=sk_live_...2. Create a slice
curl https://api.superslice.co/v1/slices \
-H "Authorization: Bearer $SUPERSLICE_API_KEY" \
-H "Idempotency-Key: order-1042" \
-F file=@bracket.stl \
-F 'request={"slicer":"bambu-studio","printer":"Bambu Lab A1 0.4 nozzle","process":"0.20mm Standard @BBL A1","filament":"Bambu PLA Basic @BBL A1","plate_type":"Textured PEI Plate","callback_url":"https://shop.example.com/hooks/superslice"}'Preset names come from the catalogue.
3. Get the result
Create the slice, get 202 queued, then receive slice.completed at your callback_url, or poll GET /v1/slices/{id} until status is succeeded or failed.
Either way you get the same slice object. For the callback, see Callbacks.
curl https://api.superslice.co/v1/slices/job_01936f... \
-H "Authorization: Bearer $SUPERSLICE_API_KEY"{
"id": "job_01936f...",
"status": "succeeded",
"result": { "print_time_s": 1208, "filament_g": 7.92 }
}Was this page helpful?