Detect AI-generated text
Score any text for AI authorship. Returns an overall verdict (AI / human / mixed) with confidence, the AI / human / AI-assisted fractions, and a segment-by-segment breakdown showing which parts read as AI-written - each segment carries its full text, its char offsets into the text you submitted, and a humanizer flag (AI output run through paraphrasing/'humanizer' tools). Price scales with length: $0.06 per 100 words, rounded up, minimum $0.06 - the exact amount is in the 402 challenge for the body you post. Max input 20,000 characters. The legacy tier field is accepted and ignored: every call runs the highest-accuracy detection class.
Request
- Base URL: https://glim.sh
- URL: https://glim.sh/api/v1/detect/ai
- Auth: one of:
- none
- API key in header x-api-key
- HTTP bearer
- API key in query parameter apiKey
Request body
Response
Detection verdict with per-segment breakdown
Changes
No recorded changes to this operation across all 1 revision of this API.