PAL Gate icon

PAL Gate

Consume PAL Portal API

Device → Get Many

AI-generated

Summary

Retrieve many devices with optional filtering, pagination, sorting and request settings.

Inputs

  • returnAll — Whether to return all results or limit to a specific count.
  • limit — Maximum number of results to return (1‑100).
  • skip — Number of records to skip before returning results.
  • filter — Optional search filter string.
  • connected — Filter devices by connection status.
  • models — Comma‑separated list of device models.
  • types — Comma‑separated list of device types.
  • versions — Comma‑separated list of device versions.
  • orgId — Optional organization ID to filter devices.
  • sortByHealth — Whether to sort results by health status.
  • requestOptions — Additional HTTP request configuration (batching, proxy, timeout, SSL verification).

Output shape

array of device objects

Results are paginated; use returnAll, limit, and skip to control pagination. Optional filtering and sorting apply. The response body is the list of devices.

Examples

Example 1: Get up to 50 devices, skipping none, filtered by model.

returnAll: false, limit: 50, filter: "model:ABC"

Example 2: Fetch all devices with health sorting.

returnAll: true, sortByHealth: true

Example 3: Paginated batch request with custom batch size and timeout.

limit: 25, skip: 0, requestOptions: { batching: { batchSize: 100 } }, timeout: 15000

Links

Discussion