function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Leonardi KohLeonardi Koh 

Can we retrieve Lens SAQL out via REST API in it's SAQL form and not the short form?

Salesforce Analytics REST API provide us with 
/wave/lenses/<lens ID> [GET]

to retrieve resources that makes up the Lens, one of which is the query.

This however returns the SAQL query in it's short form, rather than the complete one that we'll see in the Analytics Studio SAQL Mode. So is this all we can get from the REST API?

And if this is the case, then is there any way to get the REST API Analytic Query
/wave/query [POST]

to accept this short form SAQL?