---
updatedAt: 2026-09-24T22:36:19.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Get current provisioning status for a device

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/device/{deviceId}/provision-status": {
      "get": {
        "operationId": "get_customer_device_provision_status_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeviceProvisionStatus"
                }
              }
            }
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          },
          "404": {
            "description": "Device not found"
          }
        },
        "summary": "Get current provisioning status for a device",
        "tags": [
          "Device"
        ]
      },
      "parameters": [
        {
          "in": "path",
          "name": "deviceId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ]
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Access to your Bare-Metal or Virtual Devices",
      "name": "Device"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    },
    "schemas": {
      "DeviceProvisionStatus": {
        "properties": {
          "deviceId": {
            "type": "integer"
          },
          "isCompleted": {
            "description": "True if provisioning has reached a terminal state (InUse or Failed).",
            "type": "boolean"
          },
          "isFailed": {
            "description": "True if provisioning ended in failure.",
            "type": "boolean"
          },
          "isProvisioning": {
            "description": "True if the device is in a provisioning-related state and has not yet reached InUse (includes failed attempts).",
            "type": "boolean"
          },
          "messages": {
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/ProvisionLogEntry"
                }
              ],
              "description": "Chronological customer-visible provisioning log entries."
            },
            "type": "array"
          },
          "orderId": {
            "type": "integer"
          },
          "osName": {
            "description": "OS being provisioned on the device.",
            "type": "string"
          },
          "progress": {
            "description": "Current provisioning stage: pending|pxe|network_setup|disk_setup|installation|configuration|post_network|finalizing|end",
            "type": "string"
          },
          "spsStatus": {
            "description": "Current SPS orchestrator status.",
            "type": "string"
          },
          "startedAt": {
            "description": "ISO 8601 timestamp of when provisioning started.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ProvisionLogEntry": {
        "properties": {
          "data": {
            "description": "Structured payload (progress %, counts, speed, etc).",
            "type": "object"
          },
          "id": {
            "type": "integer"
          },
          "occurredAt": {
            "description": "ISO 8601 timestamp.",
            "type": "string"
          },
          "progress": {
            "description": "Stage tag: pxe|network_setup|disk_setup|installation|configuration|post_network|finalizing|end",
            "type": "string"
          },
          "status": {
            "description": "Human-readable log message.",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  }
}
```