Skip to content

Analytics

analytics_query_run

Answer a natural-language analytics question for the current product.

Tool

analytics_query_run

Answer a natural-language analytics question for the current product.

Answer a natural-language analytics question for the current product.

Behavior

HTTP
POST /analytics/query

Arguments

NameTypeRequiredDescription
qstringNatural-language analytics question

Response

FieldTypeAlwaysDescription
sqlstring
rowsarray
answerstring
truncatedboolean
explanationstring

Try it

Answer a natural-language analytics question for the current product.

When to use

Answer a natural-language analytics question for the current product.

Example

Ask your agent something like this:

Answer a natural-language analytics question for the current product.

The agent will invoke analytics_query_run with these arguments:

{
  "q": "<q>"
}

Esc

Start typing to search the docs.

navigateselect