batch_records
Run multiple PocketBase create, update, upsert, and delete operations in one request to reduce round trips and apply related record changes together.
Instructions
Perform multiple create/update/upsert/delete operations in one request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requests | Yes | List of batch operation dicts. Example: [ {"method": "POST", "url": "/api/collections/posts/records", "body": {"title": "New post"}}, {"method": "PATCH", "url": "/api/collections/posts/records/abc123", "body": {"title": "Updated"}}, {"method": "DELETE", "url": "/api/collections/posts/records/xyz789"} ] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | No |