Atlas

Admin Console

Monitor connections, browse the semantic layer, review audit logs, and manage users from the web UI.

The admin console is a built-in web UI for managing your Atlas deployment. Access it at /admin in the Atlas web app.

Prerequisites

  • Managed auth enabled (or auth mode none for local dev)
  • A user with the admin role

When auth mode is none (local development), all users have implicit admin access.


Dashboard

Route: /admin

The dashboard shows deployment health at a glance:

  • Connections -- Number of registered datasources
  • Entities -- Tables and views in the semantic layer
  • Plugins -- Installed plugins and their health status
  • Overall health -- Aggregated status (healthy, degraded, unhealthy)

Connections

Route: /admin/connections

Lists all registered datasource connections with their database type, description, health status, and latency.

Actions:

  • Test connection -- Runs a health check query against the datasource and reports latency and status

Semantic Layer Browser

Route: /admin/semantic

A two-panel browser for exploring the semantic layer:

  • Left sidebar -- File tree showing entities, metrics, glossary, and catalog
  • Right panel -- Detail view with a Pretty / YAML toggle

In Pretty mode, entities show parsed dimensions, joins, measures, and query patterns with formatted tables. In YAML mode, the raw YAML source is displayed with syntax highlighting.

Browse entities by clicking them in the sidebar. The catalog shows use_for tags and common_questions. The glossary highlights ambiguous terms. Metrics display SQL, aggregation type, and objectives.

See Semantic Layer for the YAML format reference.


Audit Log

Route: /admin/audit

Requires an internal database (DATABASE_URL). Without it, this page shows a feature gate message.

Shows every SQL query executed by the agent with:

  • Stats -- Total queries, total errors, error rate
  • Log table -- Timestamp, user, SQL query, duration, row count, success/failure

Filters:

  • Date range (from/to)
  • User ID
  • Errors only toggle
  • Pagination

Actions

Route: /admin/actions

Requires ATLAS_ACTIONS_ENABLED=true. Without it, this page shows a feature gate message.

Lists action log entries with status filtering:

  • Tabs -- Pending, Executed, Denied, Failed, All
  • Table -- Timestamp, action type, target, summary, status badge
  • Expandable rows -- Full payload, timestamps, error details

Actions:

  • Approve pending actions
  • Deny pending actions with a reason

See Actions Framework for details on approval modes.


Scheduled Tasks

Route: /admin/scheduled-tasks

Requires ATLAS_SCHEDULER_ENABLED=true.

Manages recurring queries:

  • Filter tabs -- All, Enabled, Disabled
  • Table -- Name, question, cron expression, delivery channel, next run time, enabled status
  • Expandable rows -- Recent run history with status, timing, and token usage

Actions:

  • Toggle enabled/disabled
  • Run now -- Trigger immediate execution

See Scheduled Tasks for setup and configuration.


User Management

Route: /admin/users

Requires managed auth with the Better Auth admin plugin. Not available in simple-key, BYOT, or no-auth modes.

Full user management with stats and controls:

  • Stats -- Total users, admins, analysts, viewers
  • Search -- Filter by email
  • Role filter -- Filter by role

Actions (per user):

  • Change role -- Set to viewer, analyst, or admin
  • Ban/unban -- Temporarily or permanently ban a user
  • Revoke sessions -- Force logout across all devices
  • Delete -- Permanently remove user and sessions

Safety guards:

  • Cannot change your own role
  • Cannot ban or delete yourself
  • Cannot demote or delete the last admin

API Endpoints

All admin endpoints are at /api/v1/admin/ and require the admin role. See the SDK for typed client methods.

MethodPathDescription
GET/overviewDashboard stats
GET/connectionsList connections
POST/connections/:id/testTest connection health
GET/semantic/entitiesList entity summaries
GET/semantic/entities/:nameGet entity detail
GET/semantic/metricsList all metrics
GET/semantic/glossaryGet glossary
GET/semantic/catalogGet catalog
GET/semantic/statsSemantic coverage stats
GET/auditQuery audit log
GET/audit/statsAudit aggregates
GET/pluginsList plugins
POST/plugins/:id/healthPlugin health check
GET/usersList users
GET/users/statsUser stats
PATCH/users/:id/roleChange role
POST/users/:id/banBan user
POST/users/:id/unbanUnban user
POST/users/:id/revokeRevoke sessions
DELETE/users/:idDelete user

On this page