---
title: "Validate Copy Similarity Flag"
method: POST
path: "/admin/copy-similarity/flags/{flag_id}/validate"
tags: ["Admin Copy Similarity"]
---

# Validate Copy Similarity Flag

`POST /admin/copy-similarity/flags/{flag_id}/validate`

## 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/admin/copy-similarity/flags/{flag_id}/validate`
- Auth: OAuth 2 (password, token URL `api/login`)

## Path parameters

- `flag_id` string, required

## Response `200`

Successful Response

- CopySimilarityFlagResponse
  - `id` string, required
  - `assignment_id` string, required
  - `assignment_title` string, required
  - `teacher_id` string, required
  - `teacher_name` string, required
  - `exercise_id` string, required
  - `exercise_number` integer, nullable
  - `exercise_numbers` integer[], required
  - `students` FlaggedStudent[], required
    - `student_id` string, required
    - `name` string, required
    - `session_id` string, required
    - `photo_url` string, required
    - `posted_at` string, date-time, nullable
  - `same_file` boolean, required
  - `unique_points` integer, required
  - `inliers` integer, required
  - `status` 'pending' | 'validated' | 'dismissed', required
  - `created_at` string, date-time, required
  - `decided_at` string, date-time, nullable
  - `decided_by` string, nullable
  - `conversation_id` string, nullable
  - `notified_at` string, date-time, nullable
  - `teacher_status` 'pending' | 'handled' | 'dismissed', nullable
  - `zeroed_student_ids` string[]
  - `teacher_decided_at` string, date-time, nullable

## Other responses

- `400`: Malformed identifier
- `404`: Resource not found
- `409`: Business rule violated
- `422`: Validation Error

## Changes

> 55 revisions in range; 1 not diffed.

- **2026-10-15** `8026587f3491`: 4 info
  - added the optional property `notified_at` to the response with the `200` status
  - added the optional property `teacher_decided_at` to the response with the `200` status
  - added the optional property `teacher_status` to the response with the `200` status
  - added the optional property `zeroed_student_ids` to the response with the `200` status
- **2026-10-13** `60775565116f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/admin/copy-similarity/flags/:flag_id/validate/post.md)

---

[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)
