Skip to main content
The Collections service allows you to create, read, update, and delete collections.

Overview

List Collections

Get a Collection

Get Collection Names

Create a Collection

To update the fields of a collection, you typically need to create a migration. See the Migrations service for more details.

Update a Collection

Delete a Collection

Deleting a collection permanently deletes all records within it. This action cannot be undone.

Export Collections

Export collections to JSON format for backup or migration:
You can also export specific collections:
Exporting collections requires superadmin authentication. The export includes collection schemas and rules, but not the actual records.

Import Collections

Import collections from a previous export:
The strategy parameter determines how conflicts are handled:
  • error - Fail if a collection already exists (default)
  • skip - Skip existing collections, only import new ones
  • update - Update existing collections with the schema from the import
Importing collections requires superadmin authentication. The import result includes per-collection status and migration IDs for tracking.

Field Types

Next Steps