Check page for AI-sounding prose
Scan an MDX page for AI-sounding prose and return line-mapped flagged passages with optional human-style rewrite suggestions. Pages under 50 words are skipped for free. Each checked page charges 1 AI credit from the shared AI credits pool used by the assistant.
Authenticate with an admin API key.
mint deslop CLI runs from a CI pipeline or internal tool.
Frontmatter, fenced code blocks, and inline code are stripped before scoring, so only prose is analyzed.
Credits
Each scored page charges 1 AI credit from the shared AI credits pool used by the assistant. Pages under 50 words are settled as a free skip (skipped: "too_short") before the credit check runs.
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
Identifier for the page being checked. Echoed back in the response and used to key results when checking multiple pages.
1Raw MDX or Markdown content of the page. Frontmatter, code blocks, and inline code are stripped before scoring so only prose is analyzed.
1000000Response
Page checked successfully. skipped is null for scored pages, or a reason string (for example, too_short) when the page was not scored. Scored pages include the AI-written fractions, per-window flagged passages with line ranges, and any rewrite suggestions.
- Option 1
- Option 2
Echo of the path from the request.
Reason the page was skipped without scoring, such as too_short when the page is under 50 words. null when the page was scored.
Short label for the overall verdict. One of Human, AI-Assisted, Mixed, or AI.
Human, AI-Assisted, Mixed, AI Fraction of prose (0-1) that reads as fully AI-written.
Fraction of prose (0-1) that reads as AI-assisted.
Fraction of prose (0-1) that reads as human-written.
Flagged passages with line ranges from the original page and optional rewrite suggestions.
AI credits charged for this request. 1 for scored pages, 0 for skipped pages.