# `Chronicle.EventStores`
[🔗](https://github.com/Cratis/Chronicle.Elixir/blob/main/lib/chronicle/event_stores.ex#L4)

Lists event stores and namespaces from the Chronicle kernel.

This mirrors the TypeScript client surface for event-store discovery in an
idiomatic Elixir API.

# `get_all`

```elixir
@spec get_all(keyword()) :: {:ok, [String.t()]} | {:error, term()}
```

Returns all event store names.

## Options

  * `:client` — the client name (default: `Chronicle.Client`)

# `get_namespaces`

```elixir
@spec get_namespaces(keyword()) :: {:ok, [String.t()]} | {:error, term()}
```

Returns all namespaces for an event store.

## Options

  * `:client` — the client name (default: `Chronicle.Client`)
  * `:event_store` — event store name (defaults to the configured client event store)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
