What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags

View all Tags

How to export the Folder column with PRTG API



Hi everyone,

How can I leverage the API in way that it also exports the folder name the device is residing in?

With the following API call I could export all devices and host information: /api/table.xml?content=devices&output=csvtable&columns=device,host&count=5000

This is perfect but I also need to know the folder it's in...

Can someone assist?


api api-queries http-api prtg prtg-api web-api

Created on Sep 26, 2018 2:42:46 PM

1 Reply



Dear bennie,

that would be


However, nested groups cannot be read out this way. That would require to read the whole device tree and process it via a script, using


Created on Sep 26, 2018 7:47:51 PM by  Arne Seifert [Paessler Support]

Last change on Sep 26, 2018 7:48:03 PM by  Arne Seifert [Paessler Support]

Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.