# `LLMProxy.Admin`
[🔗](https://github.com/elixir-vibe/llm_proxy/blob/v0.3.1/lib/llm_proxy/admin.ex#L2)

Service-owned Incant admin interface for LLMProxy.

This module is the stable admin surface that can be described locally with
`Incant.Admin.describe/1` and later exposed over SafeRPC.

# `describe`

```elixir
@spec describe(Incant.Service.Describe.t(), map(), term()) ::
  {:ok, Incant.Admin.Contract.t()} | {:error, term()}
```

Describe this Incant admin surface.

# `index`

```elixir
@spec index(String.t(), map(), map()) :: {:ok, map()} | {:error, term()}
@spec index(Incant.Service.Index.t(), map(), term()) ::
  {:ok, map()} | {:error, term()}
```

Index an Incant surface.

# `read`

```elixir
@spec read(String.t(), term(), map()) :: {:ok, term()} | {:error, term()}
@spec read(Incant.Service.Read.t(), map(), term()) :: {:ok, term()} | {:error, term()}
```

Read one item from an Incant surface.

# `run_action`

```elixir
@spec run_action(Incant.Service.RunAction.t(), map(), term()) ::
  {:ok, Incant.ActionResult.t()} | {:error, term()}
```

Run an Incant surface action.

# `run_widget`

```elixir
@spec run_widget(Incant.Service.RunWidget.t(), map(), term()) ::
  {:ok, term()} | {:error, term()}
```

Run an Incant dashboard widget query.

---

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