Core concepts
Detection signals
What the Detect API measures, how confidence works, and why scores are signals rather than verdicts.
The Detect API estimates how likely a text is to be AI-generated with three AI checkers we run on our own GPUs (a structure checker, a wording checker and a fingerprint checker), document and sentence by sentence. Alongside the scores it names the writing patterns it recognises in each sentence and in the document's structure, with a plain reason for each, so a person can see what a reader would notice. The named patterns explain; they don't feed the score, and a high-scoring sentence can have none.
Signals, not verdicts
Important:
Don't use a score as proof
Detectors are wrong in predictable ways. Perplexity-based detectors flagged 61% of essays by non-native English writers as AI, and “extremely minor” AI polishing got 43–65% of human texts flagged by leading detectors.
Never make a decision about a person (hiring, grading, moderation, payment) on a score alone.
That's why verdict has a mixed band, why confidence is explicit, and why the per-detector scores and named patterns come with every detection.
What a detection contains
| Field | Meaning |
|---|---|
ai_likelihood | 0 to 1 for the whole document, combined from the three detectors. |
detectors | Each checker's own score, 0 to 1: structure (how the passage is built), wording (how predictable the words are) and fingerprint (patterns AI models leave). |
verdict | A banding of the score: likely_human below 0.35, mixed 0.35 to 0.70, likely_ai above 0.70. |
confidence | low, medium or high, set by length (below). |
sentences[] | Each sentence with its offsets, its own score, the ids of the patterns found in it and, with explain, each pattern's label and reason. |
structure[] | Document-level patterns, present or absent, with the words that show them. |
calibrated | With calibrate_to: the score relative to a writer's own baseline. |
usage | words_billed (words scanned) and allowance_words (1 per 5 scanned, rounded up). |
Sentence signals
| Signal | What fires it |
|---|---|
stock_opener | “In today's fast-paced world…”, “In the ever-evolving landscape of…” |
inflation_frame | “more than just”, “plays a pivotal role”: inflating importance instead of stating the thing. |
not_x_but_y | “It isn't just X, it's Y”: negate-then-reframe constructions. |
trailing_ing_clause | “…, highlighting the importance of…”. GPT-4o uses these at 5.3× the human rate. |
vocabulary_tell | Words models overuse: “delves” appeared at 28× its expected rate in 2024 PubMed abstracts. |
hedge_cluster | Stacked impersonal hedges and connectors: “notably”, “ultimately”, “it's worth noting”. |
hook_formula | Templated hooks and reveals: “Here's the thing”, “The result?” |
uniform_rhythm | Consecutive sentences of near-identical length and shape. |
triplet_list | Habitual three-item lists, especially of abstract nouns. |
formatting_tell | Emoji bullets, bold labels or dashes used as decoration. |
Structural features
In published research, structure is among the strongest evidence, and it survives paraphrasing: on B2B blog posts, structure alone separates AI from human writing at 97.0 macro-F1, and still 96.1 after the AI rewords its own posts. Detect reports these features in structure[] next to the score; they don't change ai_likelihood.
| Feature | AI posts | Human posts |
|---|---|---|
no_reader_action | 97% | 38% |
announced_thesis | 93% | 51% |
summary_section | 88% | 27% |
restated_close | 77% | 12% |
old_vs_new_frame | 76% | 26% |
Word-level methods are fragile by comparison: one paraphrase pass cut DetectGPT from 70.3% to 4.6% detection at a 1% false-positive rate, and cut a text watermark from 66.5% to 1.5%.
Source: Krishna et al., NeurIPS 2023; DAMAGE authors' test.Confidence and length
| Words | confidence | Advice |
|---|---|---|
| 40–149 | low | Show the reasons, not the number. A tweet can't carry enough evidence. |
| 150–599 | medium | Useful for triage and comparisons (before vs after a rewrite). |
| 600+ | high | Structural features are fully in play. |
Below 40 words the API returns 400 text_too_short.
Calibration
Some people write in ways population-level detectors misread: very formal, very consistent, or in a second language. Pass calibrate_to with a voice id (Pro API and Ultra API) and the response adds a calibrated score, and a calibrated_likelihood per sentence, with the writer's own baseline taken out. The main ai_likelihood is unchanged, and writers whose own samples score below 0.15 aren't shifted.
Tip:
Per-author fine-tuning cut a leading detector's flag rate from 97% to 3% in one study. Calibration is the same idea applied at scoring time. Read the guide.