Skip to main content
Returns a list of all encrypted index names accessible via the client’s StorageConfig.
def list_indexes(self) -> list[str]

Returns

list[str]: A list of index names.

Exceptions

  • Throws if the list of indexes could not be retrieved.

Example Usage

import cyborgdb_core as cyborgdb

api_key = "your_api_key_here"  # Replace with your CyborgDB API key

client = cyborgdb.Client(api_key, cyborgdb.StorageConfig.disk("/tmp/cyborgdb"))

print(client.list_indexes())
# Example output:
# ["index_one", "index_two", "index_three"]