"知道事情的内情" can be translated into English as "know the inside story of the matter" or "be aware of the inner details of the situation".
Both expressions convey the meaning of having knowledge about the hidden or less-known aspects of an event or situation.