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

# Console

> A web UI for running SQL, browsing tables, and monitoring jobs on LanceDB Enterprise.

Enterprise only

The **Console** is a web UI for LanceDB Enterprise -- an alternative to the SDK
for people who want to explore and operate a deployment from a browser instead
of writing code. It ships with every Managed and BYOC deployment, reachable at
the URL your deployment provisions.

Self-managed Enterprise deployments install the Console in the cluster too. The
Helm chart creates a `lancedb-console-ui` Service, and operators can either
publish that Service through ingress or open a temporary local port-forward.

## Access the Console in self-managed Enterprise

First check whether your deployment already publishes the Console through
ingress:

```bash theme={"theme":{"light":"vitesse-light","dark":"catppuccin-mocha"}}
kubectl -n <namespace> get ingress
```

Open the HTTPS host for an ingress rule that routes to the `lancedb-console-ui`
Service. The Console URL is `https://<host>`, where `<host>` is the DNS name on
that ingress rule. If you publish the Console through
`queryNode.ingress.hostRules`, the host rule should target
`service: lancedb-console-ui` and the Service's `http` port. If you publish it
through `console.ui.ingress`, the chart creates an ingress named
`lancedb-console-ui` for the same Service.

If no ingress host is configured, forward the Console UI Service to your
workstation:

```bash theme={"theme":{"light":"vitesse-light","dark":"catppuccin-mocha"}}
kubectl -n <namespace> port-forward svc/lancedb-console-ui 3000:3000
```

Then open `http://localhost:3000` in your browser. The chart's default Console
UI port is `3000`; if your values override `console.ui.port`, use that port on
both sides of the `port-forward` command.

By default, the Console uses API-key sign-in. Paste a query-node API key unless
your deployment has configured a shared Console API key or OIDC sign-in.

## What you can do in the Console

* **Run SQL.** A workspace for writing and running [SQL](https://docs.lancedb.com/oss/v0-42-1/sql.md) against your tables, with results rendered as a browsable grid -- the same engine the SDK and `lancedb` CLI use, reachable without either one. Multimodal columns render inline, so an image column shows as a thumbnail in the grid instead of raw bytes.
* **Browse tables.** Inspect a table's schema, row count, and recent versions, and preview rows, without writing a query first.
* **Monitor jobs.** Follow the running, queued, completed, and failed jobs behind [refreshes](https://docs.lancedb.com/oss/v0-42-1/feature-engineering/refresh-column.md), [materialized views](https://docs.lancedb.com/oss/v0-42-1/feature-engineering/materialized-views.md), and maintenance, including per-job progress and errors.
* **Manage access.** Sign in with your organization's identity provider, and manage who else on your team can reach the deployment.

[Reach out to us](https://www.lancedb.com/contact) if you'd like to see the Console as part of a LanceDB Enterprise deployment.

For camelCase columns such as `movieId`, see
[SQL identifiers and strings](https://docs.lancedb.com/oss/v0-42-1/sql/identifiers.md) for the quoting rules
in SQL statements, SDK filters, and update expressions.

## Table history

Open a table's **History** tab to browse its retained versions on the selected
branch. Tag badges identify named versions; **Create tag** pins a new name to
the selected branch and exact version without moving an existing tag. Switching
branches changes the history and matching tags shown.

Select a version's details to inspect its schema and recorded operation. Function
refreshes also show their job, Function version, and output columns when that
provenance is recorded. Older versions may have less metadata.

**View data** reads the first 20 rows from that historical snapshot, including up
to 12 scalar columns. Blob, binary, vector, list, and nested payloads are omitted.
**Compare versions** shows schema additions, removals, and type changes within
the selected branch. It also shows the net row-count change when both versions'
counts are available; this does not identify individual inserted, deleted, or
modified rows.

Load row changes to compare inserted, deleted and updated row counts between an
ordered pair of versions with stable row IDs. The server refuses ranges containing
restore operations; schema and net-count comparisons remain available. These counts
exclude temporary inserts deleted within the range and do not return row values.

Restore creates a new latest version from the selected historical snapshot after
confirmation. It leaves existing historical versions available. The server refuses
restoration to or from a version with real-time streaming enabled and validates
Function bindings before committing. Restore requires table ownership.

### SQL history and restore

In the SQL workspace, list retained versions with:

```sql theme={"theme":{"light":"vitesse-light","dark":"catppuccin-mocha"}}
SHOW VERSIONS FOR TABLE events;
```

`SHOW VERSIONS` requires `SELECT` on the table. It returns `version`, `timestamp`
(UTC), `operation`, and `tags`, with the newest version first. `operation` can be
null when its metadata is unavailable.

Choose a retained version number or an existing tag from the history, then
restore it with either form:

```sql theme={"theme":{"light":"vitesse-light","dark":"catppuccin-mocha"}}
RESTORE TABLE events TO VERSION 42;
RESTORE TABLE events TO TAG 'release-1';
```

Both `RESTORE TABLE` forms require table ownership and use the restore safeguards
described above. They create a new latest version while preserving existing
historical versions.

These SQL statements always address the table's main branch. `SHOW VERSIONS`
includes only tags on main, and `RESTORE TABLE ... TO TAG` rejects tags associated
with other branches.

## Functions

Open **Functions**, then select a Function version to inspect its definition and
**Used by** panel. Each binding shows the table, output column, pinned Function
version, declared input columns, and computed columns that directly read its
output, including SQL columns. Enable **All versions** to include bindings to
other versions of the same Function.

Usage discovery checks accessible tables' current main branches. Other branches
and historical table versions are not included. The panel warns when discovery
is incomplete and labels bindings whose Function identity cannot be verified.
Use **Refresh usage** to check again after changing a table. Deletion
confirmations summarize known dependencies and any incomplete discovery.

Choose **Compare versions** to compare another registered version with the
selected version. The read-only diff shows **Python source** or **Full
definition**, including signatures, images, and metadata. Source comparison
requires source to be available for both versions; full definitions can still
be compared when source is unavailable.

## Function job warnings

Open a Function refresh in **Jobs**, then view **Overview → Function warnings**
for server-reported no-progress and slow-split warnings. Each warning identifies
the worker and any reported task or split, last progress, observation time, and
server threshold. Warnings update with the job's normal refresh. Missing warning
diagnostics are labeled explicitly; after completion, warnings describe the last
recorded sample rather than an active problem.

On a running job's warning, choose **Inspect worker stack → Capture Python stack**
to sample that worker's Python frames. Capture requires the **system operate**
privilege and a supported live worker. The dialog reports unavailable or
unsupported sessions, request errors, capture times, and server truncation.
It does not capture automatically, and live capture is unavailable after the
job finishes.

## Function errors

Open a table's **Errors** tab to inspect retained Function failures on the selected
branch. Groups preserve the Function version, source snapshot and recorded row or
fragment coordinates. These are historical records, not counts of rows currently
failing. Select a Function column to see its current freshness status separately.
An incomplete-listing warning means the displayed counts cover only returned records.

**Preview recorded input** reads bounded primitive fields from the recorded source
version. Long text is shortened and Blob payloads are not loaded. Missing or
inaccessible snapshots produce an unavailable state; the preview does not fall
back to the latest table. Failed-only retries, Function upgrades and quarantine
require server APIs that the current Errors workflow does not expose.

The Function column's freshness panel also offers **Retrieve failing inputs** when
that control is available. It copies a Python SDK lookup using the recorded source
version and row address. Use an SDK that supports versioned `open_table` and
row-address filters. The source snapshot must still be retained; missing row IDs
or tracebacks do not prevent a lookup when physical coordinates are recorded.

## Related guides

> [card] [LanceDB Enterprise](https://docs.lancedb.com/oss/v0-42-1/enterprise/index.md)
>
> What Enterprise is, and why teams use it.

> [card] [SQL reference](https://docs.lancedb.com/oss/v0-42-1/sql.md)
>
> The SQL the Console's workspace runs.

> [card] [Job management](https://docs.lancedb.com/oss/v0-42-1/sql/ddl/job.md)
>
> The job states and history the Console's job view surfaces.

> [card] [Deployment and governance](https://docs.lancedb.com/oss/v0-42-1/enterprise/index.md#deployment-and-governance)
>
> Managed and BYOC deployment models the Console ships with.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.