v1

latestOpenAPI 3.1.02026-07-2295105298.6 KB
Content

Revise Content Draft

Rewrite an existing content draft from a natural-language instruction (for example: 'tighten the intro', 'add a section on pricing', 'remove the second half'). Applies the change to the whole article and records it as a new version, so earlier passes stay recoverable via get_content_versions / restore_content_version. Iterate by calling it again — each call starts from the current text, so no version id is needed. Use this instead of create_content to change a draft; it edits in place rather than generating a new piece.

post/api/v1/content/{content_id}/revise

Path parameters

content_idstring required

Request body

website_idstring required
instructionstring required

Response

Success

content_idstring required
bodystring required
version_numberinteger required
version_idstring required