Validate Formula

LLM-friendly URL
POST
https://api.luzmo.com/0.1.0/formula

Validates formula against syntax and logical errors.

We support following functions in expression:

  • AVG({<dataset ID>:<column ID>})

  • COUNT({<dataset ID>:<column ID>})

  • COUNTD({<dataset ID>:<column ID>})

  • COUNTR()

  • MAX({<dataset ID>:<column ID>})

  • MIN({<dataset ID>:<column ID>})

  • SUM({<dataset ID>:<column ID>})

Example:

"expression": "AVG({69c36023-f791-4225-a6cb-b093ac598a70:6a71afc0-c95c-4d8b-8a99-c9c568d83f53})"
Parameters
Expand all Reset
properties *OBJECTrequired
expression *STRINGrequired
Can be executed by:
Logged-in User
Can be associated to:
Currency
Dataset
User
Did this page help you?
Yes No
Language
Shell
Node
Java
.NET
Python
PHP
Install
npm install @luzmo/nodejs-sdk
Example Response
200
400
500
{
  "type": "numeric",
  "valid": true
}