---
title: "Set Suspicious Flag"
method: POST
path: "/api/v3/completions/suspicious"
tags: ["Completions"]
---

# Set Suspicious Flag

`POST /api/v3/completions/suspicious`

## Request

- Base URL: `https://dev-api.genji.pk`
- URL: `https://dev-api.genji.pk/api/v3/completions/suspicious`
- Auth: none declared

Insert a new suspicious flag for a completion.

## Request body

- SuspiciousCompletionCreateRequest
  - `context` string, required
  - `flag_type` 'Cheating' | 'Scripting', required
  - `flagged_by` integer, required
  - `message_id` integer, nullable
  - `verification_id` integer, nullable

## Response `201`

Document created, URL follows

## Other responses

- `400`: Bad request syntax or unsupported method

---

[API](https://skmtc.dev/genji/apis/genji-shimada-api-2.md) - [All operations](https://skmtc.dev/genji/apis/genji-shimada-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/genji/apis/genji-shimada-api-2/revisions/a31661684eee?raw)
