Bulk Create Content
bulk_create_contentCreate up to 100 content items in one batch call. Failed items don't block others, published items generate HTML in parallel, and upsert updates existing pages by path.
Instructions
Create up to 100 content items in a single call using efficient batch insert.
Items are inserted via MongoDB InsertMany for maximum throughput. If one item fails (e.g., duplicate path), the rest continue. Published items get their static HTML generated in parallel (up to 10 concurrent).
Set upsert: true to update existing pages at the same path instead of failing on duplicates.
Returns: total attempted, succeeded, failed counts, and per-item {id, full_path, success, error} details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Array of content items to create (max 100),required | |
| upsert | No | If true, update existing content at the same path instead of failing on duplicates | |
| version_comment | No | Version comment for all created items |