In Matillion, We have a TASK HISTORY which is really having detailed data. Is there any way I can use those data and trigger an email? like failure jobs task history or some specific job task history. Curious to know. Any suggestions, please

API Query is the right way. This link provides details(https://documentation.matillion.com/docs/2949006) . But at some other place it is mentioned that Task History is a Enterprise Feature(https://matillioncommunity.discourse.group/t/can-i-access-a-history-of-tasks/1144) . What kind of instance do you have?