Copy Collection

Copy a collection, including its documents and vectors, under a new name. Vectors are branched rather than re-embedded, so no indexing credits are used.

Path parameters

collection_namestringRequired

Request

This endpoint expects an object.
target_namestringRequired

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
messagestring
source_collectionstring
Name of the collection copied from.
collection_namestring
Name of the new copy.
database_idstring
ID of the new copy.
documents_copiedinteger
Number of documents cloned.
namespaces_copiedinteger

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

Errors

404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
© 2026 Captain