Database
Query your data with SQL or natural language.
The Database tab provides direct access to your workspace data through SQL and natural language queries.
Sub-tabs
Write and execute SQL queries directly:
Full SQL editor with syntax highlighting
Query results displayed as a table
Export results as CSV
Save queries for reuse
Natural language to SQL mappings. Define how business terms map to database columns and tables, so agents can answer data questions without writing SQL.
Example: "How many agents are active?" maps to SELECT COUNT(*) FROM agents WHERE status = 'active'
Pre-built query templates for common operations:
Agent performance summaries
Document processing statistics
Workflow execution history
Usage analytics
Click a template to run it instantly or customise it first.
Teach the NL2SQL system with examples:
Enter a natural language question
Provide the correct SQL query
The system learns to handle similar questions
More training examples = better accuracy for your agents' data queries.
Explore your database schema:
Tables and their columns
Column types and constraints
Relationships between tables
Indexes
Log of all database queries executed:
Query text
Who ran it (user or agent)
Execution time
Result row count
SQL queries execute with read-only access by default. Write operations require explicit permission in Settings.
Last updated

