---
title: "Get Homework"
method: GET
path: "/api/v1/courses/{course_id}/homework/{submission_id}"
tags: ["api", "api", "homework"]
---

# Get Homework

`GET /api/v1/courses/{course_id}/homework/{submission_id}`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/courses/{course_id}/homework/{submission_id}`
- Auth: HTTP bearer

## Path parameters

- `course_id` string, required
- `submission_id` string, required

## Response `200`

Successful Response

- HomeworkSubmission
  - `id` string, required
  - `course_id` string, required
  - `lesson_id` string, required
  - `lesson_title` string
  - `student_id` string, required
  - `student_name` string
  - `text` string, nullable
  - `files` HomeworkFile[]
    - `id` string, required
    - `name` string, required
    - `mime` string, required
    - `size` integer, required
    - `kind` string, required
    - `url` string, required
  - `total_size` integer
  - `status` string, required
  - `score` integer, nullable
  - `feedback` string, nullable
  - `reviewed_by` integer, nullable
  - `reviewed_at` string, nullable
  - `submitted_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
