Printago API
GET /v1/parts/{partId}/estimates

Get a part's print estimate options

What each print estimate source (automatic: the 3MF until a plate has enough prints, then the median of its own prints; or the 3MF only) would give this part, which one it uses, and the store's default. A G-code part answers with `exact: true` and no options: its numbers are the G-code's own.

Requires: part.view

Path Parameters

partId required
string
Part ID

Response Schema

PartEstimateOptions
estimateActionrequirednullable
object
The estimate button the part page shows, or null when a new estimate would change nothing (or one is being made): `get` when the 3MF has never been estimated, `retry` when the last attempt failed, `update` when the slicer a new estimate would use differs from the last one's. `slicer` is that slicer, resolved (never an alias like "latest").
kindrequired
"update" | "get" | "retry"
updategetretry
slicerrequired
string
exactrequired
boolean
A G-code part: its numbers are the G-code's own and there is nothing to choose.
historyrequired
object[]
Completed prints of the current file per plate.
plateIdrequired
number
printsrequired
number
optionsrequired
object[]
Every source, with the estimate it gives this part (null when it has nothing to go on).
estimaterequirednullable
object
A part estimate as resolved from a source: `SlicingEstimate` plus where each number came from.
basisrequired
"as-is" | "history" | "mixed"
`as-is`, `history`, or `mixed` when some plates use each.
as-ishistorymixed
byPrinterModeloptional
Record<string, object>
Construct a type with a set of properties K of type T
estimatedPrintTimeSecondsrequired
number
materialsrequired
object[]
coloroptional
string
indexrequired
number
materialTyperequired
string
usedGramsrequired
number
usedMetersrequired
number
platesrequired
object[]
byPrinterModeloptional
Record<string, object>
Construct a type with a set of properties K of type T
estimatedPrintTimeSecondsrequired
number
materialsrequired
object[]
plateIdrequired
number
printsoptional
number
Prints behind a history figure.
sourcerequired
"as-is" | "history"
as-ishistory
totalWeightGramsrequired
number
printsoptional
number
Fewest prints behind any history plate.
profilesoptional
object
filamentProfileIdsrequired
string[]
filamentProfileNamesrequired
string[]
machineProfileIdrequired
string
machineProfileNamerequired
string
processProfileIdrequired
string
processProfileNamerequired
string
requestedrequired
"automatic" | "as-is"
The source asked for (the part's, or the store's for a part on the default).
automaticas-is
slicedAtrequired
string
slicerVersionrequired
string
sourceoptional
"as-is"
`as-is`: the 3MF sliced with the settings saved in it. Absent on older estimates.
totalWeightGramsrequired
number
sourcerequired
"automatic" | "as-is"
automaticas-is
partSourcerequirednullable
"automatic" | "as-is"
The part's own choice; null follows the store.
automaticas-is
settingsrequired
object
The store's print estimate settings (`GeneralSettings.printEstimates`).
minPrintsrequired
number
Completed prints a plate needs before its history counts.
perPrinterModelrequired
boolean
Also keep figures per printer model, for jobs on that model.
sourcerequired
"automatic" | "as-is"
Where estimates come from for parts set to the store default.
automaticas-is
windowrequired
number
How many of the latest completed prints count.
storeSourcerequired
"automatic" | "as-is"
The store's default source.
automaticas-is

Example Response

200 OK — application/json
{
  "exact": true,
  "partSource": "automatic",
  "storeSource": "automatic",
  "settings": {
    "source": "automatic",
    "minPrints": 1,
    "window": 1,
    "perPrinterModel": true
  },
  "options": [
    {
      "source": "automatic",
      "estimate": {
        "basis": "as-is",
        "requested": "automatic",
        "prints": 1,
        "plates": [
          {
            "source": "as-is",
            "prints": 1,
            "plateId": 1,
            "estimatedPrintTimeSeconds": 1,
            "materials": [
              {
                "index": 1,
                "usedGrams": 1,
                "usedMeters": 1,
                "materialType": "string",
                "color": "string"
              }
            ],
            "totalWeightGrams": 1,
            "byPrinterModel": {}
          }
        ],
        "byPrinterModel": {},
        "estimatedPrintTimeSeconds": 1,
        "materials": [
          {
            "index": 1,
            "usedGrams": 1,
            "usedMeters": 1,
            "materialType": "string",
            "color": "string"
          }
        ],
        "totalWeightGrams": 1,
        "profiles": {
          "machineProfileId": "string",
          "machineProfileName": "string",
          "processProfileId": "string",
          "processProfileName": "string",
          "filamentProfileIds": [
            "string"
          ],
          "filamentProfileNames": [
            "string"
          ]
        },
        "slicedAt": "string",
        "slicerVersion": "string",
        "source": "as-is"
      }
    }
  ],
  "history": [
    {
      "plateId": 1,
      "prints": 1
    }
  ],
  "estimateAction": {
    "kind": "update",
    "slicer": "string"
  }
}