Get the details of a specific asset

get/hardware/{id}

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/hardware/{id}
  • Auth
    none required

Path parameters

idinteger required

The id (not the asset tag) of the asset you'd like to query

Response

200

OR

Example response

{
  "id": 1,
  "asset_tag": "1057931124",
  "serial": "24da9270-5631-3d1c-84e4-8de6fd40d92d",
  "model": {
    "id": 1,
    "name": "Macbook Pro 13""
  },
  "model_number": "2670166157847744",
  "eol": {
    "date": "2025-02-27",
    "formatted": "Thu Feb 27, 2025"
  },
  "status_label": {
    "id": 1,
    "name": "Ready to Deploy",
    "status_type": "deployable",
    "status_meta": "deployed"
  },
  "category": {
    "id": 1,
    "name": "Laptops"
  },
  "supplier": {
    "id": 1,
    "name": "Murphy, Prohaska and Hudson"
  },
  "notes": "Created by DB seeder",
  "order_number": "34391723",
  "location": {
    "id": 4,
    "name": "Littlefurt"
  },
  "rtd_location": {
    "id": 9,
    "name": "Port Lauryn"
  },
  "image": "https://develop.snipeitapp.com/uploads/models/mbp.jpg",
  "qr": "https://develop.snipeitapp.com/uploads/barcodes/qr-1057931124-1.png",
  "assigned_to": {
    "id": 4,
    "name": "Littlefurt",
    "type": "location"
  },
  "created_at": {
    "datetime": "2022-12-19 15:42:06",
    "formatted": "Mon Dec 19, 2022 3:42PM"
  },
  "updated_at": {
    "datetime": "2022-12-19 15:42:44",
    "formatted": "Mon Dec 19, 2022 3:42PM"
  },
  "purchase_date": {
    "date": "2022-02-27",
    "formatted": "Sun Feb 27, 2022"
  },
  "age": "9m 22d",
  "purchase_cost": "2.297,10",
  "custom_fields": {
    "RAM": {
      "field": "_snipeit_ram_3",
      "field_format": "ANY",
      "element": "text"
    },
    "CPU": {
      "field": "_snipeit_cpu_4",
      "field_format": "ANY",
      "element": "text"
    },
    "MAC Address": {
      "field": "_snipeit_mac_address_5",
      "field_format": "regex:/^([0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2}$/",
      "element": "text"
    }
  },
  "available_actions": {
    "checkout": true,
    "checkin": true,
    "clone": true,
    "update": true
  }
}

Changes