Actions22
- Account Actions
- Automation Actions
- Device Actions
- Label Actions
- Mass Action Actions
- User Actions
- Zone Actions
Automation → List Automations
AI-generatedSummary
List automations in the Prey account, returning all or up to a specified limit of automation records including their names and IDs.
Inputs
- API Key Permission — Select 'Read-Only' or 'Read & Write' to match the API key permission level; affects visibility of operations.
- Return All — Choose whether to return all automations or limit the number retrieved.
- Limit — When 'Return All' is false, specify the maximum number of automations to return (1-100).
- Request Options — Advanced HTTP request options such as batching, SSL handling, proxy, and timeout.
Output shape
a list of automation items, each with a combined display name and an ID value
The operation supports pagination internally when 'Return All' is true, automatically continuing to retrieve subsequent pages. When 'Return All' is false, up to 'Limit' number of results are returned. Each item includes a name combining the automation's name and ID (or defaults if missing), and the value is the automation ID.
Examples
Example 1: Listing all automations
Set 'Return All' to true to retrieve all automations in the account.
Example 2: Listing a limited number of automations
Set 'Return All' to false and specify 'Limit' (e.g., 50) to retrieve up to that number of automations.