List job sessions (run history)
list_sessionsList Veeam job sessions with filters for job ID, state, and type. Retrieve newest sessions first to monitor live runs or review history.
Instructions
List job run sessions, newest first. Filter by jobId to see one job’s history, by stateFilter ("Working"/"Stopped") for live runs, or by typeFilter. Each session ID feeds get_session and get_session_logs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Only sessions for this job ID | |
| limit | No | Max results | |
| typeFilter | No | Session type, e.g. "Job", "Restore" | |
| stateFilter | No | e.g. "Working" (running) or "Stopped" (finished) |