Rewrite a message
POST/api/v1/accounts/:account_id/assistant/tasks/rewrite
Rewrites the text an agent is composing — shorter, friendlier, corrected —
according to operation. The conversation is passed so the rewrite keeps its
context.
Every one of these produces text for a person to review. Nothing is sent and nothing is changed by calling them.
A request the assistant cannot act on answers 200 with a null message — an
empty answer is a normal outcome here, not a failure.
Request
Responses
- 200
- 403
- 422
Success. message is null when the assistant had nothing to offer.
Access denied
The assistant could not be reached, or refused