You should check event API
Those events that are correlated with dynatrace entities are then considered in root cause analysis during problems. You can use events as well to fire new problem.
In addition to @skrystosik answer, you can use the file open interface to get the entity IDs (Host ID / Process Group Instance ID) so you can send events to them.
For root cause analysis, there are certain limits. One of the most important ones is the short sliding window when events are considered into existing root cause analysis. (5 minutes).