ThreatLocker Computers
computersQuery ThreatLocker endpoints by user, IP, or group, review protection status and check-in history, and run maintenance actions like isolation, lockdown, or restart.
Instructions
Query and inspect ThreatLocker computers.
Common workflows:
Find computers by logged-in user: action=list, searchBy=2, searchText="username"
Find computers by IP: action=list, searchBy=4, searchText="192.168.1.100"
List computers needing review: action=list, kindOfAction="NeedsReview"
Get computer details by ID: action=get, computerId="..."
View check-in history: action=checkins, computerId="..."
Get installation info for new deployments: action=get_install_info
Rename / re-group a computer: action=edit, computerId="...", computerGroupId="...", name="..."
Move a computer to another org: action=move_org, computerId="...", computerGroupId="...", organizationId="...", osType=1, targetComputerGroupId="...", targetOrganizationId="..."
Remove computers from the Portal: action=delete, deleteComputers=[{computerId, computerName, organizationId}] (same org; does NOT uninstall)
Restart every agent in the org: action=restart_org (includeChildOrganizations=true also hits child orgs)
Remove duplicate records: action=remove_duplicate
Pitfalls:
get returns the editable computer record, not live protection state; read current mode/isolation from list results or maintenance_mode history.
This is the triage entry point: find a box here, grab its computerId/organizationId/computerGroupId, then hand off to maintenance_mode, approval_requests, or action_log.
Permissions: View Computers, Edit Computers (for modifications), Install Computers (for install info). Pagination: list and checkins actions are paginated (use fetchAllPages=true to auto-fetch all pages). Key response fields: computerId, computerName, computerGroupName, lastCheckin, action (Secure/Installation/Learning/MonitorOnly), threatLockerVersion.
Related tools: computer_groups (manage groups), maintenance_mode (maintenance history), action_log (audit events)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New computer name (required for edit action). | |
| action | Yes | list=search computers, get=details by ID, checkins=connection history, get_install_info=deployment info, isolate=cut network (Detect+Agent>=8.2), lockdown=block executions+isolate, enable_protection=re-secure / clear isolation, baseline_rescan=re-profile system files, restart_service=restart the ThreatLocker agent service, edit=rename/move-group/proxy settings, move_org=move a computer to another organization, delete=remove computers from the Portal (does NOT uninstall), restart_org=restart every computer in the org, remove_duplicate=remove duplicate computer records | |
| osType | No | move_org: OS type of the computer (1=Windows, 2=macOS, 3=Linux, 5=Windows XP). | |
| endDate | No | Isolation/lockdown window end (ISO 8601 UTC). | |
| options | No | edit: ThreatLocker option names to set on the computer. | |
| orderBy | No | Field to sort by (default: computername) | |
| pageSize | No | Results per page (default: 25, max: 500) | |
| proxyURL | No | edit: full proxy URL (proxyServerOption + proxyUrlEntry). | |
| searchBy | No | Field to search by: 1=Computer/Asset Name, 2=Username, 3=Computer Group Name, 4=Last Check-in IP, 5=Organization Name | |
| permitEnd | No | Re-secure automatically at window end (default: true). | |
| startDate | No | Isolation/lockdown window start (ISO 8601 UTC). | |
| computerId | No | Computer GUID (required for get, checkins, isolate, lockdown, enable_protection). Find via list action first. | |
| pageNumber | No | Page number (default: 1) | |
| searchText | No | Search text for list action | |
| isAscending | No | Sort ascending (default: true) | |
| kindOfAction | No | Additional filter for computer state | |
| action_filter | No | Filter by computer mode for list action | |
| applicationId | No | Application scope for isolation: "autocomp" (default), "autogroup", or an application GUID. | |
| computerGroup | No | Computer group GUID for list action. Find via computer_groups first. | |
| fetchAllPages | No | Fetch all pages automatically (max 10 pages). Default: false (single page). | |
| hideHeartbeat | No | Hide heartbeat entries for checkins action | |
| proxyUrlEntry | No | edit: proxy host, e.g. "proxy.example.com". | |
| enableLearning | No | Enable a learning window during baseline_rescan (default: false). | |
| organizationId | No | Owning organization GUID (required for isolate/lockdown/enable_protection). | |
| useProxyServer | No | edit: enable a proxy server (default: false). | |
| computerGroupId | No | Computer group GUID for isolate/lockdown/enable_protection (optional). | |
| deleteComputers | No | delete: computers to remove from the Portal. ALL must be in the same organization. Removes from Portal only — does not uninstall the agent. | |
| response_format | No | Output format: markdown (default, human-readable) or json (structured) | markdown |
| proxyServerOption | No | edit: proxy protocol, e.g. "https://". | |
| childOrganizations | No | Include child organizations (default: false) | |
| enableLearningRescan | No | move_org: enable Learning + baseline rescan after the move (default: false). | |
| targetOrganizationId | No | move_org: destination organization GUID. | |
| targetComputerGroupId | No | move_org: destination computer group GUID. | |
| includeChildOrganizations | No | restart_org/remove_duplicate: also affect child organizations (default: false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response data — shape varies by action | |
| error | No | ||
| success | Yes | ||
| pagination | No |