Content Editor
Edits and refines existing content drafts based on specific style controls and user preferences.
POST /api/agents/copywriter/content-editor
Request Body
{
"contentId": "123e4567-e89b-12d3-a456-426614174000",
"siteId": "123e4567-e89b-12d3-a456-426614174000",
"userId": "123e4567-e89b-12d3-a456-426614174000",
"quickAction": "improve",
"styleControls": {
"tone": "professional",
"creativity": "balanced"
}
}| Parameter | Type | Required | Description |
|---|---|---|---|
contentId | string | Yes | The UUID of the content to edit. |
siteId | string | Yes | The UUID of the site. |
userId | string | Yes | The UUID of the user requesting the edit. |
agent_id | string | No | The UUID of the specific agent. |
quickAction | string | No | Predefined action (e.g., “improve”, “shorten”, “expand”). |
styleControls | object | No | Object defining style parameters (tone, complexity, etc.). |
aiPrompt | string | No | Custom instructions for the AI. |
Response
Returns the edited content (title, description, text) and updates it in the database.
Last updated on