Skip to main content
POST
Evaluate an activity

Path parameters

string
required

Body

Answer[]
required
One entry per question, or one entry total for single-question activities like short_answer.
string
Required when called with a workspace key. Optional with a session key (it’s inferred from the key’s subject).

Examples

Returns

A Submission. For interactive, inline activities, the submission is auto-graded synchronously when the question types support it (true_false, fill_blank, matching, etc.). For open-ended types, ai_status: "pending" until grading completes.