---
updatedAt: 2025-06-12T21:57:33.000Z
agentTools:
  projectIndex: https://readme.gooru.org/llms.txt
---

# Independent Learner: Get Learner Performance In Lesson

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "2"
  },
  "servers": [
    {
      "url": "http://gooru.org/api/nucleus/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/course/{courseId}/unit/{unitId}/lesson/{lessonId}/learner/performance": {
      "get": {
        "summary": "Independent Learner: Get Learner Performance In Lesson",
        "description": "",
        "operationId": "getlearner-performance-in-lesson",
        "parameters": [
          {
            "name": "courseId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "unitId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lessonId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "collectionType"
                ],
                "properties": {
                  "collectionType": {
                    "type": "string",
                    "description": "collection/assessment"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "collectionType=assessment\t\n{\t\n\"content\"\t: [\n\t \t\n{\t\n\"usageData\": [\n\t \t\n{\t\n\"reaction\": 0,\n\t \t\n\"attemptStatus\"\t: \"completed\",\t\n\"timeSpent\"\t: 902449,\t\n\"assessmentId\": \"\t 2d5bcdac-6cf6-485d-8ac2-f51758b672b5\",\t\n\"attempts\": 2,\n\t \t\n\"completedCount\": 1,\n\t \t\n\"totalCount\": 0,\n\t \t\n\"scoreInPercentage\": 0\n\t \t\n},\t\n{\t\n\"reaction\": 0,\n\t \t\n\"attemptStatus\": \"completed\",\t\n\"timeSpent\": 740,\t\n\"assessmentId\"\t: \"8e495d4f-d909-4fc5-bc5-36dbf137fe9c\",\t\n\"attempts\": 1 ,\n\t \t\n\"completedCount\": 1,\n\t \t\n\"totalCount\": 0,\n\t \t\n\"scoreInPercentage\": 0\n\t \t\n},\t\n{\t\n\"reaction\": 0,\n\t \t\n\"attemptStatus\"\t: \" completed\",\t\n\"timeSpent\": 1057,\t\n\"assessmentId\": \"9b43c310-aa32-4e86-ade-843f66c09f9d\"\t\n,\t\n\"attempts\": 1,\n\t \t\n\"completedCount\": 1 ,\n\t \t\n\"totalCount\"\t: 0,\n\t \t\n\"scoreInPercentage\": 0\n\t}\t\n]\t\n,\t\n\"userUid\"\t: \"95a744e1-631e-4642-875d-8b07a5e3b421\"\t\n}\t\n]\t\n,\t\n\"message\": null,\t\n\"paginate\": null\t\n}\t\ncollectionType=collection\t\n{\t\n\"content\"\t: [\n\t \t\n{\t\n  \"usageData\"\t: [\n\t \t\n{\t\n\"reaction\": 0,\n\t \t\n\"attemptStatus\": \"completed\",\t\n\"timeSpent\": 25507,\t\n\"completedCount\": 1,\n\t \t\n\"totalCount\": 0,\n\t \t\n\"scoreInPercentage\": null,\t\n\"collectionId\": \"97c00e69-a9f2-4d53-a39-d11c5064b461\"\t,\t\n\"views\": 4\n\t \t\n}\t\n]\t\n,\t\n\"userUid\": \"95a744e1-631e-4642-875d-8b07a5e3b421\"\t\n}\t\n]\t\n,\t\n\"message\"\t: null,\t\n\"paginate\"\t: null\t\n}\t"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "text",
              "code": "http://nile-dev.gooru.org/api/nucleus-insights/v2/course/c9a43a3c-1cab-4804-b4f8-481bfdacae91/unit/b9d552dc-16f7-453e-8f00-39c728d2932d/lesson/f9bb1387-5c13-42ee-8540-cddaa0bf39e0/learner/performance?collectionType=assessment"
            }
          ],
          "samples-languages": [
            "text"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```