Devices Pending Actions

Retrieve pending device actions for a facility.

This endpoint aggregates pending actions for devices in the given facility (for example, retest, release, or return-to-customer actions) from multiple underlying tables and returns them as a unified list.

Parameters

database : DatabaseSession Database session used to execute the underlying queries. facility_id : UUID Identifier of the facility whose devices' pending actions should be listed. filter_query : DeviceActionDataQueryParams Query parameters used to filter the results. Currently supports:

* ``start_action_time`` – include only actions with an
  ``action_time`` greater than or equal to this timestamp.
* ``end_action_time`` – include only actions with an
  ``action_time`` less than or equal to this timestamp.

organization_id : UUID | None, optional Optional organization identifier used to scope access when authenticating the facility. If provided, the facility must belong to this organization.

Returns

list[DeviceActionDataPublic] A list of pending device actions. Each item contains the device identifier, the action identifier, the time the action was created, the type of action, basic device identifiers (such as IMEI and serial), and the processor unique number.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!