v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBNamespaces
Update Namespace
Fully updates an existing namespace (all fields required)
put/v1/namespaces/{namespace_identifier}
Path parameters
namespace_identifierstring required
Either the namespace name or namespace ID
Example:my_namespace
Either the namespace name or namespace ID
Request body
Example request
{
"namespace_name": "product-search",
"payload_indexes": [
{
"field_name": "metadata.title",
"field_schema": {
"lowercase": true,
"max_token_len": 15,
"min_token_len": 2,
"tokenizer": "word",
"type": "text"
},
"is_protected": false,
"type": "text"
},
{
"field_name": "metadata.description",
"field_schema": {
"is_tenant": false,
"type": "keyword"
},
"is_protected": false,
"type": "keyword"
}
]
}Response
Successful Response
Example response
{
"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"
}
]
}