Actions7
Device → Get
AI-generatedOverview
This node interacts with the Level API to retrieve detailed information about a specific device. It supports fetching a device by its ID, URL, or by searching through a list of devices by hostname. Users can optionally include detailed information about the device's CPUs, disks, memory, network interfaces, and operating system. Additional query parameters can be added to customize the API request. This node is useful for IT administrators or system managers who need to gather comprehensive device data for monitoring, inventory, or troubleshooting purposes.
Use Case Examples
- Retrieve a device by its unique ID to get its basic information.
- Fetch a device by URL and include detailed CPU and memory information for performance analysis.
- Search for a device by hostname and include network interface details for network troubleshooting.
Properties
| Name | Meaning |
|---|---|
| Device | Select or enter the device to retrieve, supporting ID, URL, or list search modes. |
| Include CPUs | Whether to include detailed CPU information in the response. |
| Include Disks | Whether to include detailed disk and disk partition information in the response. |
| Include Memory | Whether to include detailed memory information in the response. |
| Include Network Interfaces | Whether to include detailed network interface information in the response. |
| Include Operating System | Whether to include detailed operating system information in the response. |
| Additional Query Parameters | Additional query string parameters supported by the API to customize the request. |
| Response Property Name | If the API response wraps the array in a property (e.g., 'devices'), set that property name to extract it. If left empty, the node attempts to auto-detect and returns the raw response. |
| Request Options | Settings for batching, SSL certificate validation, proxy usage, and request timeout to control the API request behavior. |
Output
JSON
device- The detailed information of the retrieved device, including optional CPU, disk, memory, network interface, and operating system details based on input parameters.
Dependencies
- Level API with an API key credential
Troubleshooting
- Ensure the device identifier (ID or URL) is correct and accessible; otherwise, the API may return a not found error.
- If including detailed information (CPUs, disks, memory, etc.), the response time may increase; consider adjusting timeout settings accordingly.
- If SSL certificate validation fails, enable the option to ignore SSL issues or configure a proper proxy if needed.
- Check that additional query parameters are correctly formatted to avoid API request errors.
Links
- Level API Documentation - Official documentation for the Level API, detailing endpoints and parameters.