Create an assignment
Create an assignment and get the ID that every later call in the evaluation flow uses.
POST
Create an assignment
Step 1 of 6 in Evaluate an assignment. This call returns the assignment
id. Save it: every later call uses it.Rules
assignmentNameis the only required field.parentInstituteId,instituteId,courseId, andsectionare your own IDs. CrazyGoldFish stores them and returns them unchanged.gradeis sent to the AI as the student level. If you leave it out, the AI is told10th.- No files are uploaded here. Upload the question paper in the next step.
- Keep every value within its length limit: 200 characters for each field on this call.
The path needs its trailing slash. Without it, the API redirects the request and the
POST loses its body.Next step
Upload an assignment question paper
Upload the question paper, then start question extraction.
Authorizations
Access token from Get an access token.
Body
application/json
Name of the assignment.
Maximum string length:
200Example:
"Unit 3 English essay"
Your own ID for the parent institute. Stored and returned unchanged.
Maximum string length:
200Example:
"100"
Your own ID for the school or institute. Stored and returned unchanged.
Maximum string length:
200Example:
"200"
Your own ID for the course. Stored and returned unchanged.
Maximum string length:
200Example:
"300"
Grade or class. Sent to the AI as the student level, and defaults to 10th when you leave it out.
Maximum string length:
200Example:
"7"
Section or division.
Maximum string length:
200Example:
"A"