Admin Console
The Snaapi admin console is a browser-based interface for managing your resources, permissions, content, and analytics. Access is restricted to users with the admin role.
Resource Builder
The visual resource builder lets you create and edit resources without writing YAML or making API calls.
| Feature | Description |
|---|---|
| Create resource | Define a new resource with name and display name |
| Add fields | Choose from 10 field types with validation rules |
| Field properties | Configure required, sortable, searchable, unique, defaultValue |
| Content types | Assign one of 37 content types for semantic meaning |
| Relations | Define one-to-one, one-to-many, many-to-one, many-to-many relations |
| Enable / disable | Toggle resources on or off without deleting them |
Permission Editor
Manage roles and their associated permissions directly from the console.
| Feature | Description |
|---|---|
| Role management | Create, edit, and delete roles |
| Permission layers | Configure fields, filters, and checks per role |
| Field-level access | Select which fields each role can read or write |
| Filter constraints | Define WHERE-clause filters applied automatically |
| Check constraints | Add validation checks with 27 available operators |
| Claims auto-inject | Configure claim-based value injection for fields |
| Admin overrides | Set explicit permission overrides for the admin role |
Content Generator
Generate realistic fake data for any resource to populate development and staging environments.
| Feature | Description |
|---|---|
| Resource selection | Choose which resource to generate content for |
| Record count | Generate between 1 and 500 records per request |
| Content-aware data | Generates values matching field content types (email, URL, phone, etc.) |
| Field type support | Supports all 10 field types (string, number, boolean, datetime, json, uuid, etc.) |
| Relation handling | Automatically queries related resources for valid foreign key values |
| Validation respect | Generated data respects field validation rules |
The content generator uses built-in data sets including first names, last names, cities, states, countries, company names, job titles, MIME types, and cron expressions.
AI Chat
An integrated AI assistant that can query and manipulate your data using natural language.
| Feature | Description |
|---|---|
| Streaming responses | Real-time streaming text generation |
| Multiple providers | Supports Anthropic, OpenAI, and Google LLM providers |
| Database tools | AI can query and modify data through role-based database tools |
| Role-aware access | Database tools respect the current user's role permissions |
| Provider discovery | GET endpoint returns available configured LLM providers |
Configure LLM providers through environment variables (see Configuration).
Analytics Dashboard
Monitor API usage, performance, and trace requests across your resources.
| Feature | Description |
|---|---|
| Metrics provider | Supports Prometheus and Deno Deploy as data sources |
| Trace querying | Filter traces by resource, action, status, method, or route |
| Time range | Query up to 7 days of historical data |
| Step granularity | Aggregate at 5m, 1h, 1d, or other intervals |
| Grouping | Group metrics by resource, action, status, method, or route |
| Admin-only access | Analytics endpoints require admin authentication |