---
title: "Restart Trial Run"
method: POST
path: "/teacher/assignments/{assignment_id}/restart-trial"
tags: ["teacher_assignments"]
---

# Restart Trial Run

`POST /teacher/assignments/{assignment_id}/restart-trial`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/teacher/assignments/{assignment_id}/restart-trial`
- Auth: OAuth 2 (password, token URL `api/login`)

Create a new trial run session for a teacher, regardless of existing sessions.
Used when teacher wants to restart from scratch.

## Path parameters

- `assignment_id` string, required

## Response `200`

Successful Response

- RoutersExerciseAssignmentsBasicResponse
  - `status` string, required
  - `message` string, required
  - `assignment_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
