session_list
List Horizon VDI sessions filtered by user, pool, or state to retrieve session IDs for verifying or targeting logoff/disconnect operations.
Instructions
[READ] List Horizon VDI sessions, filtered by user / pool id / state. Paginated.
Returns a {items, returned, limit, total, truncated, hint} envelope; each item has id, user, type (DESKTOP/APPLICATION), state (CONNECTED/DISCONNECTED/PENDING), protocol (BLAST/PCOIP/RDP), pool_id, machine_id, start_time. This is the verify pair for logoff/disconnect — get a session id or confirm a user's sessions here first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | Exact desktop-pool / farm id. | |
| user | No | Substring-match the AD user name. | |
| limit | No | Page size (default 50). | |
| state | No | CONNECTED, DISCONNECTED, or PENDING. | |
| offset | No | Page offset. | |
| target | No | Horizon target from config.yaml; omit to use the default. |