Skip to main content
POST
Create Homework Submission

Create Homework Submission

This endpoint allows students to upload their homework files for review.

Path Parameters

string
required
The UUID of the homework being submitted

Request Body

string
required
The ID of the student submitting the homework
array of files
required
The files containing the student’s homework solution (max 10 files)

Headers

string
required
multipart/form-data
string
required
Your API authentication key

Response

string
The unique identifier for the submission
string
The ID of the homework being submitted
string
The ID of the chat session created for this submission review
string
The current status of the submission. Possible values: ‘submitted’ (initial state), ‘reviewed’ (AI has reviewed), ‘approved’ (meets requirements), or ‘needs_revision’ (requires changes).
string
URL for the chat interface
string
Timestamp when the submission was created
string
AI analysis of the submission
string
Grade assigned to the submission. Possible values: ‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’.

Error Responses

Invalid input parameters
Invalid or missing API key
Homework not found
Processing error

Example Usage

cURL

JavaScript