Import Entries
import-entriesReplace project entries in batches of up to 50, scoped by kind, module, or tags. Use deleteOrphans=false until the final batch for a complete re-import.
Instructions
Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Alias for replace-entries (mode=replace). Pass filter as scope; send up to 50 entries per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project id | |
| mode | Yes | Only replace mode is supported (full slice sync) | |
| filter | Yes | Scope filter (kind, moduleName, tags) | |
| moduleName | No | Default refs.moduleName for entries without refs.moduleName | |
| upsertBy | No | Match keys (default kind+title) | |
| entries | Yes | Import batch (max 50 per call) | |
| deleteOrphans | No | Delete scope entries missing from this batch (default true; set false until final batch) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| updated | Yes | ||
| deleted | Yes | ||
| entryIds | Yes | ||
| message | Yes |