{"tool": "unslop", "name": "unslop", "tagline": "Score and rewrite that strips AI-speak. Spanish and English.", "base_url": "https://unslop.agentictray.com", "summary": "Score and rewrite that strips AI-speak. Spanish and English.", "spec_version": "1.0", "auth": {"required": false, "summary": "Opcional. Sin llave te atienden con el plan Free. Una llamada PROGRAMATICA (un script, no el navegador de la landing) exige el plan Team: feature `api`.", "ways": [{"where": "Header", "value": "Authorization: Bearer <key>"}, {"where": "Query", "value": "?key=<key>"}], "note": "El navegador de la landing recibe una cookie de sesion firmada por el servidor: sus propias llamadas no cuentan como uso de API. Cualquier peticion que TRAIGA una llave es uso programatico por definicion, aunque tambien traiga la cookie. Las llamadas internas (IP de la red) nunca se cobran."}, "limits": [{"label": "Caracteres por texto (plan Free)", "value": "5000"}, {"label": "Caracteres por texto (planes de pago)", "value": "40000"}, {"label": "Presupuesto diario de score (unidades de costo)", "value": "350"}, {"label": "Rondas de reescritura", "value": "1 a 3 (por omision 2)"}], "notes": ["Orden real del gate: (1) si la llamada es programatica, plan sin `api` -> 402 feature=api y cuota api_daily agotada -> 429 feature=api; (2) feature del plan -> 402; (3) tamano -> 413; (4) cuota diaria -> 429.", "Free y Solo no incluyen `api`: un script con esos planes recibe 402 feature=api. Solo Team incluye llamadas programaticas.", "La cuota se reinicia a las 00:00 UTC.", "El score puede volver del motor local (regex) en vez del modelo: mira `engine` y `score_scale` en la respuesta.", "Un 402 significa 'tu plan no incluye esto'; un 429 significa 'agotaste lo que tu plan trae'. No son intercambiables."], "endpoints": [{"method": "POST", "path": "/api/score", "alias": "/api/unslop/score", "summary": "Scores how AI-sounding a text is (0 = human, 100 = pure filler).", "request": {"content_types": ["application/json"], "fields": [{"name": "text", "required": true, "type": "string", "notes": "El texto a medir. Maximo 40000 caracteres (5000 en el plan Free)."}]}, "responses": [{"code": 200, "type": "application/json", "body": "{\"score\": 0, \"verdict\": \"...\", \"tells\": [], \"fix\": \"\", \"engine\": \"deep\", \"words\": 0, \"hits\": [], \"by_cat\": {}, \"lang\": \"es\", \"plan\": \"free\", \"used\": 0, \"limit\": 10, \"score_scale\": \"deep\"}", "note": "engine puede ser deep, regex-fallback, too-short o local-softcap. score_scale dice si el score es profundo o de superficie."}, {"code": 400, "type": "application/json", "body": "{\"error\": \"bad_json\"}"}, {"code": 400, "type": "application/json", "body": "{\"error\": \"empty_or_too_large\"}"}, {"code": 400, "type": "application/json", "body": "{\"error\": \"no_text\"}"}, {"code": 402, "type": "application/json", "body": "{\"error\": \"plan_required\", \"feature\": \"score\", \"plan\": \"free\", \"message\": \"...\"}"}, {"code": 413, "type": "application/json", "body": "{\"error\": \"text_too_long\", \"plan\": \"free\", \"max_chars\": 5000, \"chars\": 9000}"}, {"code": 402, "type": "application/json", "body": "{\"error\": \"plan_required\", \"feature\": \"api\", \"plan\": \"free\", \"message\": \"programmatic API access is on the Team plan\"}", "note": "Llamada programatica (script) con un plan sin la feature api."}, {"code": 429, "type": "application/json", "body": "{\"error\": \"daily_limit\", \"feature\": \"api\", \"plan\": \"team\", \"used\": 500, \"limit\": 500}", "note": "Cuota api_daily agotada (plan Team)."}, {"code": 429, "type": "application/json", "body": "{\"error\": \"daily_limit\", \"feature\": \"score\", \"plan\": \"free\", \"used\": 10, \"limit\": 10}"}]}, {"method": "POST", "path": "/api/rewrite", "alias": "/api/unslop/rewrite", "summary": "Rewrites the text the way a person would say it.", "request": {"content_types": ["application/json"], "fields": [{"name": "text", "required": true, "type": "string", "notes": "El texto a reescribir. Maximo 40000 caracteres."}, {"name": "rounds", "required": false, "type": "integer (1-3)", "notes": "Rondas del LLM. Por omision 2. Bajalo si vas con presupuesto de latencia."}]}, "responses": [{"code": 200, "type": "application/json", "body": "{\"text\": \"...\", \"before\": 0, \"after\": 0, \"hits_before\": 0, \"hits_after\": 0, \"plan\": \"free\", \"used\": 0, \"limit\": 10, \"score_scale\": \"surface\"}", "note": "Tarda entre 10 y 30 segundos por llamada (va al modelo)."}, {"code": 400, "type": "application/json", "body": "{\"error\": \"bad_json\"}"}, {"code": 400, "type": "application/json", "body": "{\"error\": \"empty_or_too_large\"}"}, {"code": 400, "type": "application/json", "body": "{\"error\": \"no_text\"}"}, {"code": 402, "type": "application/json", "body": "{\"error\": \"plan_required\", \"feature\": \"rewrite\", \"plan\": \"free\", \"message\": \"rewrite is on the paid plan\"}"}, {"code": 413, "type": "application/json", "body": "{\"error\": \"text_too_long\", \"plan\": \"free\", \"max_chars\": 5000, \"chars\": 9000}"}, {"code": 402, "type": "application/json", "body": "{\"error\": \"plan_required\", \"feature\": \"api\", \"plan\": \"free\", \"message\": \"programmatic API access is on the Team plan\"}", "note": "Llamada programatica (script) con un plan sin la feature api."}, {"code": 429, "type": "application/json", "body": "{\"error\": \"daily_limit\", \"feature\": \"api\", \"plan\": \"team\", \"used\": 500, \"limit\": 500}", "note": "Cuota api_daily agotada (plan Team)."}, {"code": 429, "type": "application/json", "body": "{\"error\": \"daily_limit\", \"feature\": \"rewrite\", \"plan\": \"free\", \"used\": 10, \"limit\": 10}"}, {"code": 500, "type": "application/json", "body": "{\"error\": \"rewrite_failed: <TipoDeExcepcion>\"}"}]}, {"method": "GET", "path": "/api/plan", "alias": "/api/unslop/plan", "summary": "Plan, limits and consumption of the caller. Call it before batching.", "request": {"content_types": [], "fields": []}, "responses": [{"code": 200, "type": "application/json", "body": "{\"plan\": \"free\", \"label\": \"Free\", \"features\": [\"score\", \"rewrite\"], \"limits\": {\"score_daily\": 10, \"rewrite_daily\": 10, \"api_daily\": 0, \"max_chars\": 5000}, \"used\": {\"score\": 0, \"rewrite\": 0, \"api\": 0}}"}]}, {"method": "POST", "path": "/api/lead", "summary": "Captures an email for the pricing page when checkout is not configured.", "request": {"content_types": ["application/json"], "fields": [{"name": "email", "required": true, "type": "string", "notes": "Debe ser un correo con dominio valido."}, {"name": "plan", "required": false, "type": "string", "notes": "El tier que le interesa (solo, team)."}]}, "responses": [{"code": 200, "type": "application/json", "body": "{\"ok\": true, \"plan\": \"solo\"}"}, {"code": 400, "type": "application/json", "body": "{\"ok\": false, \"error\": \"invalid_email\"}"}, {"code": 400, "type": "application/json", "body": "{\"ok\": false, \"error\": \"too_large\"}"}, {"code": 400, "type": "application/json", "body": "{\"ok\": false, \"error\": \"bad_request\"}"}]}, {"method": "GET", "path": "/unslop/buy", "summary": "The pricing page (HTML).", "request": {"content_types": [], "fields": []}, "responses": [{"code": 200, "type": "text/html", "body": "(la pagina de precios)"}]}, {"method": "GET", "path": "/healthz", "summary": "Service status.", "request": {"content_types": [], "fields": []}, "responses": [{"code": 200, "type": "application/json", "body": "{\"ok\": true}"}]}, {"method": "GET", "path": "/api/docs", "summary": "This same reference, as JSON.", "request": {"content_types": [], "fields": []}, "responses": [{"code": 200, "type": "application/json", "body": "{ ... } (this document)"}]}, {"method": "GET", "path": "/docs", "summary": "This same reference, as HTML.", "request": {"content_types": [], "fields": []}, "responses": [{"code": 200, "type": "text/html", "body": "(this page)"}]}], "links": {"json": "https://unslop.agentictray.com/api/docs", "html": "https://unslop.agentictray.com/docs"}, "plans": {"columns": [["price_month", "Price/mo"], ["score_daily", "Score/day"], ["rewrite_daily", "Rewrite/day"], ["api_daily", "API calls/day"], ["max_chars", "Max chars"]], "rows": [{"plan": "free", "label": "Free", "features": ["score", "rewrite"], "price_month": 0, "score_daily": 10, "rewrite_daily": 10, "api_daily": 0, "max_chars": 5000}, {"plan": "solo", "label": "Solo", "features": ["score", "rewrite"], "price_month": 15, "score_daily": 5000, "rewrite_daily": 500, "api_daily": 0, "max_chars": 40000}, {"plan": "team", "label": "Team", "features": ["score", "rewrite", "api"], "price_month": 49, "score_daily": 5000, "rewrite_daily": 500, "api_daily": 500, "max_chars": 40000}]}}