Clone Namespace
Clone a namespace with all its data.
**What gets cloned:**
- Namespace configuration (extractors, payload indexes)
- Buckets (metadata, references same S3 files)
- Collections (full copy of all vectors/embeddings)
- Retrievers (pipeline configuration)
**Use Cases:**
- Create staging environment from production
- Backup namespace with all data
- Fork namespace for experimentation
**For config-only copy (no data), use templates instead:**
- POST /templates/namespaces/from-namespace/{id}
- POST /templates/namespaces/{template_id}/instantiate
Path parameters
Source namespace ID or name to clone from
Source namespace ID or name to clone from
Request body
Example request
{
"description": "Staging clone with all data",
"namespace_name": "production_staging"
}Response
Successful Response
Example response
{
"namespace": {
"namespace_name": "product-search",
"infrastructure": {
"autoscaling_enabled": false,
"compute_tier": "shared",
"description": "Shared development namespace",
"max_concurrent_jobs": 10,
"qdrant_collection": "ns_dev",
"ray_head_node_url": "ray://shared-cluster:10001"
},
"cluster_id": "iclstr_abc123xyz",
"payload_indexes": [
{
"description": "User-created text index for full-text search",
"field_name": "metadata.description",
"is_protected": false,
"type": "text"
}
]
}
}Changes
Changed in 4 of the 28 revisions of this API.7
- ○
added the optional property
namespace/clone_dispatched_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
namespace/clone_phaseto the response with the200statusresponse-optional-property-added
- ○
added the optional property
namespace/clone_task_idto the response with the200statusresponse-optional-property-added
- ○
- ○
the endpoint scheme security
BearerAuthwas 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 optional property
namespace/namespace_readyto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
namespace/dynamic_vector_indexesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
namespace/payload_index_countto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○