akili discovery
Discover data products across the platform. These commands help you find products by keyword search with filters, ask natural language questions that are translated to SQL, and explore products through random sampling.
Commands
Section titled “Commands”akili discovery search <query>
Section titled “akili discovery search <query>”Full-text search for data products with optional filters.
Arguments:
| Argument | Type | Required | Description |
|---|---|---|---|
query | string | yes | Search query text |
Flags:
| Flag | Short | Default | Description |
|---|---|---|---|
--namespace | Filter results by namespace | ||
--domain | Filter results by domain | ||
--min-quality | Minimum quality score (0-100) |
Examples:
# Search for productsakili discovery search "order summary"
# Search with namespace filterakili discovery search "revenue" --namespace finance
# Search with quality filterakili discovery search "orders" --min-quality 80
# Combined filtersakili discovery search "daily" --namespace sales --domain commerce --min-quality 90
# As JSONakili discovery search "orders" --jsonakili discovery query <question>
Section titled “akili discovery query <question>”Ask a natural language question that is translated to SQL and executed against the product metadata. Returns the generated SQL, row count, and results.
Arguments:
| Argument | Type | Required | Description |
|---|---|---|---|
question | string | yes | Question in plain English |
Examples:
# Ask a natural language questionakili discovery query "Which products had the most failures last week?"
# As JSON for programmatic accessakili discovery query "How many products are in the finance namespace?" --jsonakili discovery sample
Section titled “akili discovery sample”Get a random sample of products from the platform. Useful for exploration and onboarding.
Flags:
| Flag | Short | Default | Description |
|---|---|---|---|
--limit | 5 | Number of products to return |
Examples:
# Get 5 random products (default)akili discovery sample
# Get 10 random productsakili discovery sample --limit 10
# As JSONakili discovery sample --json