> ## 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 Indexes

Returns a list of all encrypted index names accessible via the client's [`StorageConfig`](../types#storageconfig).

```python theme={null}
def list_indexes(self) -> list[str]
```

### Returns

`list[str]`: A list of index names.

### Exceptions

<AccordionGroup>
  <Accordion title="ValueError">
    * Throws if the list of indexes could not be retrieved.
  </Accordion>
</AccordionGroup>

### Example Usage

```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"))

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