Clone Collection
Clone a collection with optional modifications.
**Purpose:**
Creates a NEW collection (with new ID) based on an existing one. This is the
recommended way to iterate on collection designs when you need to modify core
configuration that PATCH doesn't allow (source, feature_extractor, field_passthrough).
**Clone vs PATCH vs Template:**
- **PATCH**: Update metadata only (enabled, metadata, taxonomy_applications)
- **Clone**: Copy and modify core configuration (source, feature_extractor)
- **Template**: Start from a pre-configured pattern (for new projects)
**Common Use Cases:**
- Change feature extractor configuration (model, parameters)
- Modify field_passthrough to include/exclude fields
- Switch to different source (bucket or collection)
- Test modifications before replacing production collection
- Create variants (e.g., different embedding models)
**How it works:**
1. Source collection is copied
2. You provide a new name (REQUIRED)
3. Optionally override any other fields
4. A new collection is created with a new ID
5. Original collection remains unchanged
Path parameters
Source collection ID or name to clone.
Source collection ID or name to clone.
Request body
Example request
{
"collection_name": "product_embeddings_backup",
"example_desc": "Clone with just a new name (exact copy)"
}Response
Successful Response
Example response
{
"collection": {
"collection_id": "col_a1b2c3d4e5",
"collection_name": "article_embeddings",
"description": "Simple text collection: News articles with text embeddings from bucket source",
"enabled": true,
"feature_extractor": {
"feature_extractor_name": "text_extractor",
"field_passthrough": [
{
"source_path": "title"
}
],
"input_mappings": {
"text": "content"
},
"version": "v1"
},
"input_schema": {
"properties": {
"title": {
"type": "string"
},
"content": {
"type": "text"
}
}
},
"output_schema": {
"properties": {
"title": {
"type": "string"
},
"text_extractor_v1_embedding": {
"type": "array"
}
}
},
"source": {
"bucket_id": "bkt_articles",
"type": "bucket"
}
}
}Changes
Changed in 6 of the 34 revisions of this API.23832
- ▲
response property
collection/feature_extractor/parameters/anyOf[subschema #6: MultimodalExtractorParams]/transcription_languagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response201response-property-list-of-types-widened
- ▲
response property
collection/source_lineage/items/feature_extractor/parameters/anyOf[subschema #6: MultimodalExtractorParams]/transcription_languagelist-of-types was widened by adding typesnullto media typeapplication/jsonof response201response-property-list-of-types-widened
- ○
the
request property default valueenwas removedrequest-property-default-value-removed
- ○
request property
////list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
added the optional property
///to the response with the statusresponse-optional-property-added
- ○
the
response's property default valueenwas removed for the statusresponse-property-default-value-removed
- ○
the
response's property default valueenwas removed for the statusresponse-property-default-value-removed
- ▲
- ○
added to the
//request propertyanyOflistrequest-property-any-of-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added to the
//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added to the
////response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
- ○
added the new optional request property
//new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
////to the response with the statusresponse-optional-property-added
- ○
- ●
added the new
signalsenum value to the//response property for the response statusresponse-property-enum-value-added
- ●
added the new
signalsenum value to the////response property for the response statusresponse-property-enum-value-added
- ○
added the new
signalsenum value to the request property//request-property-enum-value-added
- ●
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_bounding_boxenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_polygonenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the////////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ●
added the new
geo_radiusenum value to the//////////response property for the response statusresponse-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_bounding_boxenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_polygonenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property//////////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property/////////request-property-enum-value-added
- ○
added the new
geo_radiusenum value to the request property/////////request-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●