Actions22
- Account Actions
- Automation Actions
- Device Actions
- Label Actions
- Mass Action Actions
- User Actions
- Zone Actions
Device → List Devices
AI-generatedSummary
Retrieve a list of devices from the Prey account, optionally returning all devices or limiting the number of devices returned.
Inputs
- API Key Permission — Select whether the API key has Read-Only or Read & Write permissions, which controls available operations in the node.
- Return All — Choose whether to return all devices or limit the number of devices returned.
- Limit — If Return All is false, specify the maximum number of devices to return (minimum 1, maximum 100).
- Request Options — Optional configurations such as request batching, SSL certificate validation behavior, HTTP proxy, and request timeout in milliseconds.
Output shape
a list of device records
The operation paginates results if Return All is true, fetching all available devices by following API pagination. If Return All is false, it returns up to the specified limit. Each device in the list includes at least an ID and optionally a name.