PAL Gate icon

PAL Gate

Consume PAL Portal API

Device → Get Log

AI-generated

Summary

Retrieve log entries for a specific device

Inputs

  • serial (required) — Device serial number
  • returnAll — Whether to return all results or only up to a given limit
  • limit — Max number of results to return
  • skip — Number of records to skip
  • filter — Optional search filter
  • startDate — Start date for log filtering
  • endDate — End date for log filtering
  • approved — Whether to filter by approval status
  • requestOptions — Advanced options such as batching, proxy, and timeout

Output shape

list of log entries

Paginated results; fields depend on API; may include pagination metadata

Examples

Example 1: Retrieve recent logs for a device, limit 50 entries

{"serial":"ABC123","limit":50,"skip":0,"returnAll":false}

Example 2: Fetch all logs with pagination enabled

{"serial":"ABC123","returnAll":true,"limit":100}

Example 3: Filter logs by date and approval status

{"serial":"ABC123","startDate":"2024-01-01T00:00:00Z","endDate":"2024-01-31T23:59:59Z","approved":true}

Links

Discussion