> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crazygoldfish.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET - Evaluated Student Assignment Sheet

> 
The API retrieves the evaluated assignment sheet for a specific student. It returns detailed information about the assignment, including the parent and child questions, student answers, marks awarded, and feedback from the evaluator. 

 This endpoint is typically used **after evaluation** has been completed and provides a comprehensive view of the student's performance. 

 <Tip> Want to receive automatic notifications when assignment student answer sheet is processed? Set up webhooks to get real-time updates on assignment student answer sheet extraction. Check out the [Webhooks](/api-reference/endpoint/webhook/v1-get-webhook-template). </Tip> 



## OpenAPI

````yaml GET /assignment-evaluation/v1/assignment/{id}/answer-sheet/{ansSheetId}/score/
openapi: 3.0.1
info:
  title: Evaluation Report API
  description: An API for retrieving evaluation reports.
  version: 1.0.0
servers:
  - url: https://api-staging.crazygoldfish.com
    description: SandBox endpoint
  - url: https://api.crazygoldfish.com
    description: Prod End Point
security: []
paths:
  /assignment-evaluation/v1/assignment/{id}/answer-sheet/{ansSheetId}/score/:
    get:
      tags:
        - Assignments
      summary: Get Assignment Answer Sheet Score
      operationId: getAssignmentAnswerSheetScore
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the assignment
        - name: ansSheetId
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the answer sheet
      responses:
        '200':
          description: Assignment retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                    description: Unique identifier for the assignment
                  assignmentName:
                    type: string
                    example: Maths
                    description: Name of the assignment
                  instruction:
                    type: string
                    nullable: true
                    example: Solve the following problems.
                    description: Instructions for the assignment
                  marks:
                    type: number
                    format: float
                    example: 2
                    description: Total marks for the assignment
                  grade:
                    type: string
                    nullable: true
                    example: A
                    description: Grade of the assignment
                  courseId:
                    type: string
                    example: '12231232'
                    description: ID of the course
                  parentQuestions:
                    type: array
                    description: List of parent questions in the assignment
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: cabb699a-ef46-447c-85d2-f320d83f9745
                          description: Unique identifier for the parent question
                        questionNumber:
                          type: string
                          example: Q1
                          description: Question number of the parent question
                        text:
                          type: string
                          example: Solve the following.
                          description: Text of the parent question
                        marks:
                          type: number
                          format: float
                          example: 0
                          description: Marks assigned to the parent question
                        questions:
                          type: array
                          description: List of child questions under the parent question
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                                example: 2edd8bfd-3616-4899-95e9-98d67489ca11
                                description: Unique identifier for the child question
                              questionNumber:
                                type: string
                                example: a
                                description: Question number of the child question
                              text:
                                type: string
                                example: >-
                                  There are 5 lions in the jungle and 4 lions in
                                  the grassland. What is the total number of
                                  lions altogether?
                                description: Text of the child question
                              marks:
                                type: number
                                format: float
                                example: 1
                                description: Marks assigned to the child question
                              diagramDescription:
                                type: string
                                example: Illustration of lions in jungle and grassland.
                                description: Description of any associated diagram
                              answer:
                                type: object
                                description: Student's answer
                                properties:
                                  id:
                                    type: string
                                    example: 741cd09f-543f-460e-9b6e-826cf2809cb1
                                    description: Unique identifier for the answer
                                  text:
                                    type: string
                                    example: '7'
                                    description: Student's answer text
                                  marks:
                                    type: number
                                    format: float
                                    example: 1
                                    description: Marks awarded to the answer
                                  feedbacks:
                                    type: array
                                    description: List of feedback given for the answer
                                    items:
                                      type: object
                                      properties:
                                        feedback:
                                          type: string
                                          example: >-
                                            The student correctly solved the problem
                                            and provided the right answer. However,
                                            including a step-by-step explanation
                                            would enhance clarity and show their
                                            thought process.
                                          description: Teacher's feedback
                                        student_text:
                                          type: string
                                          example: '9'
                                          description: Student's submitted text
                                        justification:
                                          type: string
                                          example: >-
                                            The student's answer of 9 is correct as
                                            it accurately represents the total
                                            number of lions calculated by adding the
                                            lions in the jungle (5) and the lions in
                                            the grassland (4).
                                          description: Justification for the feedback
                                        marks_deducted:
                                          type: string
                                          example: '0'
                                          description: Marks deducted from the answer
                                        room_for_improvement:
                                          type: string
                                          example: >-
                                            The student could provide a brief
                                            explanation of how they arrived at the
                                            answer to demonstrate their
                                            understanding of the addition process.
                                          description: Suggestions for improvement
        '400':
          description: Bad request (validation error or business logic conflict).
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: 400
                      message:
                        type: object
                        properties:
                          non_field_errors:
                            type: array
                            items:
                              type: string
                              example: Assignment sheet is not evaluated yet
        '403':
          description: Authentication failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Response'
        '404':
          description: Assignment not found.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: 404
                      message:
                        type: object
                        properties:
                          non_field_errors:
                            type: array
                            items:
                              type: string
                              example: Assignment is not found
      security:
        - bearerAuth: []
components:
  schemas:
    403Response:
      type: object
      properties:
        detail:
          type: string
          example: Token has expired
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````