Developer Resources
Detection API
One POST request, one JSON response. Add AI detection scoring to a CMS, an LMS or your own application without shipping a model.
Endpoints
POST
/api/detect.php
Scores text for machine-generated writing patterns from current general-purpose models — ChatGPT and GPT-4o/GPT-5, Claude, Gemini, Llama. Returns a probability and a label.
Request Body (JSON)
Input
application/json
{
"text": "The quick brown fox jumps over the lazy dog."
}
* Min 10 chars, Max 50,000 chars.
Response (JSON)
Output
200 OK
{
"score": 12.5, // AI probability, 0-100
"ai_probability": 0.125, // same value, 0-1
"human_probability": 0.875, // 1 - ai_probability
"label": "Human", // "AI" when score > 50, otherwise "Human"
"original_response": { } // unmodified upstream payload
}