# Unslop API Base URL: https://api.unslop.run/v1 OpenAPI: https://api.unslop.run/openapi.json Create an API key at https://api.unslop.run/account.html. Send Authorization: Bearer . Hosted MCP: https://api.unslop.run/mcp. Connect with OAuth using your existing Unslop account. Manual MCP keys use /mcp/v1 and cannot be used on /v1. POST /rewrites {text,input_format?,alternatives?:1..3,style_id?,writing_style?,strength?,rank_by?,sentence_scores?,protected_text?:string[],freeze_citations?:boolean,detectors?:string[],wait?:boolean} Returns a persistent job. Poll GET /rewrites/{id} until completed, failed or interrupted. wait:true waits up to 55 seconds, then returns the current job. HTTP 202 means work is still queued or running. Reuse Idempotency-Key when retrying a submission. POST /rewrites/{id}/rerun {from?:"original"|"result",alternative?:0,alternatives?,style_id?,writing_style?,strength?,rank_by?,sentence_scores?,detectors?,wait?} An explicit rerun creates a new job and charges separately. It does not replace the previous output. GET /rewrites lists your jobs. GET /usage returns usage and balances. POST /detect {text,input_format?,detectors?,sentence_scores?} Hosted heads: unslop, zerogpt_surrogate, desklib_surrogate, superannotate_surrogate, winston_surrogate, sapling_surrogate. They share one scoring request per text. The commercial heads are surrogate models; they do not call those providers. Direct providers on /detect only: gptzero, zerogpt, sapling, winston, pangram, copyleaks. Supply your own X-{detector}-Key header. Credentials are not stored or accepted on asynchronous rewrite jobs. Detector failures have status:failed and no score. Sentence scores use independently scored production sentence/clause segments, with UTF-16 offsets in scored_text; up to 200 segments. These are not leave-one-out scores. POST /styles {name,instructions?,examples:[{original,rewritten},...]} Supply 3–10 pairs. GET /styles lists profiles; GET/DELETE /styles/{id} reads/removes one. Styles and strength instructions run inside the existing Flash pass. writing_style: default|academic|plain|formal|casual|concise. strength: light|balanced|strong. rank_by: unslop or one of the five surrogate heads. Alternatives are ranked by that head's final score. index always identifies the generation index. Incomplete scoring never declares a winner. POST /reports/compare {original,rewritten,input_format?} Returns deterministic checks of figures, citations and length, not a semantic rating. HTML/Markdown formatting, code and frozen text are retained. Editable passages use Gemma generation, document-context selection and one Flash pass. There is no automatic correction loop. Rewrites reserve input words × complete alternatives. Only completed alternatives remain charged; unfinished alternatives release their reservation. Basic MCP shares the workspace word balance. Unlimited MCP has a separate 250,000-word monthly allowance; workspace rewriting remains unlimited. Paid subscriptions include 5,000 API words each month. Additional API words use prepaid credits. MCP prepaid overflow and capped auto top-up are opt-in. Standalone detection is currently unmetered, limited to 10 requests per account per minute. MCP tools: rewrite_text,get_rewrite,rerun_rewrite,detect_text,create_style,list_styles,compare_texts,get_account.