JSONata is a query and transformation language for JSON data.

If you're new to JSONata, start by looking at some simple queries.

Dashboard variables are available as JSONata variables, e.g. $instanceName. Since dashboard variables can have multiple values, the JSONata variable is always an array. If your variable contains a single value, you can use $instanceName[0] to index the first value in the array.