Devices
List a device's script history
Return the paginated script executions that reached this device, newest first — across every run, including company-wide and device-group runs launched elsewhere. Each entry carries the script that ran plus its status, output, exit code and runtime. Use this to answer “what has been run on this machine?”.
For the per-device results of one specific run, use getScriptRunExecutions. For the list of runs themselves, use getScriptRuns.
Executions are reconciled with FleetDM by a background sweep that runs every 15 minutes, so a freshly created run reads back as pending until the next sweep. Poll no more often than that.
GET
List a device's script history
Key: Read
Scope: Company
Authorizations
Query Parameters
List a device's script history