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
    }
  ]
}