Prey icon

Prey

Manage devices and account data in Prey

Label → List Labels

AI-generated

Summary

List labels in the Prey account, optionally limiting the number of results or returning all available labels.

Inputs

  • API Key Permission (required) — Select the API key permission level ('Read-Only' or 'Read & Write'). This must match the credentials used and determines available operations.
  • Return All (required) — Boolean to decide whether to return all results or only up to a given limit.
  • Limit — Maximum number of labels to return if 'Return All' is set to false. Valid values are 1 to 100.

Output shape

a list of label objects containing their details

The operation paginates automatically if 'Return All' is true to fetch all label results. If 'Return All' is false, the number of returned labels is limited by the 'Limit' parameter. Each label includes at least an ID and a name, and the outputs correspond to the 'labels' root property from the API response.

Links

Discussion