Extension Reports

Update extension report

Replace all fields on an existing Integrito report-data record. created_at is preserved; updated_at is set to the current server time. Returns 400 if item_id is already used by a different record owned by the authenticated user. Returns 403 if the record or the new text_id exists but belongs to another user. Returns 404 if the record or the new text_id does not exist.

put/api/v1/extension/reports/{id}/

Request

  • Base URL
    https://plagiarismcheck.org
  • Auth
    API key in header X-API-TOKEN

Request body application/x-www-form-urlencoded

text_idinteger required

ID of the text this report belongs to. Must be owned by the authenticated user.

item_idstring nullable

External item identifier. Must be unique among records owned by the authenticated user. Empty string is stored as null; null is allowed multiple times per user.

plagiarismnumber float nullable

Plagiarism percentage (0–100). Omit or pass an empty string to store null.

plagiarism_errorstring nullable

Error message from the plagiarism check. Omit or pass an empty string to store null.

ainumber float nullable

AI-detection score (0–100). Omit or pass an empty string to store null.

ai_errorstring nullable

Error message from the AI check. Omit or pass an empty string to store null.

checkingboolean

Whether the record is currently being checked. Defaults to false.

Example request

{
  "text_id": 345,
  "item_id": "john-course1-quiz5-question9",
  "plagiarism": 25.5,
  "ai": 10.25
}

Response

A single Integrito report-data record.

successboolean

Example response

{
  "success": true,
  "data": {
    "report": {
      "id": "12",
      "text_id": "345",
      "item_id": "john-course1-quiz5-question9",
      "plagiarism": 25.5,
      "ai": 10.25,
      "created_at": "1706199949000"
    }
  }
}

Changes

No recorded changes to this operation across all 12 revisions of this API.