Detect AI-sounding prose
Analyzes a page for AI-generated prose and returns flagged passages with suggested rewrites. Consumes one AI credit per checked page. Skips pages under 50 words. Limited to 30 requests per minute per client IP address.
Credits
- Consumes 1 AI credit per checked page.
- The endpoint skips pages under 50 words and does not charge for them. The response returns
skipped: "too_short"withcreditsCharged: 0. - If detection is temporarily unavailable, the endpoint returns
503and doesn’t consume a credit. - The endpoint accepts up to 30 requests per minute per client IP address.
Response
Checked pages return a verdict (predictionShort), AI and human fractions, and a windows array of flagged passages. Each window includes a line range and can include one to three suggested rewrites.
Usage
Authorizations
The Authorization header expects a Bearer token. Use an admin API key. This is a server-side secret key. Generate one on the API keys page in your dashboard.
Path Parameters
Body
Response
The page was checked, or skipped because it was too short.
The path from the request.
Reason the page was skipped, or null when the page was checked. too_short means the page had fewer than 50 words of prose and was not charged.
too_short, null AI credits charged for this request (0 when skipped).
Overall verdict for the page. Present only when the page was checked.
AI, AI-Assisted, Human, Mixed Fraction of the page detected as AI-generated (0-1).
Fraction detected as AI-assisted (0-1).
Fraction detected as human-written (0-1).
Flagged (non-human) passages. Present only when the page was checked.