PAL Gate icon

PAL Gate

Consume PAL Portal API

Device → Get Status History V2

AI-generated

Summary

Retrieve status history V2 for a device

Inputs

  • serial (required) — Device serial number
  • requestOptions — Options for the HTTP request, including batching, SSL settings, proxy, and timeout
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use, e.g., http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

array of status history records

Pagination can be configured via requestOptions.batching; optional fields may be omitted

Examples

Example 1: Fetch recent status history for a device

serial: 'SN12345', requestOptions: {batchSize: 100, batchInterval: 500}

Example 2: Retrieve status history with custom timeout and SSL bypass

serial: 'SN67890', requestOptions: {timeout: 15000, allowUnauthorizedCerts: true}

Example 3: Get status history using default batch settings

serial: 'SN98765'

Links

Discussion