GET
/
list-namespaces
curl $UPSTASH_VECTOR_REST_URL/list-namespaces \
  -H "Authorization: Bearer $UPSTASH_VECTOR_REST_TOKEN"
{
    "result": ["", "ns0", "ns1"]
}

Request

This endpoint doesn’t require any additional data.

Response

namespaces
string[]
required

Array of namespace names.

Every index has at least one namespace called default namespace, whose name is the empty string "".