AI Detector
Endpoints
AI Detector
Score text for AI-generated content with the /api/stealthify/detect endpoint
POST
AI Detector
The
Use
/api/stealthify/detect endpoint runs the same AI-detection backend that powers the StealthGPT AI Detector on the website. Submit a piece of text and receive a 0-100 score indicating how likely it is to be flagged as AI-generated by detection tools.
Request Parameters
Your unique API authentication token. You can find this in your StealthGPT dashboard under the API Key tab.
The text to analyze. Maximum 3,000 words per request.
Response
A score from 0 to 100 indicating how likely the text is to be flagged as AI-generated by detection tools. Higher means more likely to be flagged.
Number of words charged for this request (equal to the input word count).
Number of prepaid words remaining in your account after this request.
Whether the request was billed from prepaid words (
prepaid) or pay-as-you-go metered billing (payg).If billed via pay-as-you-go, the number of words added to metered usage for this request (0 when billed from prepaid).
Example Request
Example Response
Score Interpretation
ThehowLikelyToBeDetected score is a probability expressed on a 0-100 scale.
| Score range | Interpretation |
|---|---|
| 0 - 30 | Likely human-written. Low risk of being flagged as AI. |
| 31 - 70 | Mixed signals. May be partially AI-generated or heavily edited. |
| 71 - 100 | Likely AI-generated. High risk of being flagged by detectors. |
Detection scores are probabilistic. Short inputs (under ~50 words) and highly templated text (e.g. resumes, legal boilerplate) can produce noisy results regardless of how the text was written.
Pairing With Humanizer
A common workflow is to humanize text with/api/stealthify and then verify the result with /api/stealthify/detect:
/api/stealthify/detect when you need to score arbitrary text that did not pass through the humanizer.
Usage Notes
- Billing is
input wordsper request (1 charged word per input word). See Pricing for rates. - Inputs over 3,000 words return
400 Bad Request. Split long documents into multiple calls and average the scores client-side if needed. - The detector is language-agnostic; non-English input is supported.