> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cyborg.co/llms.txt
> Use this file to discover all available pages before exploring further.

# List Encrypted Indexes

To see which existing encrypted indexes are available to your CyborgDB client, you can use `list_indexes`:

<CodeGroup>
  ```python Python icon="python" theme={null}
  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"))

  indexes = client.list_indexes()

  print(indexes)
  # Example output:
  # ["index_one", "index_two", "index_three"]
  ```

  ```cpp C++ icon="brackets-curly" theme={null}
  #include "cyborgdb_core/client.hpp"

  // Get your API key
  std::string api_key = "your_api_key_here";  // Replace with your CyborgDB API key

  cyborg::Client client(api_key, cyborg::StorageConfig::Disk("/tmp/cyborgdb"), 0, cyborg::kNone);

  auto indexes = client.ListIndexes();

  // Print the indexes
  for (const auto& index_name : indexes) {
      std::cout << index_name << std::endl;
  }
  ```
</CodeGroup>

<Note>`list_indexes` is not available for in-memory backing stores, since they are ephemeral and not shared across clients.</Note>

## API Reference

For more information on listing encrypted indexes, refer to the API reference:

<CardGroup cols={2}>
  <Card title="Python API Reference" href="../../python/client/list-indexes" icon="python">
    API reference for `list_indexes()` in Python
  </Card>

  <Card title="C++ API Reference" href="../../cpp/client/list-indexes" icon="brackets-curly">
    API reference for `ListIndexes()` in C++
  </Card>
</CardGroup>
