Trying to put together a history of host firmware version for every device

For each device I own, I would like to put together a history of host firmware versions. Formatting doesn’t matter, but something like this below. Can I do this with the Notehub or API?

{
  "device_name": "Example Device",
  "firmware_timeline": [
    {
      "version": "1.0.0",
      "installed_at": "2025-01-15T10:30:00Z",
      "replaced_at": "2025-03-01T08:00:00Z"
    },
    {
      "version": "1.1.0",
      "installed_at": "2025-03-01T08:00:00Z",
      "replaced_at": "2025-06-20T14:15:00Z"
    },
    {
      "version": "1.2.0",
      "installed_at": "2025-06-20T14:15:00Z",
      "replaced_at": null
    }
  ]
}

Hey @daterdots,

Yeah check out the Get Device DFU History API. I just ran it on one of my projects to give you an idea of the data format.

{
    "device_uid": "dev:860322067705456",
    "current": {
        "version": "2.0.0.0",
        "organization": "Blues",
        "description": "Asset tracker w/temperature-based alerting",
        "product": "TempTrack",
        "built": "Feb  6 2026 09:42:45",
        "builder": "TJ VanToll"
    },
    "history": [
        {
            "requested_version": "2.0.0",
            "current_version": "1.0.0.0",
            "initiated": "2026-02-06T14:46:42Z",
            "updates": [
                {
                    "status": "successful outboard firmware update",
                    "phase": "completed",
                    "datetime": "2026-02-06T14:51:56Z",
                    "description": "completed"
                },
                {
                    "status": "successfully downloaded",
                    "phase": "ready",
                    "datetime": "2026-02-06T14:50:35Z",
                    "description": "ready"
                },
                {
                    "status": "download started",
                    "phase": "download_started",
                    "datetime": "2026-02-06T14:49:40Z",
                    "description": "download started"
                },
                {
                    "status": "awaiting connection to begin update",
                    "phase": "pending",
                    "datetime": "2026-02-06T14:46:42Z",
                    "description": "pending sync"
                }
            ]
        }
    ]
}

TJ