AI Detection

Submit text for AI detection

Changed on

Submit text or a supported file for AI-generated text detection. The response contains the created AI check report.

The authenticated user must be allowed to create AI checks. The endpoint rejects empty content, content below the configured minimum character length, disabled AI-check settings, missing AI package eligibility, and texts over the configured free or paid word limits.

post/api/v1/chat-gpt/

Request

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

Request body application/x-www-form-urlencoded

textstring

Text content to check for AI-generated writing.

group_idinteger

Optional group ID for a group AI check. The authenticated user must belong to the group.

force_languagestring

Optional language code to store for the AI check instead of auto-detection.

skip_orders_validationboolean

Skip AI package and free/paid word-limit validation. Intended for trusted internal flows.

Response

The AI detection check was created successfully.

successboolean

Example response

{
  "success": true,
  "data": {
    "enabled": true,
    "id": 15,
    "status": 3,
    "percent": 50.5,
    "processed_percent": 70.25,
    "strong_percent": 40.25,
    "likely_percent": 30,
    "mark": 1,
    "comment": "Lorem ipsum dolor",
    "comment_author": {
      "id": 24,
      "name": "John Doe"
    },
    "type": 3,
    "words": 550,
    "pages": 2,
    "group_id": 100,
    "creator": {
      "id": 3132945,
      "name": "John Doe",
      "email": "student@example.com",
      "created_at": 1512638171000,
      "updated_at": 1512638171000,
      "allowed_languages": [
        "en"
      ],
      "balance_type": 1,
      "avatar": "https://randomuser.me/api/portraits/lego/1.jpg",
      "is_email_verification_needed": true
    },
    "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus molestie diam id lacus maximus, ac scelerisque neque suscipit. Pellentesque luctus elit cursus varius aliquam. Nam neque leo, cursus sit amet quam a, dignissim malesuada est. Sed efficitur finibus felis euismod mattis. Donec egestas nunc odio, vitae lacinia nunc pellentesque id. Etiam ornare nunc vel accumsan ullamcorper. Donec sed lacinia orci.\n",
    "chunks": [
      {
        "reliability": 1,
        "position": [
          100,
          200
        ]
      }
    ],
    "ignored_ranges": [
      {
        "id": 123,
        "start": 42,
        "end": 87,
        "filename": "assignment-template.docx",
        "ignore_assignment_template_id": 55
      }
    ]
  }
}

Changes

    • breaking

      the ////// response's property format changed from email to no format for status

    • info

      added the optional property ////// to the response with the status