---
title: "Get Lesson Statistics"
method: GET
path: "/training/analytics/v1/lessons/statistics"
tags: ["Training"]
---

# Get Lesson Statistics

`GET /training/analytics/v1/lessons/statistics`

## Request

- Base URL: `https://api.mitti.com`
- URL: `https://api.mitti.com/training/analytics/v1/lessons/statistics`
- Auth: HTTP bearer

Retrieves all lesson statistics for lessons in your organization.

## Query parameters

- `pageSize` integer
- `page` integer
- `courseId` string

## Response `200`

A successful response.

- S12TrainingAnalyticsV1GetLessonStatisticsResponse
  - `totalCount` integer: The total number of lesson statistics matching the request
  - `items` S12TrainingAnalyticsV1LessonStatistics[]: List of lesson statistics
    - `courseId` string: ID of the course
    - `lessonId` string: ID of the lesson
    - `openedCount` integer: Total opens of lesson
    - `completedCount` integer: Total completions of lesson

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/safetyculture/apis/safetyculture-api.md) - [All operations](https://skmtc.dev/safetyculture/apis/safetyculture-api/llms.txt) - [OpenAPI document](https://skmtc.dev/safetyculture/apis/safetyculture-api/revisions/eb6bb843bf18?raw)
