API Endpoint Reference / Print Jobs

Read recovery context for the current managed print

GET https://api.printhiv3d.com/v1/print-jobs/{id}/recovery-actions

Operation ID getPrintJobRecoveryContext. Requires the read API key scope.

Use the returned attempt ID for recovery actions. The HMS fault ID binds the action to the reported print error. A Stop dispatch that can still affect the print blocks recovery.

Parameters

NameInTypeRequiredDescription
idpathintegerYes

Responses

StatusDescription
200Default Response
404Default Response
409Default Response
503Default Response

200 response fields

FieldTypeRequiredDescription
pendingStopReceiptIduuid | nullYes
hmsFaultobject | nullYes
startAttemptIduuidYes

404 response fields

FieldTypeRequiredDescription
errorstringYes
reasonstringYes
messagestringYes

409 response fields

FieldTypeRequiredDescription
error"recovery_attempt_conflict" | "stop_pending" | "stop_unresolved" | "recovery_action_busy" | "recovery_action_expired" | "recovery_fault_changed" | "command_unsupported" | "recovery_device_refused" | "recovery_host_upgrade_required"Yes
reasonstringYes
messagestringYes

503 response fields

FieldTypeRequiredDescription
errorstringYes
reasonstringYes
messagestringYes

Example 200 response

{
  "startAttemptId": "8b4d1f6a-2c9e-4a37-b5e0-7d3c9a1f2e64",
  "pendingStopReceiptId": null,
  "hmsFault": {
    "id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    "errorCode": "83918908",
    "allowedActions": [
      "hmsStop",
      "hmsIgnore"
    ]
  }
}