Update Namespace
Fully updates an existing namespace (all fields required)
Path parameters
Either the namespace name or namespace ID
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"
}
]
}Changes
Changed in 4 of the 28 revisions of this API.7
- ○
added the optional property
clone_dispatched_atto the response with the200statusresponse-optional-property-added
- ○
added the optional property
clone_phaseto the response with the200statusresponse-optional-property-added
- ○
added the optional property
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_readyto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
dynamic_vector_indexesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
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
- ○