I’m exporting the application at times to use with an AI agent to gain some insights. I’ve noted that the ‘devices’ directory has my full collection of devices by ‘name’. Excellent. But I don’t see where the losant Device ID is stored in that file anywhere. Would it be huge impact, or deviation from the export design, to add that parameter to the export?
Jason
I’ll file a request with the engineering team about getting the original IDs added to the export file. As you’ve seen, we use a unique placeholder for the “ID” so that we can do resource matching based on (in the case of devices) the resource name for facilitating application development lifecycles.
That said, there are several other ways to get structured device metadata out of your application, including requesting a device export - which can also be done programmatically through our API. If there is information within the app export that you need for the agent that you cannot get through a device export, we’d be interested in hearing about that as well so we can maybe adjust that export format, too.
Ah, I didn’t consider that a device export would have different content. I’ll check that out as soon as I’m back on station.
Thanks