Prey icon

Prey

Manage devices and account data in Prey

Mass Action → List Mass Actions

AI-generated

Summary

Retrieve a paginated list of mass actions available in the Prey account, optionally returning all results or limited by a specified maximum.

Inputs

  • API Key Permission (required) — Select 'Read-Only' or 'Read & Write' to match the API key permission level in credentials, used to determine accessible operations.
  • Return All (required) — Choose whether to retrieve all mass actions or limit the results to a maximum number.
  • Limit — Specify the maximum number of results to return when 'Return All' is false; valid values are 1 to 100.

Output shape

a list of mass action objects each with at least an ID and name (if available).

The results are returned in pages of up to 100 items. If 'Return All' is true, the operation will paginate through all pages until all are retrieved. If false, up to the specified limit is returned. Each mass action in the list includes a composite display name with the format 'name (id)' if the name exists; otherwise 'Unknown Mass Action' or the ID is used as fallback.

Examples

Example 1: List all mass actions to select one for triggering or management in your workflow.

Use default settings with 'Return All' true to get every mass action available to the API key.

Links

Discussion