v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBNamespace Clone
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
post/v1/namespaces/{namespace_identifier}/clone
Path parameters
namespace_identifierstring required
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"
}
]
}
}