So I was looking around the IDA SDK and I saw
insn_t - it looked useful - any ideas how can I retrieve it - I wasn't able to find any function that returns it.
You are looking for
idautils module (I am referring to idapython api).
<class 'ida_ua.insn_t'> type object.
In Ida sdk that'd be decode_insn function.