> ## 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 - Student Assignment Sheet

> The API retrieves all student assignment sheets associated with a particular assignment.  
It returns a list of answer sheets submitted or created for students under the specified assignment ID.

This endpoint is typically used to display all submissions for a given assignment, allowing evaluators to access individual student sheets for grading or review.

**Scenarios:**
- Teacher views all student submissions for an assignment.
- A teacher requests all answer sheets for a specific assignment.

**Outcome:**
- The API returns a list of assignment sheet records.
- Each record includes metadata such as student ID, status (for example, In Progress or Failed), and answer sheet ID.


## When to use this endpoint

Use this endpoint whenever you need a **list view of all student submissions** for a single assignment:

* Teacher dashboards that show **who has submitted, who is pending, and who failed upload**.
* Admin or coordinator views that monitor **assignment participation and completion rates**.
* Analytics jobs that aggregate **per‑assignment performance** before drilling into individual answer sheets.

It is typically called before fetching an individual student’s answer sheet or scores.

## Related endpoints

* [GET - Assignment by ID](/api-reference/endpoint/assignments/v1-assignment-id-get)
* [GET - Assignment Student Answer Sheet Score](/api-reference/endpoint/assignments/v1-assignment-student-answer-get-score)
* [POST - Student Assignment Answer Sheet](/api-reference/endpoint/assignments/v1-assignment-student-answer)


## OpenAPI

````yaml GET /assignment-evaluation/v1/assignment/{id}/answer-sheet/
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/:
    get:
      tags:
        - Assignments
      summary: Get Assignment Answer Sheet
      operationId: getAssignmentAnswerSheet
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Unique identifier of the assignment
      responses:
        '200':
          description: Student submissions retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 1
                    description: Total number of submissions
                  pageSize:
                    type: integer
                    example: 10
                    description: Number of submissions per page
                  showing:
                    type: string
                    example: Page 1 of 1
                    description: Current pagination information
                  next:
                    type: string
                    nullable: true
                    example: null
                    description: URL to the next page, if any
                  previous:
                    type: string
                    nullable: true
                    example: null
                    description: URL to the previous page, if any
                  data:
                    type: array
                    description: List of student submissions
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: 57387c68-0706-4a9d-834a-237b6b63cb5d
                          description: Unique submission ID
                        status:
                          type: integer
                          example: 2
                          description: Status of the submission
                        batchId:
                          type: string
                          example: batch_1
                          description: Batch ID
                        sessionId:
                          type: string
                          example: session_1
                          description: Session ID
                        studentId:
                          type: string
                          example: '12345'
                          description: ID of the student
                        name:
                          type: string
                          description: Name of the student
                          example: John Doe
                        teacherId:
                          type: string
                          example: teacher_1
                          description: ID of the teacher
                          nullable: true
                        documents:
                          type: array
                          description: List of submitted documents
                          items:
                            type: object
                            properties:
                              id:
                                type: string
                                example: be30ee9a-e0ab-4abe-a8b4-1092ee10d1b7
                                description: Document ID
                              status:
                                type: integer
                                description: Status of the document
                                example: 2
                              pageNo:
                                type: integer
                                description: Page number if applicable
                                nullable: true
                              uploadTime:
                                type: string
                                format: date-time
                                example: '2025-04-09T17:07:32.934530Z'
                                description: Time the document was uploaded
                              url:
                                type: string
                                example: >-
                                  https://cgfblob.blob.core.windows.net/documents/assignment-evaluation/Grade_1_HW_Alphamath_addition__lPBnWUZ.pdf
                                description: URL of the document
                              fileType:
                                type: integer
                                example: 1
                                description: Type of the file (e.g., PDF = 1, JPEG = 3)
        '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 not found
components:
  schemas:
    403Response:
      type: object
      properties:
        detail:
          type: string
          example: Token has expired

````