appwrite_bulk_create_documents
Create multiple Appwrite database documents simultaneously to save time and reduce API calls. Specify database, collection, and document arrays with IDs and data.
Instructions
[UNIFIED] Create multiple documents at once. More efficient than creating one by one.
Example documents array: [ {"document_id": "unique()", "data": {"title": "Doc 1", "status": "active"}}, {"document_id": "doc-2", "data": {"title": "Doc 2", "status": "draft"}, "permissions": ["read("any")"]} ]
Each document must have:
document_id: Use 'unique()' for auto-generated ID or provide your own
data: Object with field values matching collection attributes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| database_id | Yes | ||
| collection_id | Yes | ||
| documents | Yes |