Content Improvement
Analyzes and suggests improvements for existing draft content in bulk.
POST /api/agents/copywriter/content-improve
Request Body
{
"siteId": "123e4567-e89b-12d3-a456-426614174000",
"contentIds": ["uuid1", "uuid2"],
"improvementGoals": ["SEO optimization", "readability"],
"targetAudience": ["developers"],
"keywords": ["api", "documentation"]
}| Parameter | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The UUID of the site. |
contentIds | string[] | No | Array of specific content UUIDs to improve. If omitted, fetches drafts. |
segmentId | string | No | Filter drafts by segment ID. |
campaignId | string | No | Filter drafts by campaign ID. |
userId | string | No | The UUID of the user. |
improvementGoals | string[] | No | Specific goals for improvement. |
targetAudience | string | string[] | No | Target audience focus. |
keywords | string[] | No | Keywords to optimize for. |
contentStyle | string | No | Desired content style. |
limit | number | No | Maximum number of items to process (default: 50). |
Response
Returns the improved content items and updates them in the database.
GET /api/agents/copywriter/content-improve
Retrieves a list of draft content items available for improvement.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
siteId | string | Yes | The UUID of the site. |
segmentId | string | No | Filter by segment ID. |
campaignId | string | No | Filter by campaign ID. |
limit | number | No | Limit results (default: 50). |
Last updated on