---
title: "Validate text for AI detection"
method: POST
path: "/api/v1/chat-gpt/validate/"
tags: ["AI Detection"]
---

# Validate text for AI detection

`POST /api/v1/chat-gpt/validate/`

Validate text or a supported file before creating an AI detection check. The endpoint parses the submitted content, applies the same pre-check validation rules and configured length limits as `POST /api/v1/chat-gpt/`, and returns the calculated size in words and pages.

This endpoint does not create a report, queue a check, save an original file, or charge the account.

## Response `200`

The AI detection check request is valid enough to submit for checking.

- AiCheckValidation
  - `success` boolean, required
  - `data` object, required
    - `words` integer, required — Number of words parsed from the submitted text or file.
    - `pages` integer, required — Estimated AI check page count. One page is 275 words.

## Other responses

- `400` — The request is invalid. Check required fields, field formats, and resource ownership.
- `403` — Authentication or authorization failed because the token is missing, invalid, blocked, or not allowed to access the resource.

---

[API](https://skmtc.net/plagiarismcheck/apis/plagiarismcheck-org-api.md) · [All operations](https://skmtc.net/plagiarismcheck/apis/plagiarismcheck-org-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/plagiarismcheck/plagiarismcheck-org-api/revisions/034b4999350e/schema)
