---
title: "GET /api/v1/maintenance-sessions/{sessionId}/logs"
method: GET
path: "/api/v1/maintenance-sessions/{sessionId}/logs"
tags: ["MaintenanceSessions"]
---

# GET /api/v1/maintenance-sessions/{sessionId}/logs

`GET /api/v1/maintenance-sessions/{sessionId}/logs`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/maintenance-sessions/{sessionId}/logs`
- Auth: none declared

## Path parameters

- `sessionId` integer, required

## Response `200`

OK

- GetMaintenanceSessionLogResponse[]
  - `id` integer
  - `progressCorrelationId` string, uuid, nullable
  - `sessionPhaseId` integer, nullable
  - `message` string, nullable
  - `maintenanceSessionId` integer
  - `maintenanceSessionStageId` integer, nullable
  - `maintenanceActionId` integer, nullable
  - `maintenanceActionStatus` 'NotStarted' | 'Downloading' | 'PerformingAction' | 'DeterminingResult' | 'Complete' | 'WaitingForPrerequisite' | 'DeterminingAction' | 'Skipped' | 'PendingExecution': The string or integer value may be used. NotStarted = 0, Downloading = 1, PerformingAction = 2, DeterminingResult = 3, Complete = 4, WaitingForPrerequisite = 5, DeterminingAction = 6, Skipped = 7, PendingExecution = 8
  - `scriptId` integer, nullable
  - `script` string, nullable
  - `scriptOutput` string, nullable
  - `scriptType` 'Global' | 'Local': The string or integer value may be used. Global = 0, Local = 1
  - `scriptLanguage` 'CommandLine' | 'PowerShell': The string or integer value may be used. CommandLine = 1, PowerShell = 2
  - `scriptParameters` object, nullable
  - `paramBlockParameters` object, nullable
  - `time` string, date-time
  - `updatedTime` string, date-time, nullable
  - `sessionLogType` 'Generic' | 'Error' | 'Command' | 'CommandResult' | 'Progress': The string or integer value may be used. Generic = 0, Error = 1, Command = 2, CommandResult = 3, Progress = 4
  - `scriptTimeout` integer, nullable
  - `scriptExecutionContext` 'System' | 'CurrentUser' | 'Metascript' | 'CloudScript': The string or integer value may be used. System = 0, CurrentUser = 1, Metascript = 2, CloudScript = 4
  - `isPrimary` boolean
  - `progressPercentComplete` number, double, nullable
  - `progressActivity` string, nullable
  - `progressStatus` string, nullable
  - `progressSecondsRemaining` number, double, nullable
  - `progressCurrentOperation` string, nullable
  - `progressCompleted` boolean

---

[API](https://skmtc.dev/immy/apis/immy-bot-api.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api/revisions/559d0e4b39d3?raw)
