Printago API
GET
/v1/printers/{id}/history/last
Last printed history
Get the most recent print(s) on a printer, with related entities (part, SKU, job, order, order item) optionally inlined. "Most recent" means the latest job that actually started printing and reached a terminal state (completed, failed, or cancelled after the print began). Jobs cancelled while still in the queue are excluded. Each entry contains only the refs you request; a requested ref with no value on the job (for example, a walk-in print with no order) is returned as null rather than being omitted. Unknown values in refs return a 400.
Path Parameters
id
required
string
The printer's unique identifier
Query Parameters
refs
optional
string
Comma-separated subset of: part, sku, job, order, orderItem. Defaults
to job when omitted.
limit
optional
integer
Number of recent terminal jobs to return, 1 to 25. Defaults to 1.
Response Schema
PrinterHistoryLastResponse
lastrequired
object[]
joboptional
object
orderoptional
object
orderItemoptional
object
partoptional
object
skuoptional
object
printerIdrequired
string
pattern: ^[a-z0-9]{24}$
Example Response
200 OK — application/json
{
"printerId": "string",
"last": [
{}
]
}