listNamespaces(options: __type = {}): Promise<string[][]>| Name | Type | Description |
|---|---|---|
options | __type | Default: {}Options for listing namespaces |
// List all namespaces under "documents"
await store.listNamespaces({
prefix: ["documents"],
maxDepth: 2
});
// List namespaces ending with "v1"
await store.listNamespaces({
suffix: ["v1"],
limit: 50
});List and filter namespaces in the store. Used to explore data organization and navigate the namespace hierarchy.