Templates

Propose a rewrite of one paragraph

Returns a rewritten version of one paragraph in the same language. Merge fields are checked back against the original and the proposal is refused if one moved. Nothing is written to the template: the response is a suggestion for the owner to accept or discard.

post/api/v1/templates/redraft

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/templates/redraft
  • Auth: API key in cookie better-auth.session_token

Request body

textstring required
how'plainer' | 'shorter' | 'firmer' | 'warmer' required

What to change about it. Never what it says, only how it says it.

Response

The proposal.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.