Skip to content

REST API

Analytics API

REST endpoints for the Analytics area of Lessly.

The Analytics area publishes 1 REST endpoint. Paths are relative to https://api.lessly.com; see Authentication for the required header.

POST/analytics/query

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

MCP tool: analytics_query_run

Parameters

NameInTypeRequiredDescription
qbodystringNatural-language analytics question

Response

FieldTypeAlwaysDescription
sqlstring
rowsarray
answerstring
truncatedboolean
explanationstring
Was this page helpful?
Esc

Start typing to search the docs.

navigateselect