Parameter | Type | Required | Description |
---|---|---|---|
collectionName | string | ✓ | Collection name must be unique within a project and the supported maximum length is 52 |
indexConfigs | object | Field configuration for indexing. Required when creating from scratch | |
sourceProjectName | string | Source project name for PITR or cloning operations | |
sourceCollectionName | string | Source collection name for PITR or cloning operations | |
sourceDatetime | string | ISO 8601 formatted datetime for PITR (e.g., “2024-01-15T10:30:00Z”) | |
sourceProjectApiKey | string | API key for the source project |
sourceDatetime
parameter must be in ISO 8601 format (UTC timezone). If sourceDatetime
is not specified, the collection will be restored from the most recent data available.indexConfigs
is optional. You can pass additional indexConfigs
to extend the original collection’s configuration, but deleting or modifying the original collection’s indexConfigs is not allowed.