---
title: "Explain an AI-blocked site/app; the server re-runs the AI and records the verdict for the teacher"
method: POST
path: "/class-session/{id}/ai-contest"
tags: ["class-session"]
---

# Explain an AI-blocked site/app; the server re-runs the AI and records the verdict for the teacher

`POST /class-session/{id}/ai-contest`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/class-session/{id}/ai-contest`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- SubmitAiContestDto
  - `requested_domain` string
  - `requested_app` string
  - `url` string: The blocked page; must be on requested_domain. Clients strip the query string; the server strips it again before the AI sees it.
  - `tab_title` string
  - `current_task` string: The teacher-assigned checklist task the student is working on.
  - `explanation` string, required

## Response `201`

- object

---

[API](https://skmtc.dev/focusbear/apis/focusbear-api.md) - [All operations](https://skmtc.dev/focusbear/apis/focusbear-api/llms.txt) - [OpenAPI document](https://skmtc.dev/focusbear/apis/focusbear-api/revisions/3a83a3b9a811?raw)
