REST API (Pro/Team)
- Public REST API for integrating TechWrit AI into CI/CD pipelines, scripts, and tooling
POST /api/v1/analyzeendpoint with all 14 modes, audience, doc type, and custom rules/terminology/glossary support- API key authentication: create and manage keys from the API Keys dialog in the user menu
- Keys use
twai_prefix, are stored as SHA-256 hashes, and can be revoked at any time - Rate limit headers (
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset) on all responses - Shared quota with web UI — API requests count toward the same monthly limit
- Clean JSON responses with content, mode, token usage, and quota information
- Falls back to saved user config when rules/terminology/glossary are not provided in the request