Actions243
- Cable Actions
- Cable Termination Actions
- Connected Device Actions
- Console Port Actions
- Console Port Template Actions
- Console Server Port Actions
- Console Server Port Template Actions
- Device Actions
- Device Bay Actions
- Device Bay Template Actions
- Device Role Actions
- Device Type Actions
- Front Port Actions
- Front Port Template Actions
- Interface Actions
- Interface Template Actions
- Inventory Item Actions
- Inventory Item Role Actions
- Inventory Item Template Actions
- Location Actions
- MAC Address Actions
- Manufacturer Actions
- Module Actions
- Module Bay Actions
- Module Bay Template Actions
- Module Type Actions
- Module Type Profile Actions
- Platform Actions
- Power Feed Actions
- Power Outlet Actions
- Power Outlet Template Actions
- Power Panel Actions
- Power Port Actions
- Power Port Template Actions
- Rack Actions
- Rack Reservation Actions
- Rack Role Actions
- Rack Type Actions
- Rear Port Actions
- Rear Port Template Actions
- Region Actions
- Site Actions
- Site Group Actions
- Virtual Chassis Actions
- Virtual Device Context Actions
- Virtual Link Actions
Site → Get Devices
AI-generatedOverview
This node interacts with the NetBox API to retrieve devices associated with a specific site within the DCIM domain. It is useful for network administrators or IT professionals who need to programmatically access device information for a given site in their infrastructure management system. For example, it can be used to fetch all devices installed at a particular data center site to monitor or audit hardware inventory.
Use Case Examples
- Retrieve all devices for a site with a given Site ID in the DCIM domain.
- Fetch a limited number of devices for a site to display in a dashboard or report.
Properties
| Name | Meaning |
|---|---|
| Domain | Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for data center infrastructure management. |
| Site ID | The unique identifier of the site for which devices are to be retrieved. |
| Return All | Boolean flag to determine whether to return all devices or limit the number of results. |
| Limit | Maximum number of device results to return if 'Return All' is false. |
Output
JSON
devices- Array of device objects retrieved from the specified site in NetBox.
Dependencies
- NetBox API with appropriate credentials
Troubleshooting
- Ensure the Site ID is valid and exists in the NetBox instance to avoid 'not found' errors.
- Check API credentials and permissions if authentication errors occur.
- If no devices are returned, verify that the site actually has devices assigned in NetBox.
Links
- NetBox DCIM Devices API Documentation - Official documentation for the NetBox API endpoint to retrieve devices in the DCIM domain.