Batch edit articles with AI
batch_edit_articles_with_aiQueues an AI rewrite of up to 50 articles with the same instructions (default-language version only). Asynchronous: articles are edited in the background over the next minutes; check them later with get_article. Articles still generating are skipped and not charged. Editing an article that is already published (or published in draft) marks it Out of Sync until it is synced with sync_article_to_cms or published again. Use edit_article_with_ai for a single article or a translation. Costs AI brain credits (see the cost rule above), charged before the work, refunded if the provider fails. Requires an active subscription or free trial. Pass confirm=true to acknowledge the AI brain credits charge; without it the tool only returns the cost and your balance. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to acknowledge the AI brain credit charge. Omit it to only get the cost and your balance. | |
| website_id | No | Website id from get_account. Optional when the account has a single website. | |
| article_ids | Yes | Articles to rewrite (1 to 50). | |
| instructions | Yes | What to change in every article. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| failed | No | Could not be queued; refunded. | |
| queued | No | ||
| status | No | Always "queued": the rewrites run in the background. | |
| skipped | No | Still generating; not charged. | |
| credits_balance | No | Current AI brain credits balance; only with requires_confirmation. | |
| credits_required | No | AI brain credits the call would charge; only with requires_confirmation. | |
| credits_balance_after | No | AI brain credits balance after this call. | |
| requires_confirmation | No | Present when the tool did not run: it needs confirm=true. The other fields are then absent. |