---
title: "Report of all active and completed sessions for current user"
method: POST
path: "/LessonReport/GetUserSessionReport"
tags: ["LessonReport"]
---

# Report of all active and completed sessions for current user

`POST /LessonReport/GetUserSessionReport`

## Headers

- `X-Version` string

## Request body

- GetUserSessionReportRequest
  - `lessonId` integer, required — lesson identifier

## Response `200`

Success

- GetUserSessionReportResponse[]
  - `userId` integer — user identifier
  - `lessonId` integer — lesson identifier
  - `institutionId` integer — institution identifier
  - `attempt` integer — nth time user has attempted lesson
  - `isComplete` boolean — false indicates session is stopped or active, true indicates session is complete
  - `totalMinutes` number, double — total time of active session
  - `startTime` string, date-time — time session first started
  - `endTime` string, date-time, nullable — time session was marked complete
  - `params` LessonSessionParam[], nullable — custom params and values assosiated with session
    - `paramId` integer
    - `sessionId` integer
    - `param` string, nullable
    - `value` string, nullable

## Other responses

- `400` — if param invalid
- `401` — if unauthorized

---

[API](https://skmtc.dev/eon-xr/apis/eonxr-api.md) · [All operations](https://skmtc.dev/eon-xr/apis/eonxr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eon-xr/eonxr-api/revisions/538c75161c64/schema)
