Stealth Agent and humanization runs are asynchronous: you start a run, get aDocumentation Index
Fetch the complete documentation index at: https://docs.stealthgpt.ai/llms.txt
Use this file to discover all available pages before exploring further.
runId immediately, and the long-running work (research, drafting, humanization, scoring) happens in the background. There are three recommended patterns for consuming it.
1. Queue and poll
Best for scripts, cron jobs, and simple backends.- Start a run:
POST /api/stealthify/runs(humanize-only) orPOST /api/stealthify/agent/runs(full pipeline) →202withrunId+statusUrl. - Poll
GET .../runs/{runId}every 5–15 seconds untilstatusiscompleted,failed, orcancelled. - Read the final
resultand billing metadata from the completed response.
idempotency-key header on create so retries never enqueue duplicate runs or double-charge.
→ Humanizer async runs · Stealth Agent async runs
2. Fire and webhook
Best for no-code tools (n8n, Make, WordPress) and event-driven backends that don’t want to poll.- Start a run and include
webhookUrl(and optionallywebhookSecret). - When the run reaches a terminal state, StealthGPT
POSTs the result (or terminal failure) to yourwebhookUrl. - Verify the
x-stealthgpt-signatureHMAC (whenwebhookSecretis set) and reconcile byx-stealthgpt-run-id.
429/5xx; treat delivery as at-least-once and dedupe by run id + status.
→ See the Webhook callbacks section on the async runs page.
3. Agent / tool invocation
Best for AI agents and chat clients — let the model call StealthGPT as a tool via our MCP server (Cursor today; claude.ai web & ChatGPT via OAuth coming soon). → Use Stealth Agent from MCP clientsPicking a pattern
| You are… | Use |
|---|---|
| A backend / script | Queue and poll |
| A no-code or event-driven workflow | Fire and webhook |
| An AI agent / LLM client | Agent / tool invocation (MCP) |