VERSION 1.5.0

v1.5.0

Public REST API for CI/CD integration and custom tooling.

Invalid Date
·8 changes

REST API (Pro/Team)

  • Public REST API for integrating TechWrit AI into CI/CD pipelines, scripts, and tooling
  • POST /api/v1/analyze endpoint 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