Tellius
Tellius 5.5
Tellius 5.5
  • 🚩Getting Started
    • 👋Say Hello to Tellius
      • Glossary
      • Tellius 101
      • Navigating around Tellius
    • ⚡Quick Start Guides
      • Search
      • Vizpads (Explore)
      • Insights (Discover)
    • ✅Best Practices
      • Search
      • Vizpads (Explore)
      • Insights (Discover)
      • Predict
      • Data
    • ⬇️Initial Setup
      • Tellius architecture
      • System requirements
      • Installation steps for Tellius
      • Customizing Tellius
    • Universal Search
    • 🏠Tellius Home Page
    • ❓FAQs
      • Kaiya Conversational AI
      • Data Preparation FAQs
      • Environment FAQs
      • Search FAQs
      • Vizpads FAQs
      • Data Caching FAQs
      • Embedding FAQs
      • Insights FAQs
  • Kaiya
    • ♟️Understanding AI Agents & Agentic Flows
      • Glossary
      • Composer
      • 🗝️Triggering an agentic workflow
      • The art of possible
    • 🤹Kaiya conversational AI
      • Triggering Insights with "Why" questions
      • Mastering Kaiya conversational AI
      • 📒Kaiya Learnings
      • Kaiya Terms of Service
      • Best practices
  • 🔍Search
    • 👋Get familiar with our Search interface
    • 🤔Understanding Tellius Search
    • 📍Search Guide
    • 🚀Executing a search query
      • Selecting a Business View
      • Typing a search query
      • Constructing effective search queries
      • Marketshare queries
    • 🔑Analyzing search results
      • Understanding search results
      • Search Inspector
      • Time taken to execute a query
      • Interacting with the resulting chart
    • 📊Know your charts in Tellius
      • Understanding Tellius charts
      • Variations of a chart type
      • Building charts from Configuration pane
      • List of chart-specific fields
      • Adding columns to fields in Configuration pane
      • Absolute and percentage change aggregations
      • Requirements of charts
      • Switching to another chart
      • Formatting charts
      • Advanced Analytics
      • Cumulative line chart
    • 🧑‍🏫Help Tellius learn
    • 🕵️‍♂️Search history
    • 🎙️Voice-driven search
    • 🔴Live Query mode
  • 📈Vizpads (Explore)
    • 🙋Meet Vizpads!
    • 👋Get familiar with our Vizpads
    • #️⃣Measures, dimensions, date columns
    • ✨Creating Vizpads
    • 🌐Applying global filters
      • Filters in multi-BV Vizpads
      • Filters using common columns
    • 📌Applying local filters
    • 📅Date picker in filters
      • Customizing the calendar view
    • ✅Control filters
      • Multi-select list
      • Single-select list
      • Range slider
      • Dropdown list
    • 👁️Actions in View mode
      • Interacting with the charts
      • Exporting tables
    • 📝Actions in Edit mode
      • 🗨️Viz-level actions
      • Copy to Clipboard
    • 🔧Anomaly management for line charts
      • Instance level
      • Vizpad level
      • Chart level
    • ⏳Time taken to load a chart
      • Instance level
      • Vizpad level
      • Chart level
    • ♟️Working with sample datasets
    • 🔁Swapping Business View of charts
      • Swapping only the current Vizpad
      • Swapping multiple objects
      • Configuring the time of swap
    • 🤖Explainable AI charts
  • 💡Insights (Discover)
    • 👋Get familiar with our Insights
    • ❓Understanding the types of Insights
    • 🕵️‍♂️Discovery Insights
      • Impact Calculation for Top Contributors
    • ➕How to create new Insights
      • 🔛Creating Discovery Insight
      • 🔑Creating Key Driver Insights
      • 〰️Creating Trend Insights
      • 👯Creating Comparison Insights
    • 🧮The art of selecting columns for Insights
      • ➡️How to include/exclude columns?
  • 🔢Data
    • 👋Get familiar with our Data module
    • 🥂Connect
    • 🪹Create new datasource
      • Connecting to Oracle database
      • Connecting to MySQL database
      • Connecting to MS SQL database
      • Connecting to Postgres SQL database
      • Connecting to Teradata
      • Connecting to Redshift
        • Access S3 Data with Redshift Spectrum
      • Connecting to Hive
      • Connecting to Azure Blob Storage
      • Connecting to Spark SQL
      • Connecting to generic JDBC
      • Connecting to Salesforce
      • Connecting to Google cloud SQL
        • Connecting to a PostgreSQL cloud SQL instance
        • Connecting to an MSSQL cloud SQL instance
        • Connecting to a MySQL Cloud SQL Instance
      • Connecting to Amazon S3
      • Connecting to Google BigQuery
        • Steps to connect to a Google BigQuery database
      • Connecting to Snowflake
        • OAuth support for Snowflake
        • Integrating Snowflake with Azure AD via OAuth
        • Integrating Snowflake with Okta via OAuth
        • Azure PrivateLink
        • AWS PrivateLink
        • Best practices
      • Connecting to Databricks
      • Connecting to Databricks Delta Lake
      • Connecting to an AlloyDB Cluster
      • Connecting to HDFS
      • Connecting to Looker SQL Interface
      • Loading Excel sheets
      • 🚧Understanding partitioning your data
    • ⏳Time-to-Live (TTL) and Caching
    • 🌷Refreshing a datasource
    • 🪺Managing your datasets
      • Swapping datasources
    • 🐣Preparing your datasets
      • 🤾Actions that can be done on a dataset
      • Data Pipeline
      • SQL code snippets
      • ✍️Writeback window
      • 🧩Editing Prepare → Data
      • Handling null or mismatched values
      • Metadata view
      • List of icons and their actions
        • Functions
        • SQL Transform
        • Python Transform
        • Standard Aggregation
        • Creating Hierarchies
      • Dataset Scripting
      • Fusioning your datasets
      • Scheduling refresh for datasets
    • 🐥Preparing your Business Views
      • 🌟Create a new Business View
      • Creating calculated columns
      • Creating dynamic parameters
      • Scheduling refresh for Business Views
      • Setting up custom calendars
      • Custom Calendars for Live Connections
    • Tellius Engine: Comparison of In-Memory vs. Live Mode
    • User roles and permissions
    • Refresh pipeline
  • Feed
    • 📩What is a Feed in Tellius?
    • ❗Alerts on the detection of anomalies
    • 📥Actions done on a tracking Feed
    • 🖲️Track a new metric
  • Assistant
    • 💁Introducing Tellius Assistant
    • 🎤Voice-based Assistant
    • 💬Interacting with Assistant
    • ↖️Selecting Business View
  • Embedding Tellius
    • What you should know before embedding
    • Embedding URL
      • 📊Embedding Vizpads
        • Apply and delete filters
        • Vizpad-related actionTypes
        • Edit, save, and share a Vizpad
        • Keep, remove, drill sections
        • Adding a Viz to a Vizpad
        • Row-level policy filters
      • 💡Embedding Insights
        • Creating and Viewing Insights
      • 🔎Embedding Search
        • Search query execution
      • Embedding Assistant
      • 🪄Embedding Kaiya
      • Embedding Feed
  • API
    • Insights APIs
    • Search APIs
    • Authentication API (Login API)
  • ✨What's New
    • Release 5.5
    • Release 5.4
      • Patches 5.4.0.1 to 5.4.0.4
      • Patch 5.4.0.5
      • Patch 5.4.1
      • Patches 5.4.1.1 and 5.4.1.2
    • Release 5.3
      • Patch 5.3.1
      • Patch 5.3.2
      • Patch 5.3.3
    • Release 5.2
      • Patch 5.2.1
      • Patch 5.2.2
    • Release 5.1
      • Patch 5.1.1
      • Patch 5.1.2
      • Patch 5.1.3
    • Release 5.0
      • Patch 5.0.1
      • Patch 5.0.2
      • Patch 5.0.3
      • Patch 5.0.4
      • Patch 5.0.5
    • Release 4.3 (Fall 2023)
      • Patch 4.3.1
      • Patch 4.3.2
      • Patch 4.3.3
      • Patch 4.3.4
    • Release 4.2
      • Patch 4.2.1
      • Patch 4.2.2
      • Patch 4.2.3
      • Patch 4.2.4
      • Patch 4.2.5
      • Patch 4.2.6
      • Patch 4.2.7
    • Release 4.1
      • Patch 4.1.1
      • Patch 4.1.2
      • Patch 4.1.3
      • Patch 4.1.4
      • Patch 4.1.5
    • Release 4.0
Powered by GitBook

© 2025 Tellius

On this page
  • Request
  • Response
  • Add to Vizpads

Was this helpful?

  1. Embedding Tellius
  2. Embedding URL
  3. Embedding Search

Search query execution

After connecting with Tellius, the embedding app will contain the Search page component from Tellius. Once the Search page is loaded in the embedding app, users can type the required query in the search box.

Request

After typing the query and clicking on Enter, the following postMessage (consisting of the query) will be sent from Tellius:

{
   "actionType":"SEARCH_QUERY_REQUEST",
   "corrId":"4y1XV",
   "enterKeyPress":true,
   "performQuery":true,
   "query":"show total profit"
}

Response

After receiving the result, the following postMessage will be sent from Tellius:

{
   "actionType":"SEARCH_QUERY_RESPONSE",
   "vizResponse":{
      "vizResponseType":"kpi",
      "viz":{
         "vizType":"kpi",
         "title":"Total profit",
         "theme":{
            "vizBackground":{
               "transparency":"0.9",
               "image":"img/test",
               "color":"white"
            },
            "name":"dark",
            "color":"black"
         },
         "size":{
            "width":200,
            "height":100
         },
         "placement":{
            "yDistance":20,
            "xDistance":10
         },
         "metadata":{
            "language":"english",
            "format":{
               "title":{
                  "font":{
                     "weight":"normal",
                     "size":"16",
                     "color":"#000000"
                  },
                  "enabled":true
               },
               "legend":{
                  "font":{
                     "weight":"normal",
                     "size":"14",
                     "color":"#78909c"
                  },
                  "enabled":true
               },
               "colorPaletteInfo":{
                  "colors":[
                     "#1565C0",
                     "#F57F17",
                     "#558B2F",
                     "#BF360C",
                     "#5E35B1",
                     "#00838F",
                     "#C62828",
                     "#827717",
                     "#E65100",
                     "#5D4037",
                     "#AD1457",
                     "#6A1B9A",
                     "#1976D2",
                     "#F9A825",
                     "#689F38",
                     "#D84315",
                     "#673AB7",
                     "#0097A7",
                     "#D32F2F",
                     "#9E9D24",
                     "#EF6C00",
                     "#6D4C41",
                     "#C2185B",
                     "#7B1FA2",
                     "#42A5F5",
                     "#FFEB3B",
                     "#9CCC65",
                     "#FF8A65",
                     "#9575CD",
                     "#4DD0E1",
                     "#EF5350",
                     "#C0CA33",
                     "#FF9800",
                     "#8D6E63",
                     "#EC407A",
                     "#AB47BC",
                     "#64B5F6",
                     "#FFF176",
                     "#AED581",
                     "#FFAB91",
                     "#B39DDB",
                     "#80DEEA",
                     "#E57373",
                     "#D4E157",
                     "#FFB74D",
                     "#A1887F",
                     "#F06292",
                     "#BA68C8",
                     "#90CAF9",
                     "#FFF59D",
                     "#C5E1A5",
                     "#FFCCBC",
                     "#D1C4E9",
                     "#B2EBF2",
                     "#EF9A9A",
                     "#DCE775",
                     "#FFCC80",
                     "#BCAAA4",
                     "#F48FB1",
                     "#CE93D8"
                  ]
               },
               "background":{
                  "enableGrid":false,
                  "color":"#FFFFFF"
               },
               "axes":{
                  "yAxis":{
                     "enabled":true
                  },
                  "xAxis":{
                     "enabled":true
                  },
                  "font":{
                     "weight":"normal",
                     "size":"14",
                     "color":"#78909c"
                  }
               }
            },
            "dualAxis":true,
            "colorPalette":"401300fe-58ae-42ad-b185-ce1f4a181d73"
         },
         "id":"5f6b92e5-6711-4c8b-841f-763cf9f7b171",
         "chartType":"simpleCount",
         "businessViewId":"bv_d5dfeeb5-9a4a-4fac-92a0-a51a07da52d9",
         "axes":{
            "yAxis":[
               {
                  "columnName":"profit",
                  "aggregation":"sum"
               }
            ],
            "isMultipleAxes":false
         }
      },
      "tooltip":[
         {
            "translatedAggregation":"sum",
            "originalValue":2698921,
            "isYAxis":true,
            "isXAxis":false,
            "isGroupBy":false,
            "formattedValue":"2.7M",
            "columnName":"profit",
            "alias":"profit",
            "aggregation":"sum"
         }
      ],
      "responseText":"**Total profit** is **2698921**",
      "possibleTransitions":[
         "funnel",
         "detailTable",
         "simpleCount",
         "radialProgress",
         "viewData",
         "interactiveTable",
         "histogram",
         "bar",
         "column",
         "barConversion",
         "table"
      ],
      "possibleBucketInfo":{
         "possibleBuckets":{
            "measureType":{
               "values":{
                  "tooltips":5,
                  "measures":0
               }
            }
         }
      },
      "metadata":{
         "tqlResponseRowCount":1,
         "totalRowCount":0,
         "timeTakenInMilliSeconds":244,
         "responseDataCount":1
      },
      "count":"2.7M",
      "columns":[
         {
            "name":"profit",
            "format":{
               "type":"number",
               "isCommaSeparated":false,
               "displayUnit":"default",
               "decimals":2
            },
            "datasetName":"bv_guide_query",
            "datasetId":"bv_d5dfeeb5-9a4a-4fac-92a0-a51a07da52d9",
            "aggregation":"sum"
         }
      ],
      "columnDetails":{
         "measureType":[
            {
               "column":{
                  "name":"profit",
                  "isWeekEndDate":false,
                  "aggregation":"sum"
               },
               "bucket":"measures"
            }
         ],
         "dimensionType":[                     ],
         "dateType":[                     ]
      }
   },
   "responseType":"vizResponse",
   "metadata":{
      "witResponse":{
         "query":"show total profit",
         "intent":"Chart",
         "entities":{
            "businessViewId":[
               {
                  "value":{
                     "value":"bv_d5dfeeb5-9a4a-4fac-92a0-a51a07da52d9",
                     "type":"string"
                  },
                  "start":0,
                  "end":0,
                  "confidence":1
               }
            ],
            "aggregatedField":[
               {
                  "value":{
                     "type":"aggregation",
                     "columnStartIndexInQuery":11,
                     "aggregationField":{
                        "name":"profit",
                        "isExpression":false,
                        "datasetName":"bv_guide_query",
                        "datasetId":"bv_d5dfeeb5-9a4a-4fac-92a0-a51a07da52d9",
                        "databaseTable":"bv_d5dfeeb5-9a4a-4fac-92a0-a51a07da52d9"
                     },
                     "aggregation":"total"
                  },
                  "start":5,
                  "end":17,
                  "confidence":1
               }
            ]
         },
         "confidence":0.9183534383773804
      },
      "tokens":[
         {
            "type":"measure",
            "tokenString":"total profit",
            "suggestions":[
               {
                  "type":"measure",
                  "tokenString":"avg profit",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"profit"
                  },
                  "aggregation":"avg"
               },
               {
                  "type":"measure",
                  "tokenString":"min profit",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"profit"
                  },
                  "aggregation":"min"
               },
               {
                  "type":"measure",
                  "tokenString":"max profit",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"profit"
                  },
                  "aggregation":"max"
               },
               {
                  "type":"measure",
                  "tokenString":"total profit",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"profit"
                  },
                  "aggregation":"total"
               },
               {
                  "type":"measure",
                  "tokenString":"marketShare profit",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"profit"
                  },
                  "aggregation":"marketShare"
               },
               {
                  "type":"measure",
                  "tokenString":"sum cost",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"cost"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum customer_id",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"customer_id"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum revenue",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"revenue"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum store_id",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"store_id"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum competition_distance",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"competition_distance"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum store_lat",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"store_lat"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum store_lon",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"store_lon"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum store_zip",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"store_zip"
                  },
                  "aggregation":"sum"
               },
               {
                  "type":"measure",
                  "tokenString":"sum age",
                  "suggestions":[                                       ],
                  "column":{
                     "name":"age"
                  },
                  "aggregation":"sum"
               }
            ],
            "start":5,
            "end":17,
            "column":{
               "name":"profit"
            },
            "aggregation":"sum"
         }
      ],
      "suggestions":[               ],
      "rowsCount":1,
      "responseType":"viz",
      "original":"show total profit",
      "filterDescriptions":[               ],
      "chartType":"simpleCount",
      "chartTitle":"Total profit",
      "BVId":"bv_d5dfeeb5-9a4a-4fac-92a0-a51a07da52d9"
   },
   "corrId":"4y1XV",
   "filterDescriptions":[         ]
}

Add to Vizpads

PreviousEmbedding SearchNextEmbedding Assistant

Last updated 23 days ago

Was this helpful?

For more details on adding Search to a Vizpad, please .

🔎
refer to this section