There is currently no way to activate the result cache for the REST API. The documentation of the TidyExecuteMdxScript request is mentioning its execution is ignoring the MDX result cache. Should you need this feature please contact your support.