collections

Copy Collection

Clone metadata, documents, and vectors under a new name. Instant regardless of size.

post/v2/collections/{collection_name}/copy

Path parameters

collection_namestring required

Request body

target_namestring required

Name for the copy. Must be unique within the organization and environment. Same rules as creating a collection: 3-63 characters, alphanumeric start and end, letters, numbers, hyphens and underscores only.

Response

Successful Response

successboolean required
messagestring required
source_collectionstring required

Name of the collection copied from.

collection_namestring required

Name of the new copy.

database_idstring required

ID of the new copy.

documents_copiedinteger required

Number of documents cloned.

namespaces_copiedinteger required

Number of Turbopuffer namespaces copied (text plus any media).

Changes

No recorded changes to this endpoint across all 1 revision of this API.