detect_ai_text takes the text to check and an optional sensitivity. Leave sensitivity out and it uses standard, which flags a paper when more than 6% of it reads as AI-written. accusation-safe flags above 15% and misses more AI-edited text. sensitive flags above 2%; in the default model’s release test it flagged 1 of 600 human-written papers the detector had never been trained on, and the 95% ceiling on that false-flag rate is 0.788%.
detect_ai_text also takes an optional model. Leave it out and it uses standard (Fewer false flags): Flagged none of 600 human-written papers. Called 20 of 176 humanized AI papers human. In a newer test of one humanizer tool, it called 231 of 255 rewritten long papers human. humanizer (Catches more humanizers): Called 8 of 176 humanized AI papers human. In the same newer test, it called 219 of 255 rewritten long papers human. Flagged 2 of 600 human-written papers the default cleared. humanizer runs at the standard sensitivity only; with any other sensitivity the tool refuses before it calls the detector. If humanizer cannot be reached, the tool answers "Not scored". It never shows a reading from the default model under the humanizer name.
The reply gives the verdict (Human, Mixed, AI or Unknown), the word count, the model and the detector run that scored it, and each sentence labeled AI, shortened to its first twelve words. The full response also comes back as structured data, for a client that wants every field.
detector_status takes no input. It reports whether the detector can be reached and which run serves the default model.