jd_get_machine_device_state_reports
Retrieve device state (terminal status) reports for a single machine using its principal ID. Get the latest report with last_known or a start/end date window for historical data.
Instructions
Get device state (terminal status) reports for one machine.
Returns the reports under 'device_state_reports'. `principal_id` comes from
jd_list_equipment. Use last_known=True for the latest report, or a start_date/end_date
window for history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End of the window, ISO 8601 UTC, e.g. 2026-10-07T00:00:00Z. | |
| last_known | No | True for only the most recent report. | |
| start_date | No | Start of the window, ISO 8601 UTC, e.g. 2026-10-01T00:00:00Z. | |
| principal_id | Yes | Machine principal ID: the 'principalId' of an item from jd_list_equipment. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||