get_model_print_history
Get a model's complete print history: outcomes, settings, quality grades, and material-filtered success rates. Pass the model file path so the design is identified by shape, avoiding incomplete history from file-hash mismatches.
Instructions
Get all print attempts for a model.
Returns the complete history of print outcomes, settings, and
quality grades. The success-rate metrics cover every material
by default; pass ``material`` to scope them to one filament
("how does this do in PETG?").
PASS ``model_path`` WHENEVER YOU HAVE THE FILE. History is a
question about the SHAPE, and ``model_path`` lets Kiln identify
it directly. A file hash alone identifies BYTES: re-export an
unchanged part from CAD and the hash changes, so a hash-only
lookup reports a part with real history as never printed.
``identified_by`` in the response says which it used —
``"shape"`` is the precise answer, ``"file"`` means the history
may be incomplete.
Args:
file_hash: SHA-256 hash of the model file, when known.
material: Optional material filter for the success-rate
metrics. Empty = all materials.
model_path: Path to the model file — the best input. Kiln
fingerprints it and identifies the design itself.
geometric_signature: v1 shape signature, if you already have
one from ``fingerprint_model``.
geometric_signature_v2: v2 shape signature, likewise.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | ||
| file_hash | No | ||
| model_path | No | ||
| geometric_signature | No | ||
| geometric_signature_v2 | No |