Quickstart
The legacy deterministic endpoint returns polished text, a token-level diff, and a rationale per change. save: true is currently unavailable.
gp_test_…) never consume quota and always return the same fixture.Polish a draft
The same call in three clients. Only text is required: tone defaults to neutral and return to diff.
Response
Rate limits
The deterministic endpoint defaults to 60 requests a minute per live/session caller. Excess requests return 429 rate_limited with Retry-After in seconds. Test keys still obey transport limits; neither test fixtures nor /v1/polish consume words. Both /rewrite and /tools/ai-text-rewriter use the separate metered AI rewrite endpoints and share their quotas.
Next
Core concepts explains what a change, a diff and a revision are. Errors explains the response envelope, rewrite recovery and the corresponding error anchors.